reorder.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 : reorder.h
  11. * Purpose : To make sure that the LSFs are properly ordered
  12. * : and to keep a certain minimum distance between
  13. * : adjacent LSFs.
  14. *
  15. ********************************************************************************
  16. */
  17. #ifndef reorder_h
  18. #define reorder_h "$Id $"
  19. /*
  20. ********************************************************************************
  21. * INCLUDE FILES
  22. ********************************************************************************
  23. */
  24. #include "typedef.h"
  25. /*
  26. ********************************************************************************
  27. * DEFINITION OF DATA TYPES
  28. ********************************************************************************
  29. */
  30. /*
  31. ********************************************************************************
  32. * DECLARATION OF PROTOTYPES
  33. ********************************************************************************
  34. */
  35. void Reorder_lsf (
  36. Word16 *lsf, /* (i/o) : vector of LSFs (range: 0<=val<=0.5) */
  37. Word16 min_dist, /* (i) : minimum required distance */
  38. Word16 n /* (i) : LPC order */
  39. );
  40. #endif