blob: 5f4384dcde8fc9400ccab82ae7df7cd010a0191a [file] [log] [blame]
Benny Prijonoc5859882006-07-31 15:25:14 +00001
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(
28 float *decblock, /* (o) decoded signal block */
29 unsigned char *bytes, /* (i) encoded signal bits */
30 iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) the decoder state
31 structure */
32 int mode /* (i) 0: bad packet, PLC,
33 1: normal */
34
35
36
37
38
39 );
40
41 #endif
42