iLBC_encode.h 940 B

123456789101112131415161718192021222324252627282930313233343536373839
  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