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

pull/13383/head
Patrick Mihelich 13 years ago
parent aa9eeddd86
commit b6c2c61ce1
  1. 5
      modules/core/include/opencv2/core/internal.hpp

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

Loading…
Cancel
Save