Fixed Tegra optimization stub for gaussian

pull/13383/head
Andrey Kamaev 13 years ago
parent a25b027ef7
commit 9260ad4d70
  1. 2
      modules/imgproc/src/smooth.cpp

@ -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

Loading…
Cancel
Save