inter_36.tab 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. ********************************************************************************
  3. *
  4. * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
  5. * R99 Version 3.3.0
  6. * REL-4 Version 4.1.0
  7. *
  8. ********************************************************************************
  9. *
  10. * File : inter_36.tab
  11. * Purpose : Tables for interpolating the normalized correlation
  12. * with 1/3 or 1/6 resolution.
  13. * $Id $
  14. *
  15. ********************************************************************************
  16. */
  17. #define FIR_SIZE (UP_SAMP_MAX*L_INTER_SRCH+1)
  18. /* 1/6 resolution interpolation filter (-3 dB at 3600 Hz) */
  19. /* Note: The IS641 (7.4) 1/3 resolution filter is simply a subsampled
  20. version of the 1/6 resolution filter, i.e. it uses
  21. every second coefficient:
  22. inter_3[k] = inter_6[2*k], 0 <= k <= 3*L_INTER_SRCH
  23. */
  24. static const Word16 inter_6[FIR_SIZE] =
  25. {
  26. 29519,
  27. 28316, 24906, 19838, 13896, 7945, 2755,
  28. -1127, -3459, -4304, -3969, -2899, -1561,
  29. -336, 534, 970, 1023, 823, 516,
  30. 220, 0, -131, -194, -215, 0
  31. };