bits2prm.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 : bits2prm.h
  11. * Purpose : Retrieves the vector of encoder parameters from
  12. * : the received serial bits in a frame.
  13. *
  14. *****************************************************************************
  15. */
  16. #ifndef bits2prm_h
  17. #define bits2prm_h "$Id $"
  18. /*
  19. *****************************************************************************
  20. * INCLUDE FILES
  21. *****************************************************************************
  22. */
  23. #include "typedef.h"
  24. #include "mode.h"
  25. /*
  26. *****************************************************************************
  27. * DEFINITION OF DATA TYPES
  28. *****************************************************************************
  29. */
  30. /*
  31. *****************************************************************************
  32. * DECLARATION OF PROTOTYPES
  33. *****************************************************************************
  34. */
  35. /*
  36. **************************************************************************
  37. *
  38. * Function : Bits2prm
  39. * Purpose : Retrieves the vector of encoder parameters from
  40. * the received serial bits in a frame.
  41. * Returns : void
  42. *
  43. **************************************************************************
  44. */
  45. void Bits2prm (
  46. enum Mode mode,
  47. Word16 bits[], /* input : serial bits, (244 + bfi) */
  48. Word16 prm[] /* output: analysis parameters, (57+1 parameters) */
  49. );
  50. #endif