Check for SSSE3 in core/internal.hpp. Define CV_SSSE3, and if enabled include tmmintr...
authorPatrick Mihelich <no@email>
Thu, 23 Feb 2012 21:41:22 +0000 (21:41 +0000)
committerPatrick Mihelich <no@email>
Thu, 23 Feb 2012 21:41:22 +0000 (21:41 +0000)
modules/core/include/opencv2/core/internal.hpp

index e9af13c..8d424a2 100644 (file)
@@ -113,10 +113,15 @@ CV_INLINE IppiSize ippiSize(int width, int height)
 #include "pmmintrin.h"
 #define CV_SSE3 1
 #endif
+#if defined __SSSE3__
+#include "tmmintrin.h"
+#define CV_SSSE3 1
+#endif
 #else
 #define CV_SSE 0
 #define CV_SSE2 0
 #define CV_SSE3 0
+#define CV_SSSE3 0
 #endif
 
 #if defined ANDROID && defined __ARM_NEON__ && defined __GNUC__