Lines Matching refs:lofs
186 int lofs = MAX(ndisp - 1 + mindisp, 0); in icvFindStereoCorrespondenceBM_SSE2() local
198 const uchar* lptr0 = left->data.ptr + lofs; in icvFindStereoCorrespondenceBM_SSE2()
224 lptr = lptr0 + MIN(MAX(x, -lofs), width-lofs-1) - dy0*sstep; in icvFindStereoCorrespondenceBM_SSE2()
243 for( x = 0; x < lofs; x++ ) in icvFindStereoCorrespondenceBM_SSE2()
245 for( x = lofs + width1; x < width; x++ ) in icvFindStereoCorrespondenceBM_SSE2()
248 dptr += lofs; in icvFindStereoCorrespondenceBM_SSE2()
256 lptr_sub = lptr0 + MIN(MAX(x0, -lofs), width-1-lofs) - dy0*sstep; in icvFindStereoCorrespondenceBM_SSE2()
257 lptr = lptr0 + MIN(MAX(x1, -lofs), width-1-lofs) - dy0*sstep; in icvFindStereoCorrespondenceBM_SSE2()
394 int lofs = MAX(ndisp - 1 + mindisp, 0); in icvFindStereoCorrespondenceBM() local
405 const uchar* lptr0 = left->data.ptr + lofs; in icvFindStereoCorrespondenceBM()
430 lptr = lptr0 + MIN(MAX(x, -lofs), width-lofs-1) - dy0*sstep; in icvFindStereoCorrespondenceBM()
449 for( x = 0; x < lofs; x++ ) in icvFindStereoCorrespondenceBM()
451 for( x = lofs + width1; x < width; x++ ) in icvFindStereoCorrespondenceBM()
454 dptr += lofs; in icvFindStereoCorrespondenceBM()
462 lptr_sub = lptr0 + MIN(MAX(x0, -lofs), width-1-lofs) - dy0*sstep; in icvFindStereoCorrespondenceBM()
463 lptr = lptr0 + MIN(MAX(x1, -lofs), width-1-lofs) - dy0*sstep; in icvFindStereoCorrespondenceBM()
560 int wsz, ndisp, mindisp, lofs, rofs; in cvFindStereoCorrespondenceBM() local
614 lofs = MAX(ndisp - 1 + mindisp, 0); in cvFindStereoCorrespondenceBM()
617 if( lofs >= width || rofs >= width || width1 < 1 ) in cvFindStereoCorrespondenceBM()