提交 b6c2c61c 编写于 作者: P Patrick Mihelich

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

上级 aa9eeddd
...@@ -113,10 +113,15 @@ CV_INLINE IppiSize ippiSize(int width, int height) ...@@ -113,10 +113,15 @@ CV_INLINE IppiSize ippiSize(int width, int height)
#include "pmmintrin.h" #include "pmmintrin.h"
#define CV_SSE3 1 #define CV_SSE3 1
#endif #endif
#if defined __SSSE3__
#include "tmmintrin.h"
#define CV_SSSE3 1
#endif
#else #else
#define CV_SSE 0 #define CV_SSE 0
#define CV_SSE2 0 #define CV_SSE2 0
#define CV_SSE3 0 #define CV_SSE3 0
#define CV_SSSE3 0
#endif #endif
#if defined ANDROID && defined __ARM_NEON__ && defined __GNUC__ #if defined ANDROID && defined __ARM_NEON__ && defined __GNUC__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册