Alexandre Lision | 8af73cb | 2013-12-10 14:11:20 -0500 | [diff] [blame] | 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( |
| 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 | |