iLBC_encode.h 942 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /******************************************************************
  2. iLBC Speech Coder ANSI-C Source Code
  3. iLBC_encode.h
  4. Copyright (C) The Internet Society (2004).
  5. All Rights Reserved.
  6. ******************************************************************/
  7. #ifndef __iLBC_ILBCENCODE_H
  8. #define __iLBC_ILBCENCODE_H
  9. #include "iLBC_define.h"
  10. short initEncode( /* (o) Number of bytes
  11. encoded */
  12. iLBC_Enc_Inst_t *iLBCenc_inst, /* (i/o) Encoder instance */
  13. int mode /* (i) frame size mode */
  14. );
  15. void iLBC_encode(
  16. unsigned char *bytes, /* (o) encoded data bits iLBC */
  17. float *block, /* (o) speech vector to
  18. encode */
  19. iLBC_Enc_Inst_t *iLBCenc_inst /* (i/o) the general encoder
  20. state */
  21. );
  22. #endif