enc_acelp.h
上传用户:dangjiwu
上传日期:2013-07-19
资源大小:42019k
文件大小:1k
源码类别:

Symbian

开发平台:

Visual C++

  1. /*
  2.  *===================================================================
  3.  *  3GPP AMR Wideband Floating-point Speech Codec
  4.  *===================================================================
  5.  */
  6. #ifndef ENC_E_ACELP_H
  7. #define ENC_E_ACELP_H
  8. #include "typedef.h"
  9. void E_ACELP_Gain2_Q_init(Word16 *mem);
  10. void E_ACELP_xy2_corr(Float32 xn[], Float32 y1[], Float32 y2[],
  11.                       Float32 g_corr[]);
  12. Float32 E_ACELP_xy1_corr(Float32 xn[], Float32 y1[], Float32 g_corr[]);
  13. void E_ACELP_xh_corr(Float32 *x, Float32 *y, Float32 *h);
  14. void E_ACELP_codebook_target_update(Float32 *x, Float32 *x2, Float32 *y,
  15.                                     Float32 gain);
  16. void E_ACELP_2t(Float32 dn[], Float32 cn[], Float32 H[], Word16 code[],
  17.                 Float32 y[], Word32 *index);
  18. void E_ACELP_4t(Float32 dn[], Float32 cn[], Float32 H[], Word16 code[],
  19.                 Float32 y[], Word32 nbbits, Word16 mode, Word32 _index[]);
  20. Word32 E_ACELP_gains_quantise(Word16 code[], Word32 nbits, Float32 f_gain_pit,
  21.                               Word16 *gain_pit, Word32 *gain_code,
  22.                               Float32 *coeff, Word32 gp_clip,
  23.                               Word16 *past_qua_en);
  24. #endif