iLBC_decode.h 1.2 KB

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