FreeCalypso > hg > gsm-codec-lib
annotate libgsmefr/grid.tab @ 140:5efc377326da
gsmefr-dlcap-gsmx: EFR counterpart to gsmfr-cvt-dlcap
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 13 Dec 2022 07:14:41 +0000 |
parents | 37e39cad5838 |
children |
rev | line source |
---|---|
41
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /*-------------------------------------------------------------* |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * Table for az_lsf() * |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * * |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * grid[0] = 1.0; * |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 * grid[grid_points+1] = -1.0; * |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 * for (i = 1; i < grid_points; i++) * |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 * grid[i] = cos((6.283185307*i)/(2.0*grid_points)); * |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 * * |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 *-------------------------------------------------------------*/ |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 #define grid_points 60 |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 static const Word16 grid[grid_points + 1] = |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 { |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 32760, 32723, 32588, 32364, 32051, 31651, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 31164, 30591, 29935, 29196, 28377, 27481, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 26509, 25465, 24351, 23170, 21926, 20621, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 19260, 17846, 16384, 14876, 13327, 11743, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 10125, 8480, 6812, 5126, 3425, 1714, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 0, -1714, -3425, -5126, -6812, -8480, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 -10125, -11743, -13327, -14876, -16384, -17846, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 -19260, -20621, -21926, -23170, -24351, -25465, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 -26509, -27481, -28377, -29196, -29935, -30591, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 -31164, -31651, -32051, -32364, -32588, -32723, |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 -32760 |
37e39cad5838
libgsmefr/*.tab: import from ETSI code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 }; |