FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/g_pitch.h @ 367:bd4f660eb75a
libtwamr: integrate g_pitch.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 06 May 2024 03:08:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
366:1588a7d9e732 | 367:bd4f660eb75a |
---|---|
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 : g_pitch.h | |
11 * Purpose : Compute the pitch (adaptive codebook) gain. | |
12 * | |
13 ******************************************************************************** | |
14 */ | |
15 #ifndef g_pitch_h | |
16 #define g_pitch_h "$Id $" | |
17 | |
18 /* | |
19 ******************************************************************************** | |
20 * INCLUDE FILES | |
21 ******************************************************************************** | |
22 */ | |
23 #include "tw_amr.h" | |
24 #include "typedef.h" | |
25 | |
26 /* | |
27 ******************************************************************************** | |
28 * DECLARATION OF PROTOTYPES | |
29 ******************************************************************************** | |
30 */ | |
31 Word16 G_pitch ( /* o : Gain of pitch lag saturated to 1.2 */ | |
32 enum Mode mode, /* i : AMR mode */ | |
33 Word16 xn[], /* i : Pitch target. */ | |
34 Word16 y1[], /* i : Filtered adaptive codebook. */ | |
35 Word16 g_coeff[], /* i : Correlations need for gain quantization. | |
36 (7.4 only). Pass NULL if not needed */ | |
37 Word16 L_subfr /* i : Length of subframe. */ | |
38 ); | |
39 | |
40 #endif |