Types for TI DSP (C5x and C6x)
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 29 Oct 2005 13:14:49 +0000 (13:14 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Sat, 29 Oct 2005 13:14:49 +0000 (13:14 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@10313 0101bb08-14d6-0310-b084-bc0e0c8e3800

include/speex/speex_types.h

index cbf6c0e..ac8a210 100644 (file)
    typedef unsigned int spx_uint32_t;
    typedef long long int spx_int64_t;
 
+#elif defined(CONFIG_TI_C54X) || defined (CONFIG_TI_C55X)
+
+   typedef short spx_int16_t;
+   typedef unsigned short spx_uint16_t;
+   typedef long spx_int32_t;
+   typedef unsigned long spx_uint32_t;
+
+#elif defined(CONFIG_TI_C5X)
+
+   typedef short spx_int16_t;
+   typedef unsigned short spx_uint16_t;
+   typedef int spx_int32_t;
+   typedef unsigned int spx_uint32_t;
+
 #else
 
 #  include <speex/speex_config_types.h>