Check 8.1 ipp version for gaussian functions, which not exists in versions before this.

This commit is contained in:
vbystricky
2014-04-04 13:00:18 +04:00
parent be29d628d3
commit 06acb8b0ee
2 changed files with 2 additions and 2 deletions

View File

@@ -1459,7 +1459,7 @@ static void morphOp( int op, InputArray _src, OutputArray _dst,
Size ksize = kernel.data ? kernel.size() : Size(3,3);
anchor = normalizeAnchor(anchor, ksize);
#if defined (HAVE_IPP) && (IPP_VERSION_MAJOR >= 7)
#if defined (HAVE_IPP) && (IPP_VERSION_MAJOR >= 8) && (IPP_VERSION_MINOR >= 1)
if( IPPMorphOp(op, _src, _dst, kernel, anchor, iterations, borderType, borderValue) )
return;
#endif