LPCdecode.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /******************************************************************
  2. iLBC Speech Coder ANSI-C Source Code
  3. LPC_decode.h
  4. Copyright (c) 2001,
  5. Global IP Sound AB.
  6. All rights reserved.
  7. ******************************************************************/
  8. #ifndef __iLBC_LPC_DECODE_H
  9. #define __iLBC_LPC_DECODE_H
  10. void LSFinterpolate2a_dec(
  11. float *a, /* (o) lpc coefficients for a sub frame */
  12. float *lsf1, /* (i) first lsf coefficient vector */
  13. float *lsf2, /* (i) second lsf coefficient vector */
  14. float coef, /* (i) interpolation weight */
  15. int length /* (i) length of lsf vectors */
  16. );
  17. void SimplelsfDEQ(
  18. float *lsfdeq, /* (o) dequantized lsf coefficients */
  19. int *index /* (i) quantization index */
  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