Check for SSSE3 in core/internal.hpp. Define CV_SSSE3, and if enabled include tmmintrin.h.

This commit is contained in:
Patrick Mihelich 2012-02-23 21:41:22 +00:00
parent aa9eeddd86
commit b6c2c61ce1

View 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__