constants.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /******************************************************************
  2. iLBC Speech Coder ANSI-C Source Code
  3. constants.h
  4. Copyright (C) The Internet Society (2004).
  5. All Rights Reserved.
  6. ******************************************************************/
  7. #ifndef __iLBC_CONSTANTS_H
  8. #define __iLBC_CONSTANTS_H
  9. #include "iLBC_define.h"
  10. /* ULP bit allocation */
  11. extern const iLBC_ULP_Inst_t ULP_20msTbl;
  12. extern const iLBC_ULP_Inst_t ULP_30msTbl;
  13. /* high pass filters */
  14. extern float hpi_zero_coefsTbl[];
  15. extern float hpi_pole_coefsTbl[];
  16. extern float hpo_zero_coefsTbl[];
  17. extern float hpo_pole_coefsTbl[];
  18. /* low pass filters */
  19. extern float lpFilt_coefsTbl[];
  20. /* LPC analysis and quantization */
  21. extern float lpc_winTbl[];
  22. extern float lpc_asymwinTbl[];
  23. extern float lpc_lagwinTbl[];
  24. extern float lsfCbTbl[];
  25. extern float lsfmeanTbl[];
  26. extern int dim_lsfCbTbl[];
  27. extern int size_lsfCbTbl[];
  28. extern float lsf_weightTbl_30ms[];
  29. extern float lsf_weightTbl_20ms[];
  30. /* state quantization tables */
  31. extern float state_sq3Tbl[];
  32. extern float state_frgqTbl[];
  33. /* gain quantization tables */
  34. extern float gain_sq3Tbl[];
  35. extern float gain_sq4Tbl[];
  36. extern float gain_sq5Tbl[];
  37. /* adaptive codebook definitions */
  38. extern int search_rangeTbl[5][CB_NSTAGES];
  39. extern int memLfTbl[];
  40. extern int stMemLTbl;
  41. extern float cbfiltersTbl[CB_FILTERLEN];
  42. /* enhancer definitions */
  43. extern float polyphaserTbl[];
  44. extern float enh_plocsTbl[];
  45. #endif