comparison libtwamr/prm2bits.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 : prm2bits.h
11 * Purpose : Converts the encoder parameter vector into a
12 * : vector of serial bits.
13 *
14 ********************************************************************************
15 */
16 #ifndef prm2bits_h
17 #define prm2bits_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 ********************************************************************************
29 * DEFINITION OF DATA TYPES
30 ********************************************************************************
31 */
32
33 /*
34 ********************************************************************************
35 * DECLARATION OF PROTOTYPES
36 ********************************************************************************
37 */
38 void Prm2bits (
39 enum Mode mode, /* i : AMR mode */
40 const Word16 prm[], /* input : analysis parameters */
41 Word16 bits[] /* output: serial bits */
42 );
43
44 #endif