blob: 2570ee9b4df37784848c7c1c92a1bdac89bf0a49
1 | /* |
2 | * =================================================================== |
3 | * TS 26.104 |
4 | * R99 V3.5.0 2003-03 |
5 | * REL-4 V4.4.0 2003-03 |
6 | * REL-5 V5.1.0 2003-03 |
7 | * 3GPP AMR Floating-point Speech Codec |
8 | * =================================================================== |
9 | * |
10 | */ |
11 | |
12 | /* |
13 | * interf_dec.h |
14 | * |
15 | * |
16 | * Project: |
17 | * AMR Floating-Point Codec |
18 | * |
19 | * Contains: |
20 | * Defines interface to AMR decoder |
21 | * |
22 | */ |
23 | |
24 | #ifndef _interf_dec_h_ |
25 | #define _interf_dec_h_ |
26 | |
27 | /* |
28 | * Function prototypes |
29 | */ |
30 | /* |
31 | * Conversion from packed bitstream to endoded parameters |
32 | * Decoding parameters to speech |
33 | */ |
34 | void Decoder_Interface_Decode(void *st, |
35 | |
36 | #ifndef ETSI |
37 | unsigned char *bits, |
38 | |
39 | #else |
40 | short *bits, |
41 | #endif |
42 | |
43 | short *synth, int bfi); |
44 | |
45 | /* |
46 | * Reserve and init. memory |
47 | */ |
48 | void *Decoder_Interface_init(void); |
49 | |
50 | /* |
51 | * Exit and free memory |
52 | */ |
53 | void Decoder_Interface_exit(void *state); |
54 | |
55 | #endif |
56 | |
57 |