pitch_ol.h 2.1 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 : pitch_ol.h
  11. * Purpose : Compute the open loop pitch lag.
  12. *
  13. ********************************************************************************
  14. */
  15. #ifndef pitch_ol_h
  16. #define pitch_ol_h "$Id $"
  17. /*
  18. ********************************************************************************
  19. * INCLUDE FILES
  20. ********************************************************************************
  21. */
  22. #include "typedef.h"
  23. #include "mode.h"
  24. #include "vad.h"
  25. /*
  26. ********************************************************************************
  27. * DEFINITION OF DATA TYPES
  28. ********************************************************************************
  29. */
  30. /*
  31. ********************************************************************************
  32. * DECLARATION OF PROTOTYPES
  33. ********************************************************************************
  34. */
  35. Word16 Pitch_ol ( /* o : open loop pitch lag */
  36. vadState *vadSt, /* i/o : VAD state struct */
  37. enum Mode mode, /* i : coder mode */
  38. Word16 signal[], /* i : signal used to compute the open loop pitch */
  39. /* signal[-pit_max] to signal[-1] should be known */
  40. Word16 pit_min, /* i : minimum pitch lag */
  41. Word16 pit_max, /* i : maximum pitch lag */
  42. Word16 L_frame, /* i : length of frame to compute pitch */
  43. Word16 idx, /* i : frame index */
  44. Flag dtx /* i : dtx flag; use dtx=1, do not use dtx=0 */
  45. );
  46. #endif