2
|
1
|
|
2 /******************************************************************
|
|
3
|
|
4 iLBC Speech Coder ANSI-C Source Code
|
|
5
|
|
6 iLBC_decode.h
|
|
7
|
|
8 Copyright (C) The Internet Society (2004).
|
|
9 All Rights Reserved.
|
|
10
|
|
11 ******************************************************************/
|
|
12
|
|
13 #ifndef __iLBC_ILBCDECODE_H
|
|
14 #define __iLBC_ILBCDECODE_H
|
|
15
|
|
16 #include "iLBC_define.h"
|
|
17
|
|
18 short initDecode( /* (o) Number of decoded
|
|
19 samples */
|
|
20 iLBC_Dec_Inst_t * iLBCdec_inst, /* (i/o) Decoder instance */
|
|
21 int mode, /* (i) frame size mode */
|
|
22 int use_enhancer /* (i) 1 to use enhancer
|
|
23 0 to run without
|
|
24 enhancer */
|
|
25 );
|
|
26
|
|
27 void iLBC_decode(float *decblock, /* (o) decoded signal block */
|
|
28 unsigned char *bytes, /* (i) encoded signal bits */
|
|
29 iLBC_Dec_Inst_t * iLBCdec_inst, /* (i/o) the decoder state
|
|
30 structure */
|
|
31 int mode /* (i) 0: bad packet, PLC,
|
|
32 1: normal */
|
|
33 );
|
|
34
|
|
35 #endif
|