mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
Merge pull request #14916 from terfendail:wsignmask_deprecated
* Avoid using v_signmask universal intrinsic and mark it as deprecated * Renamed v_find_negative to v_scan_forward
This commit is contained in:
committed by
Alexander Alekhin
parent
3e4a195b61
commit
9befb7a1d7
@@ -534,12 +534,12 @@ static void findStereoCorrespondenceBM_SIMD( const Mat& left, const Mat& right,
|
||||
v_expand(sad8, sad4_l, sad4_h);
|
||||
mask4 = thresh4 > sad4_l;
|
||||
mask4 = mask4 & ((d1 > d4) | (d4 > d2));
|
||||
if( v_signmask(mask4) )
|
||||
if( v_check_any(mask4) )
|
||||
break;
|
||||
d4 += dd_4;
|
||||
mask4 = thresh4 > sad4_h;
|
||||
mask4 = mask4 & ((d1 > d4) | (d4 > d2));
|
||||
if( v_signmask(mask4) )
|
||||
if( v_check_any(mask4) )
|
||||
break;
|
||||
d4 += dd_4;
|
||||
}
|
||||
|
||||
@@ -2013,14 +2013,14 @@ void SGBM3WayMainLoop::operator () (const Range& range) const
|
||||
|
||||
mask = cost1 < thresh_reg;
|
||||
mask = mask & ( (cur_d<d1) | (cur_d>d2) );
|
||||
if( v_signmask(mask) )
|
||||
if( v_check_any(mask) )
|
||||
break;
|
||||
|
||||
cur_d = cur_d+eight_reg;
|
||||
|
||||
mask = cost2 < thresh_reg;
|
||||
mask = mask & ( (cur_d<d1) | (cur_d>d2) );
|
||||
if( v_signmask(mask) )
|
||||
if( v_check_any(mask) )
|
||||
break;
|
||||
|
||||
cur_d = cur_d+eight_reg;
|
||||
|
||||
Reference in New Issue
Block a user