提交 2243118f 编写于 作者: A Alexander Smorkalov

NEON instruction set enabled for WIN32 on ARM by default.

上级 ee8687ba
......@@ -136,7 +136,13 @@ CV_INLINE IppiSize ippiSize(int width, int height)
# endif
#endif
#ifdef __ARM_NEON__
#if (defined WIN32 || defined _WIN32) && defined(_M_ARM)
# include <Intrin.h>
# include "arm_neon.h"
# define CV_NEON 1
# define CPU_HAS_NEON_FEATURE (true)
#elif defined(__ARM_NEON__)
# include <arm_neon.h>
# define CV_NEON 1
# define CPU_HAS_NEON_FEATURE (true)
......
......@@ -43,8 +43,12 @@ typedef unsigned __int64 uint64_t;
#include "defines.h"
#if (defined WIN32 || defined _WIN32) && defined(_M_ARM)
# include <Intrin.h>
#endif
#ifdef __ARM_NEON__
#include "arm_neon.h"
# include "arm_neon.h"
#endif
namespace cvflann
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册