Skip to content

Commit d605a62

Browse files
committed
ximgproc: use CV_CPU_HAS_SUPPORT_NEON instead of custom NEON check
1 parent ac1d06d commit d605a62

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

modules/ximgproc/src/edgeaware_filters_common.cpp

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ inline bool CPU_SUPPORT_SSE1()
6060
} // end
6161
#endif
6262

63-
#if CV_NEON
64-
namespace
65-
{
66-
67-
inline bool CPU_SUPPORT_NEON()
68-
{
69-
static const bool is_supported = cv::checkHardwareSupport(CV_CPU_NEON);
70-
return is_supported;
71-
}
72-
7363
} // end
7464
#endif
7565

@@ -302,7 +292,7 @@ void add_mul(float *dst, float *src1, float *src2, int w)
302292
}
303293
}
304294
#elif CV_NEON
305-
if (CPU_SUPPORT_NEON())
295+
if (CV_CPU_HAS_SUPPORT_NEON)
306296
{
307297
float32x4_t a, b, c;
308298
for (; j < w - 3; j += 4)

0 commit comments

Comments
 (0)