FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/sqrt_l.tab @ 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.tab | |
11 * Purpose : Table for routine sqrt_l_exp() | |
12 * $Id $ | |
13 * | |
14 ******************************************************************************** | |
15 */ | |
16 /* table[i] = sqrt((i+16)*2^-6) * 2^15, i.e. sqrt(x) scaled Q15 */ | |
17 | |
18 static const Word16 table[49] = | |
19 { | |
20 16384, | |
21 16888, | |
22 17378, | |
23 17854, | |
24 18318, | |
25 18770, | |
26 19212, | |
27 19644, | |
28 20066, | |
29 20480, | |
30 20886, | |
31 21283, | |
32 21674, | |
33 22058, | |
34 22435, | |
35 22806, | |
36 23170, | |
37 23530, | |
38 23884, | |
39 24232, | |
40 24576, | |
41 24915, | |
42 25249, | |
43 25580, | |
44 25905, | |
45 26227, | |
46 26545, | |
47 26859, | |
48 27170, | |
49 27477, | |
50 27780, | |
51 28081, | |
52 28378, | |
53 28672, | |
54 28963, | |
55 29251, | |
56 29537, | |
57 29819, | |
58 30099, | |
59 30377, | |
60 30652, | |
61 30924, | |
62 31194, | |
63 31462, | |
64 31727, | |
65 31991, | |
66 32252, | |
67 32511, | |
68 32767 | |
69 }; |