FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/grid.tab @ 253:54f6bc41ed10
libtwamr: integrate a* modules
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 05 Apr 2024 06:08:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
252:57b4053559ff | 253:54f6bc41ed10 |
---|---|
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 : pow2.c | |
11 * Purpose : Table for az_lsf() | |
12 * $Id $ | |
13 * | |
14 ******************************************************************************** | |
15 */ | |
16 /*-------------------------------------------------------------* | |
17 * Table for az_lsf() * | |
18 * * | |
19 * grid[0] = 1.0; * | |
20 * grid[grid_points+1] = -1.0; * | |
21 * for (i = 1; i < grid_points; i++) * | |
22 * grid[i] = cos((6.283185307*i)/(2.0*grid_points)); * | |
23 * * | |
24 *-------------------------------------------------------------*/ | |
25 | |
26 #define grid_points 60 | |
27 | |
28 static const Word16 grid[grid_points + 1] = | |
29 { | |
30 32760, 32723, 32588, 32364, 32051, 31651, | |
31 31164, 30591, 29935, 29196, 28377, 27481, | |
32 26509, 25465, 24351, 23170, 21926, 20621, | |
33 19260, 17846, 16384, 14876, 13327, 11743, | |
34 10125, 8480, 6812, 5126, 3425, 1714, | |
35 0, -1714, -3425, -5126, -6812, -8480, | |
36 -10125, -11743, -13327, -14876, -16384, -17846, | |
37 -19260, -20621, -21926, -23170, -24351, -25465, | |
38 -26509, -27481, -28377, -29196, -29935, -30591, | |
39 -31164, -31651, -32051, -32364, -32588, -32723, | |
40 -32760 | |
41 }; |