iCBConstruct.h 914 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /******************************************************************
  2. iLBC Speech Coder ANSI-C Source Code
  3. iCBConstruct.h
  4. Copyright (C) The Internet Society (2004).
  5. All Rights Reserved.
  6. ******************************************************************/
  7. #ifndef __iLBC_ICBCONSTRUCT_H
  8. #define __iLBC_ICBCONSTRUCT_H
  9. void index_conv_enc(
  10. int *index /* (i/o) Codebook indexes */
  11. );
  12. void index_conv_dec(
  13. int *index /* (i/o) Codebook indexes */
  14. );
  15. void iCBConstruct(
  16. float *decvector, /* (o) Decoded vector */
  17. int *index, /* (i) Codebook indices */
  18. int *gain_index,/* (i) Gain quantization indices */
  19. float *mem, /* (i) Buffer for codevector construction */
  20. int lMem, /* (i) Length of buffer */
  21. int veclen, /* (i) Length of vector */
  22. int nStages /* (i) Number of codebook stages */
  23. );
  24. #endif