FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/sqrt_l.h @ 308:8dfb7cbe6b59
libtwamr: integrated up to bgnscd.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 16 Apr 2024 17:57:21 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
307:6b33f3ba4289 | 308:8dfb7cbe6b59 |
---|---|
1 /* | |
2 ******************************************************************************** | |
3 * | |
4 * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001 | |
5 * R99 Version 3.3.0 | |
6 * REL-4 Version 4.1.0 | |
7 * | |
8 ******************************************************************************** | |
9 * | |
10 * File : sqrt_l.h | |
11 * Purpose : Computes sqrt(L_x), where L_x is positive. | |
12 * : If L_x is negative or zero, the result is | |
13 * : 0 (3fff ffff). | |
14 * | |
15 ******************************************************************************** | |
16 */ | |
17 #ifndef sqrt_l_h | |
18 #define sqrt_l_h "$Id $" | |
19 | |
20 /* | |
21 ******************************************************************************** | |
22 * INCLUDE FILES | |
23 ******************************************************************************** | |
24 */ | |
25 #include "typedef.h" | |
26 | |
27 /* | |
28 ******************************************************************************** | |
29 * DECLARATION OF PROTOTYPES | |
30 ******************************************************************************** | |
31 */ | |
32 | |
33 Word32 sqrt_l_exp (/* o : output value, Q31 */ | |
34 Word32 L_x, /* i : input value, Q31 */ | |
35 Word16 *exp /* o : right shift to be applied to result, Q0 */ | |
36 ); | |
37 | |
38 #endif |