From: Alexander Alekhin Date: Thu, 30 Oct 2014 11:53:22 +0000 (+0300) Subject: IPPICV: disable boxFilter 16SC1/16UC1 (performance) X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~8^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58e054a0033ea0cfa62f8f66beefd474a338adcf;p=profile%2Fivi%2Fopencv.git IPPICV: disable boxFilter 16SC1/16UC1 (performance) --- diff --git a/modules/imgproc/src/smooth.cpp b/modules/imgproc/src/smooth.cpp index be2789b..5ab70d9 100644 --- a/modules/imgproc/src/smooth.cpp +++ b/modules/imgproc/src/smooth.cpp @@ -1223,15 +1223,17 @@ void cv::boxFilter( InputArray _src, OutputArray _dst, int ddepth, else if (stype == CV_8UC4) IPP_FILTER_BOX_BORDER(Ipp8u, ipp8u, 8u_C4R); - else if (stype == CV_16UC1) - IPP_FILTER_BOX_BORDER(Ipp16u, ipp16u, 16u_C1R); + // Oct 2014: performance with BORDER_CONSTANT + //else if (stype == CV_16UC1) + // IPP_FILTER_BOX_BORDER(Ipp16u, ipp16u, 16u_C1R); else if (stype == CV_16UC3) IPP_FILTER_BOX_BORDER(Ipp16u, ipp16u, 16u_C3R); else if (stype == CV_16UC4) IPP_FILTER_BOX_BORDER(Ipp16u, ipp16u, 16u_C4R); - else if (stype == CV_16SC1) - IPP_FILTER_BOX_BORDER(Ipp16s, ipp16s, 16s_C1R); + // Oct 2014: performance with BORDER_CONSTANT + //else if (stype == CV_16SC1) + // IPP_FILTER_BOX_BORDER(Ipp16s, ipp16s, 16s_C1R); else if (stype == CV_16SC3) IPP_FILTER_BOX_BORDER(Ipp16s, ipp16s, 16s_C3R); else if (stype == CV_16SC4)