speex_config_types.h 562 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __SPEEX_TYPES_H__
  2. #define __SPEEX_TYPES_H__
  3. #ifdef __TCS__
  4. #include <tmNxTypes.h>
  5. typedef Int16 spx_int16_t;
  6. typedef UInt16 spx_uint16_t;
  7. typedef Int32 spx_int32_t;
  8. typedef UInt32 spx_uint32_t;
  9. #ifdef FIXED_POINT
  10. #define VMUX(a,b,c) mux((a),(b),(c))
  11. #define VABS(a) iabs((a))
  12. #define VMAX(a,b) imax((a),(b))
  13. #define VMIN(a,b) imin((a),(b))
  14. #else
  15. #define VMUX(a,b,c) fmux((a),(b),(c))
  16. #define VABS(a) fabs((a))
  17. #define VMAX(a,b) fmax((a),(b))
  18. #define VMIN(a,b) fmin((a),(b))
  19. #endif
  20. #endif
  21. #endif