mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
imgproc: Prefer OCL calculation before IPP in GaussianBlur.
This commit is contained in:
parent
35d0a45df6
commit
37cccf17c0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user