FreeCalypso > hg > gsm-codec-lib
annotate libtwamr/dec_lag6.h @ 536:a3300483ae74
doc/FR1-library-API: document return value from gsmfr_tfo_xfrm_*
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 21 Sep 2024 20:48:58 +0000 |
parents | 7bea058d0640 |
children |
rev | line source |
---|---|
358
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 ******************************************************************************** |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001 |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 * R99 Version 3.3.0 |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 * REL-4 Version 4.1.0 |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 * |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ******************************************************************************** |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 * |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 * File : dec_lag6.h |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 * Purpose : Decoding of fractional pitch lag with 1/6 resolution. |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 * |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ******************************************************************************** |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 #ifndef dec_lag6_h |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 #define dec_lag6_h "$Id $" |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 /* |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 ******************************************************************************** |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 * INCLUDE FILES |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 ******************************************************************************** |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 #include "typedef.h" |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 /* |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 ******************************************************************************** |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 * DECLARATION OF PROTOTYPES |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 ******************************************************************************** |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 void Dec_lag6 ( |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 Word16 index, /* input : received pitch index */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 Word16 pit_min, /* input : minimum pitch lag */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 Word16 pit_max, /* input : maximum pitch lag */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 Word16 i_subfr, /* input : subframe flag */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 Word16 *T0, /* in/out: integer part of pitch lag */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 Word16 *T0_frac /* output: fractional part of pitch lag */ |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 ); |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
7bea058d0640
libtwamr: integrate dec_lag6.c
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 #endif |