comparison libtwamr/d2_11pf.h @ 331:c75327562b5e

libtwamr: integrate d2_11pf.c
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 18 Apr 2024 22:14:40 +0000
parents
children
comparison
equal deleted inserted replaced
330:2cf33c211544 331:c75327562b5e
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_11pf.h
11 * Purpose : Algebraic codebook decoder
12 *
13 ********************************************************************************
14 */
15 #ifndef d2_11pf_h
16 #define d2_11pf_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_11bits (decod_ACELP())
45 *
46 * PURPOSE: Algebraic codebook decoder for 2 pulses coded with 11 bits
47 *
48 *************************************************************************/
49
50 void decode_2i40_11bits(
51 Word16 sign, /* i : signs of 2 pulses. */
52 Word16 index, /* i : Positions of the 2 pulses. */
53 Word16 cod[] /* o : algebraic (fixed) codebook excitation */
54 );
55
56 #endif