From: Ilya Lavrenov Date: Mon, 28 Apr 2014 10:04:41 +0000 (+0400) Subject: fixed compilation X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~435^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59876cfb345e757e96ce53935f5dc8c39dc9fd97;p=profile%2Fivi%2Fopencv.git fixed compilation --- diff --git a/modules/calib3d/src/stereosgbm.cpp b/modules/calib3d/src/stereosgbm.cpp index a1db5c4..985d81a 100644 --- a/modules/calib3d/src/stereosgbm.cpp +++ b/modules/calib3d/src/stereosgbm.cpp @@ -1084,7 +1084,7 @@ void cv::filterSpeckles( InputOutputArray _img, double _newval, int maxSpeckleSi int newVal = cvRound(_newval), maxDiff = cvRound(_maxDiff); -#if defined HAVE_IPP && !defined HAVE_IPP_ICV_ONLY +#if IPP_VERSION_X100 >= 801 && !defined HAVE_IPP_ICV_ONLY Ipp32s bufsize = 0; IppiSize roisize = { img.cols, img.rows }; IppDataType datatype = type == CV_8UC1 ? ipp8u : ipp16s;