convolve.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 : convolve.h
  11. * Purpose : Perform the convolution between two vectors x[]
  12. * : and h[] and write the result in the vector y[].
  13. * : All vectors are of length L and only the first
  14. * : L samples of the convolution are computed.
  15. *
  16. ********************************************************************************
  17. */
  18. #ifndef convolve_h
  19. #define convolve_h "$Id $"
  20. /*
  21. ********************************************************************************
  22. * INCLUDE FILES
  23. ********************************************************************************
  24. */
  25. #include "typedef.h"
  26. /*
  27. ********************************************************************************
  28. * DEFINITION OF DATA TYPES
  29. ********************************************************************************
  30. */
  31. /*
  32. ********************************************************************************
  33. * DECLARATION OF PROTOTYPES
  34. ********************************************************************************
  35. */
  36. void Convolve (
  37. Word16 x[], /* (i) : input vector */
  38. Word16 h[], /* (i) : impulse response */
  39. Word16 y[], /* (o) : output vector */
  40. Word16 L /* (i) : vector size */
  41. );
  42. #endif