comparison libtwamr/bits2prm.h @ 254:f931e704adc5

libtwamr: bits and parameter packing
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Apr 2024 07:41:31 +0000
parents
children
comparison
equal deleted inserted replaced
253:54f6bc41ed10 254:f931e704adc5
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 : bits2prm.h
11 * Purpose : Retrieves the vector of encoder parameters from
12 * : the received serial bits in a frame.
13 *
14 *****************************************************************************
15 */
16 #ifndef bits2prm_h
17 #define bits2prm_h "$Id $"
18
19 /*
20 *****************************************************************************
21 * INCLUDE FILES
22 *****************************************************************************
23 */
24 #include "typedef.h"
25 #include "tw_amr.h" /* for enum Mode */
26 /*
27 *****************************************************************************
28 * DEFINITION OF DATA TYPES
29 *****************************************************************************
30 */
31
32 /*
33 *****************************************************************************
34 * DECLARATION OF PROTOTYPES
35 *****************************************************************************
36 */
37 /*
38 **************************************************************************
39 *
40 * Function : Bits2prm
41 * Purpose : Retrieves the vector of encoder parameters from
42 * the received serial bits in a frame.
43 * Returns : void
44 *
45 **************************************************************************
46 */
47 void Bits2prm (
48 enum Mode mode,
49 const Word16 bits[], /* input : serial bits (max 244) */
50 Word16 prm[] /* output: analysis parameters (max 57) */
51 );
52
53 #endif