imgproc: IPP compilation fix and minor cleanup

This commit is contained in:
Leszek Swirski
2013-12-20 12:38:31 +00:00
parent b4bd5bab6d
commit 9c22d4887c
2 changed files with 31 additions and 47 deletions

View File

@@ -472,7 +472,7 @@ void cv::Scharr( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy,
#endif
#if defined (HAVE_IPP) && (IPP_VERSION_MAJOR >= 7)
if(dx < 2 && dy < 2 && src.channels() == 1 && borderType == 1)
if(dx < 2 && dy < 2 && _src.channels() == 1 && borderType == 1)
{
Mat src = _src.getMat(), dst = _dst.getMat();
if(IPPDerivScharr(src, dst, ddepth, dx, dy, scale))