imgproc: Prefer OCL calculation before IPP in GaussianBlur.

This commit is contained in:
matze 2016-07-21 19:59:26 +02:00 committed by Alexander Alekhin
parent 35d0a45df6
commit 37cccf17c0

View File

@ -1850,7 +1850,7 @@ void cv::GaussianBlur( InputArray _src, OutputArray _dst, Size ksize,
return;
#endif
CV_IPP_RUN(true, ipp_GaussianBlur( _src, _dst, ksize, sigma1, sigma2, borderType));
CV_IPP_RUN(!(ocl::useOpenCL() && _dst.isUMat()), ipp_GaussianBlur( _src, _dst, ksize, sigma1, sigma2, borderType));
Mat kx, ky;
createGaussianKernels(kx, ky, type, ksize, sigma1, sigma2);