pre_big.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 : pre_big.h
  11. * Purpose : Big subframe (2 subframes) preprocessing
  12. *
  13. ********************************************************************************
  14. */
  15. #ifndef pre_big_h
  16. #define pre_big_h "$Id $"
  17. /*
  18. ********************************************************************************
  19. * INCLUDE FILES
  20. ********************************************************************************
  21. */
  22. #include "typedef.h"
  23. #include "mode.h"
  24. #include "cnst.h"
  25. /*
  26. ********************************************************************************
  27. * DECLARATION OF PROTOTYPES
  28. ********************************************************************************
  29. */
  30. int pre_big(
  31. enum Mode mode, /* i : coder mode */
  32. const Word16 gamma1[], /* i : spectral exp. factor 1 */
  33. const Word16 gamma1_12k2[],/* i : spectral exp. factor 1 for EFR */
  34. const Word16 gamma2[], /* i : spectral exp. factor 2 */
  35. Word16 A_t[], /* i : A(z) unquantized, for 4 subframes, Q12 */
  36. Word16 frameOffset, /* i : Start position in speech vector, Q0 */
  37. Word16 speech[], /* i : speech, Q0 */
  38. Word16 mem_w[], /* i/o: synthesis filter memory state, Q0 */
  39. Word16 wsp[] /* o : weighted speech Q0 */
  40. );
  41. #endif