mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -69,7 +69,6 @@ static void calcSharrDeriv(const cv::Mat& src, cv::Mat& dst)
|
||||
|
||||
#if CV_SIMD128
|
||||
v_int16x8 c3 = v_setall_s16(3), c10 = v_setall_s16(10);
|
||||
bool haveSIMD = checkHardwareSupport(CV_CPU_SSE2) || checkHardwareSupport(CV_CPU_NEON);
|
||||
#endif
|
||||
|
||||
for( y = 0; y < rows; y++ )
|
||||
@@ -82,7 +81,6 @@ static void calcSharrDeriv(const cv::Mat& src, cv::Mat& dst)
|
||||
// do vertical convolution
|
||||
x = 0;
|
||||
#if CV_SIMD128
|
||||
if(haveSIMD)
|
||||
{
|
||||
for( ; x <= colsn - 8; x += 8 )
|
||||
{
|
||||
@@ -118,7 +116,6 @@ static void calcSharrDeriv(const cv::Mat& src, cv::Mat& dst)
|
||||
// do horizontal convolution, interleave the results and store them to dst
|
||||
x = 0;
|
||||
#if CV_SIMD128
|
||||
if(haveSIMD)
|
||||
{
|
||||
for( ; x <= colsn - 8; x += 8 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user