LPCdecode.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /******************************************************************
  2. iLBC Speech Coder ANSI-C Source Code
  3. LPC_decode.h
  4. Copyright (C) The Internet Society (2004).
  5. All Rights Reserved.
  6. ******************************************************************/
  7. #ifndef __iLBC_LPC_DECODE_H
  8. #define __iLBC_LPC_DECODE_H
  9. void LSFinterpolate2a_dec(
  10. float *a, /* (o) lpc coefficients for a sub-frame */
  11. float *lsf1, /* (i) first lsf coefficient vector */
  12. float *lsf2, /* (i) second lsf coefficient vector */
  13. float coef, /* (i) interpolation weight */
  14. int length /* (i) length of lsf vectors */
  15. );
  16. void SimplelsfDEQ(
  17. float *lsfdeq, /* (o) dequantized lsf coefficients */
  18. int *index, /* (i) quantization index */
  19. int lpc_n /* (i) number of LPCs */
  20. );
  21. void DecoderInterpolateLSF(
  22. float *syntdenum, /* (o) synthesis filter coefficients */
  23. float *weightdenum, /* (o) weighting denumerator
  24. coefficients */
  25. float *lsfdeq, /* (i) dequantized lsf coefficients */
  26. int length, /* (i) length of lsf coefficient vector */
  27. iLBC_Dec_Inst_t *iLBCdec_inst
  28. /* (i) the decoder state structure */
  29. );
  30. #endif