FreeCalypso > hg > gsm-codec-lib
comparison libtwamr/d2_9pf.h @ 332:2303ba1490dd
libtwamr: integrate d2_9pf.c
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 18 Apr 2024 22:18:45 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
331:c75327562b5e | 332:2303ba1490dd |
---|---|
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 : d2_9pf.h | |
11 * Purpose : Algebraic codebook decoder | |
12 * | |
13 ***************************************************************************** | |
14 */ | |
15 #ifndef d2_9pf_h | |
16 #define d2_9pf_h "$Id $" | |
17 | |
18 /* | |
19 ***************************************************************************** | |
20 * INCLUDE FILES | |
21 ***************************************************************************** | |
22 */ | |
23 #include "typedef.h" | |
24 | |
25 /* | |
26 ***************************************************************************** | |
27 * LOCAL VARIABLES AND TABLES | |
28 ***************************************************************************** | |
29 */ | |
30 | |
31 /* | |
32 ***************************************************************************** | |
33 * DEFINITION OF DATA TYPES | |
34 ***************************************************************************** | |
35 */ | |
36 | |
37 /* | |
38 ***************************************************************************** | |
39 * DECLARATION OF PROTOTYPES | |
40 ***************************************************************************** | |
41 */ | |
42 /************************************************************************* | |
43 * | |
44 * FUNCTION: decode_2i40_9bits (decod_ACELP()) | |
45 * | |
46 * PURPOSE: Algebraic codebook decoder for 2 pulses coded with 9 bits | |
47 * | |
48 *************************************************************************/ | |
49 | |
50 void decode_2i40_9bits( | |
51 Word16 subNr, /* i : subframe number */ | |
52 Word16 sign, /* i : signs of 2 pulses. */ | |
53 Word16 index, /* i : Positions of the 2 pulses. */ | |
54 Word16 cod[] /* o : algebraic (fixed) codebook excitation */ | |
55 ); | |
56 | |
57 #endif |