Fixed Tegra optimization stub for gaussian
authorAndrey Kamaev <no@email>
Wed, 11 Jan 2012 13:16:00 +0000 (13:16 +0000)
committerAndrey Kamaev <no@email>
Wed, 11 Jan 2012 13:16:00 +0000 (13:16 +0000)
modules/imgproc/src/smooth.cpp

index 905caae..dec2836 100644 (file)
@@ -433,7 +433,7 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
     }
 
 #ifdef HAVE_TEGRA_OPTIMIZATION
-    if(tegra::gaussian(src, dst, ksize, borderType))
+    if(sigma1 == 0 && sigma2 == 0 && tegra::gaussian(src, dst, ksize, borderType))
         return;
 #endif