FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/q_gain_p.h @ 369:a01de4e40540
libtwamr: integrate q_gain_p.c
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Mon, 06 May 2024 03:22:07 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 368:3a25bdfad0d8 | 369:a01de4e40540 |
|---|---|
| 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 : q_gain_p.h | |
| 11 * Purpose : Scalar quantization of the pitch gain | |
| 12 * | |
| 13 ******************************************************************************** | |
| 14 */ | |
| 15 #ifndef q_gain_p_h | |
| 16 #define q_gain_p_h "$Id $" | |
| 17 | |
| 18 /* | |
| 19 ******************************************************************************** | |
| 20 * INCLUDE FILES | |
| 21 ******************************************************************************** | |
| 22 */ | |
| 23 #include "tw_amr.h" | |
| 24 #include "typedef.h" | |
| 25 | |
| 26 /* | |
| 27 ******************************************************************************** | |
| 28 * DEFINITION OF DATA TYPES | |
| 29 ******************************************************************************** | |
| 30 */ | |
| 31 | |
| 32 /* | |
| 33 ******************************************************************************** | |
| 34 * DECLARATION OF PROTOTYPES | |
| 35 ******************************************************************************** | |
| 36 */ | |
| 37 Word16 q_gain_pitch ( /* Return index of quantization */ | |
| 38 enum Mode mode, /* i : AMR mode */ | |
| 39 Word16 gp_limit, /* i : pitch gain limit */ | |
| 40 Word16 *gain, /* i/o: Pitch gain (unquant/quant), Q14 */ | |
| 41 Word16 gain_cand[], /* o : pitch gain candidates (3), MR795 only, Q14 */ | |
| 42 Word16 gain_cind[] /* o : pitch gain cand. indices (3),MR795 only, Q0 */ | |
| 43 ); | |
| 44 | |
| 45 #endif |
