Enable NEON optimization for cvRound on newer devices

pull/4103/head
manuele 10 years ago
parent 424c2bddb3
commit a55a8c9aa5
  1. 2
      modules/hal/include/opencv2/hal/defs.h

@ -179,7 +179,7 @@
# define CV_NEON 1
#endif
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__)
#if defined __GNUC__ && defined __arm__ && (defined __ARM_PCS_VFP || defined __ARM_VFPV3__ || defined __ARM_NEON__) && !defined __SOFTFP__
# define CV_VFP 1
#endif

Loading…
Cancel
Save