spatialGradient: Add CV_SSE2 check
authorSeon-Wook Park <seon.wook@swook.net>
Tue, 30 Jun 2015 15:42:08 +0000 (00:42 +0900)
committerSeon-Wook Park <seon.wook@swook.net>
Tue, 30 Jun 2015 15:42:08 +0000 (00:42 +0900)
modules/imgproc/src/spatialgradient.cpp

index fee4ab2..df88a7b 100644 (file)
@@ -128,7 +128,7 @@ void spatialGradient( InputArray _src, OutputArray _dx, OutputArray _dy,
 
     int i_start = 0;
     int j_start = 0;
-#if CV_SIMD128
+#if CV_SIMD128 && CV_SSE2
     uchar *m_src;
     short *n_dx, *n_dy;