c8_31pf.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 : c8_31pf.h
  11. * Purpose : Searches a 31 bit algebraic codebook containing
  12. * : 8 pulses in a frame of 40 samples.
  13. *
  14. ********************************************************************************
  15. */
  16. #ifndef c8_31pf_h
  17. #define c8_31pf_h "$Id $"
  18. /*
  19. ********************************************************************************
  20. * INCLUDE FILES
  21. ********************************************************************************
  22. */
  23. #include "typedef.h"
  24. /*
  25. ********************************************************************************
  26. * DEFINITION OF DATA TYPES
  27. ********************************************************************************
  28. */
  29. /*
  30. ********************************************************************************
  31. * DECLARATION OF PROTOTYPES
  32. ********************************************************************************
  33. */
  34. void code_8i40_31bits (
  35. Word16 x[], /* i : target vector */
  36. Word16 cn[], /* i : residual after long term prediction */
  37. Word16 h[], /* i : impulse response of weighted synthesis
  38. filter */
  39. Word16 cod[], /* o : algebraic (fixed) codebook excitation */
  40. Word16 y[], /* o : filtered fixed codebook excitation */
  41. Word16 indx[] /* o : 7 Word16, index of 8 pulses (signs+positions) */
  42. );
  43. #endif