Added setIppErrorStatus
This commit is contained in:
parent
6202f54a18
commit
4f4a95299a
@ -538,6 +538,7 @@ void cv::pyrDown( InputArray _src, OutputArray _dst, const Size& _dsz, int borde
|
|||||||
|
|
||||||
if (ok >= 0)
|
if (ok >= 0)
|
||||||
return;
|
return;
|
||||||
|
setIppErrorStatus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -606,6 +607,7 @@ void cv::pyrUp( InputArray _src, OutputArray _dst, const Size& _dsz, int borderT
|
|||||||
|
|
||||||
if (ok >= 0)
|
if (ok >= 0)
|
||||||
return;
|
return;
|
||||||
|
setIppErrorStatus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -714,9 +716,15 @@ void cv::buildPyramid( InputArray _src, OutputArrayOfArrays _dst, int maxlevel,
|
|||||||
gPyr->pImage[i], gPyr->pStep[i], gPyr->pRoi[i], gPyr->pState);
|
gPyr->pImage[i], gPyr->pStep[i], gPyr->pRoi[i], gPyr->pState);
|
||||||
|
|
||||||
if (ok < 0)
|
if (ok < 0)
|
||||||
|
{
|
||||||
|
setIppErrorStatus();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
pyrFreeFunc(gPyr->pState);
|
pyrFreeFunc(gPyr->pState);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
setIppErrorStatus();
|
||||||
}
|
}
|
||||||
ippiPyramidFree(gPyr);
|
ippiPyramidFree(gPyr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user