Check ippStsNoErr as result of ipp function instead >=0
This commit is contained in:
parent
c65e5a1e7b
commit
aece433b15
@ -2199,7 +2199,7 @@ public:
|
||||
*ok = false;
|
||||
return;
|
||||
}
|
||||
if( ippicviFilterBilateral_8u_C1R( src.ptr<uchar>(range.start) + radius * ((int)src.step[0] + 1), (int)src.step[0], dst.ptr<uchar>(range.start), (int)dst.step[0], roi, kernel, pSpec ) < 0)
|
||||
if (ippStsNoErr != ippicviFilterBilateral_8u_C1R( src.ptr<uchar>(range.start) + radius * ((int)src.step[0] + 1), (int)src.step[0], dst.ptr<uchar>(range.start), (int)dst.step[0], roi, kernel, pSpec ))
|
||||
*ok = false;
|
||||
}
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user