Lines Matching refs:wsz
325 int wsz = state.SADWindowSize, wsz2 = wsz/2; in findStereoCorrespondenceBM_SSE2() local
364 memset( htext - wsz2 - 1, 0, (height + wsz + 1)*sizeof(htext[0]) ); in findStereoCorrespondenceBM_SSE2()
406 const uchar* cbuf_sub = cbuf0 + ((x0 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; in findStereoCorrespondenceBM_SSE2()
407 cbuf = cbuf0 + ((x1 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; in findStereoCorrespondenceBM_SSE2()
575 int wsz = state.SADWindowSize, wsz2 = wsz/2; in findStereoCorrespondenceBM() local
621 memset( htext - wsz2 - 1, 0, (height + wsz + 1)*sizeof(htext[0]) ); in findStereoCorrespondenceBM()
672 const uchar* cbuf_sub = cbuf0 + ((x0 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; in findStereoCorrespondenceBM()
673 cbuf = cbuf0 + ((x1 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; in findStereoCorrespondenceBM()
904 int wsz = state->SADWindowSize; in ocl_stereobm() local
905 int wsz2 = wsz/2; in ocl_stereobm()
915 sizeX, sizeY, wsz); in ocl_stereobm()
1126 int wsz = params.SADWindowSize; in compute() local
1128 bufSize0 += (int)((height+wsz+2)*ndisp*sizeof(int)); in compute()
1129 bufSize0 += (int)((height + wsz + 2)*sizeof(int)); in compute()
1130 bufSize0 += (int)((height+wsz+2)*ndisp*(wsz+2)*sizeof(uchar) + 256); in compute()
1145 …double maxStripeSize = std::min(std::max(N0 / (width * ndisp), (wsz-1) * SAD_overhead_coeff), (dou… in compute()