Skip to content

Commit 4c0d833

Browse files
committed
Disabled vxuConvolution call for sepFilter evaluation
1 parent 87bb743 commit 4c0d833

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

3rdparty/openvx/hal/openvx_hal.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ int ovx_hal_integral(int depth, int sdepth, int, const uchar * a, size_t astep,
106106
#undef cv_hal_filterFree
107107
#define cv_hal_filterFree ovx_hal_filterFree
108108

109-
#undef cv_hal_sepFilterInit
110-
#define cv_hal_sepFilterInit ovx_hal_sepFilterInit
111-
#undef cv_hal_sepFilter
112-
#define cv_hal_sepFilter ovx_hal_filter
113-
#undef cv_hal_sepFilterFree
114-
#define cv_hal_sepFilterFree ovx_hal_filterFree
109+
//#undef cv_hal_sepFilterInit
110+
//#define cv_hal_sepFilterInit ovx_hal_sepFilterInit
111+
//#undef cv_hal_sepFilter
112+
//#define cv_hal_sepFilter ovx_hal_filter
113+
//#undef cv_hal_sepFilterFree
114+
//#define cv_hal_sepFilterFree ovx_hal_filterFree
115115

116116
#if VX_VERSION > VX_VERSION_1_0
117117

modules/imgproc/src/deriv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ namespace cv
191191
if (_src.type() != CV_8UC1 || _dst.type() != CV_16SC1 ||
192192
ksize != 3 || scale != 1.0 || delta != 0.0 ||
193193
(dx | dy) != 1 || (dx + dy) != 1 ||
194-
_src.cols < ksize || _src.rows < ksize ||
195-
ovx::skipSmallImages<VX_KERNEL_SOBEL_3x3>(_src.cols, _src.rows)
194+
_src.cols() < ksize || _src.rows() < ksize ||
195+
ovx::skipSmallImages<VX_KERNEL_SOBEL_3x3>(_src.cols(), _src.rows())
196196
)
197197
return false;
198198

modules/imgproc/src/smooth.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,11 +1646,11 @@ namespace cv
16461646
if (ddepth < 0)
16471647
ddepth = CV_8UC1;
16481648
if (_src.type() != CV_8UC1 || ddepth != CV_8U || !normalize ||
1649-
_src.cols < 3 || _src.rows < 3 ||
1649+
_src.cols() < 3 || _src.rows() < 3 ||
16501650
ksize.width != 3 || ksize.height != 3 ||
16511651
(anchor.x >= 0 && anchor.x != 1) ||
16521652
(anchor.y >= 0 && anchor.y != 1) ||
1653-
ovx::skipSmallImages<VX_KERNEL_BOX_3x3>(_src.cols, _src.rows))
1653+
ovx::skipSmallImages<VX_KERNEL_BOX_3x3>(_src.cols(), _src.rows()))
16541654
return false;
16551655

16561656
Mat src = _src.getMat();
@@ -2184,15 +2184,15 @@ static bool openvx_gaussianBlur(InputArray _src, OutputArray _dst, Size ksize,
21842184
ksize.height = cvRound(sigma2*6 + 1) | 1;
21852185

21862186
if (_src.type() != CV_8UC1 ||
2187-
_src.cols < 3 || _src.rows < 3 ||
2187+
_src.cols() < 3 || _src.rows() < 3 ||
21882188
ksize.width != 3 || ksize.height != 3)
21892189
return false;
21902190

21912191
sigma1 = std::max(sigma1, 0.);
21922192
sigma2 = std::max(sigma2, 0.);
21932193

21942194
if (!(sigma1 == 0.0 || (sigma1 - 0.8) < DBL_EPSILON) || !(sigma2 == 0.0 || (sigma2 - 0.8) < DBL_EPSILON) ||
2195-
ovx::skipSmallImages<VX_KERNEL_GAUSSIAN_3x3>(_src.cols, _src.rows))
2195+
ovx::skipSmallImages<VX_KERNEL_GAUSSIAN_3x3>(_src.cols(), _src.rows()))
21962196
return false;
21972197

21982198
Mat src = _src.getMat();

0 commit comments

Comments
 (0)