s10_8pf.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 : s10_8pf.h
  11. * Purpose : Searches a 35/31 bit algebraic codebook containing
  12. * : 10/8 pulses in a frame of 40 samples.
  13. *
  14. ********************************************************************************
  15. */
  16. #ifndef s10_8pf_h
  17. #define s10_8pf_h "$Id $"
  18. /*
  19. ********************************************************************************
  20. * INCLUDE FILES
  21. ********************************************************************************
  22. */
  23. #include "typedef.h"
  24. #include "cnst.h"
  25. /*
  26. ********************************************************************************
  27. * DEFINITION OF DATA TYPES
  28. ********************************************************************************
  29. */
  30. /*
  31. ********************************************************************************
  32. * DECLARATION OF PROTOTYPES
  33. ********************************************************************************
  34. */
  35. void search_10and8i40 (
  36. Word16 nbPulse, /* i : nbpulses to find */
  37. Word16 step, /* i : stepsize */
  38. Word16 nbTracks, /* i : nbTracks */
  39. Word16 dn[], /* i : correlation between target and h[] */
  40. Word16 rr[][L_CODE], /* i : matrix of autocorrelation */
  41. Word16 ipos[], /* i : starting position for each pulse */
  42. Word16 pos_max[], /* i : position of maximum of dn[] */
  43. Word16 codvec[] /* o : algebraic codebook vector */
  44. );
  45. #endif