Home
last modified time | relevance | path

Searched refs:hsad (Results 1 – 2 of 2) sorted by relevance

/external/opencv/cv/src/
Dcvstereobm.cpp195 ushort *sad, *hsad0, *hsad, *hsad_sub; in icvFindStereoCorrespondenceBM_SSE2() local
223 hsad = hsad0 - dy0*ndisp; cbuf = cbuf0 + (x + wsz2 + 1)*cstep - dy0*ndisp; in icvFindStereoCorrespondenceBM_SSE2()
227 … for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) in icvFindStereoCorrespondenceBM_SSE2()
234 hsad[d] = (ushort)(hsad[d] + diff); in icvFindStereoCorrespondenceBM_SSE2()
255 hsad = hsad0 - dy0*ndisp; in icvFindStereoCorrespondenceBM_SSE2()
261 hsad += ndisp, lptr += sstep, lptr_sub += sstep, rptr += sstep ) in icvFindStereoCorrespondenceBM_SSE2()
268 __m128i hsad_l = _mm_load_si128((__m128i*)(hsad + d)); in icvFindStereoCorrespondenceBM_SSE2()
269 __m128i hsad_h = _mm_load_si128((__m128i*)(hsad + d + 8)); in icvFindStereoCorrespondenceBM_SSE2()
277 _mm_store_si128((__m128i*)(hsad + d), hsad_l); in icvFindStereoCorrespondenceBM_SSE2()
278 _mm_store_si128((__m128i*)(hsad + d + 8), hsad_h); in icvFindStereoCorrespondenceBM_SSE2()
[all …]
/external/opencv3/modules/calib3d/src/
Dstereobm.cpp338 ushort *sad, *hsad0, *hsad, *hsad_sub; in findStereoCorrespondenceBM_SSE2() local
368 hsad = hsad0 - dy0*ndisp; cbuf = cbuf0 + (x + wsz2 + 1)*cstep - dy0*ndisp; in findStereoCorrespondenceBM_SSE2()
372 … for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep ) in findStereoCorrespondenceBM_SSE2()
379 __m128i hsad_l = _mm_load_si128((__m128i*)(hsad + d)); in findStereoCorrespondenceBM_SSE2()
380 __m128i hsad_h = _mm_load_si128((__m128i*)(hsad + d + 8)); in findStereoCorrespondenceBM_SSE2()
385 _mm_store_si128((__m128i*)(hsad + d), hsad_l); in findStereoCorrespondenceBM_SSE2()
386 _mm_store_si128((__m128i*)(hsad + d + 8), hsad_h); in findStereoCorrespondenceBM_SSE2()
408 hsad = hsad0 - dy0*ndisp; in findStereoCorrespondenceBM_SSE2()
414 hsad += ndisp, lptr += sstep, lptr_sub += sstep, rptr += sstep ) in findStereoCorrespondenceBM_SSE2()
421 __m128i hsad_l = _mm_load_si128((__m128i*)(hsad + d)); in findStereoCorrespondenceBM_SSE2()
[all …]