[xiph-commits] r10313 - trunk/speex/include/speex

jm at svn.xiph.org jm at svn.xiph.org
Sat Oct 29 06:14:51 PDT 2005


Author: jm
Date: 2005-10-29 06:14:49 -0700 (Sat, 29 Oct 2005)
New Revision: 10313

Modified:
   trunk/speex/include/speex/speex_types.h
Log:
Types for TI DSP (C5x and C6x)


Modified: trunk/speex/include/speex/speex_types.h
===================================================================
--- trunk/speex/include/speex/speex_types.h	2005-10-29 13:13:13 UTC (rev 10312)
+++ trunk/speex/include/speex/speex_types.h	2005-10-29 13:14:49 UTC (rev 10313)
@@ -115,6 +115,20 @@
    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>



More information about the commits mailing list