Lines Matching refs:__m128i
207 const __m128i d0_8 = _mm_setr_epi16(0,1,2,3,4,5,6,7), dd_8 = _mm_set1_epi16(8); in icvFindStereoCorrespondenceBM_SSE2()
264 __m128i lv = _mm_set1_epi8((char)lval), z = _mm_setzero_si128(); in icvFindStereoCorrespondenceBM_SSE2()
267 __m128i rv = _mm_loadu_si128((const __m128i*)(rptr + d)); 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()
270 __m128i cbs = _mm_load_si128((const __m128i*)(cbuf_sub + d)); in icvFindStereoCorrespondenceBM_SSE2()
271 __m128i diff = _mm_adds_epu8(_mm_subs_epu8(lv, rv), _mm_subs_epu8(rv, lv)); in icvFindStereoCorrespondenceBM_SSE2()
272 … __m128i diff_h = _mm_sub_epi16(_mm_unpackhi_epi8(diff, z), _mm_unpackhi_epi8(cbs, z)); in icvFindStereoCorrespondenceBM_SSE2()
273 _mm_store_si128((__m128i*)(cbuf + d), diff); 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()
307 __m128i minsad8 = _mm_set1_epi16(SHRT_MAX); in icvFindStereoCorrespondenceBM_SSE2()
308 __m128i mind8 = _mm_set1_epi16(-1), d8 = d0_8, mask; in icvFindStereoCorrespondenceBM_SSE2()
312 __m128i v0 = _mm_load_si128((__m128i*)(hsad_sub + d)); in icvFindStereoCorrespondenceBM_SSE2()
313 __m128i v1 = _mm_load_si128((__m128i*)(hsad + d)); in icvFindStereoCorrespondenceBM_SSE2()
314 __m128i sad8 = _mm_load_si128((__m128i*)(sad + d)); in icvFindStereoCorrespondenceBM_SSE2()
319 _mm_store_si128((__m128i*)(sad + d), sad8); in icvFindStereoCorrespondenceBM_SSE2()
325 __m128i minsad82 = _mm_unpackhi_epi64(minsad8, minsad8); in icvFindStereoCorrespondenceBM_SSE2()
326 __m128i mind82 = _mm_unpackhi_epi64(mind8, mind8); in icvFindStereoCorrespondenceBM_SSE2()
353 __m128i thresh8 = _mm_set1_epi16((short)(thresh + 1)); in icvFindStereoCorrespondenceBM_SSE2()
354 __m128i d1 = _mm_set1_epi16((short)(mind-1)), d2 = _mm_set1_epi16((short)(mind+1)); in icvFindStereoCorrespondenceBM_SSE2()
355 __m128i d8 = d0_8; in icvFindStereoCorrespondenceBM_SSE2()
359 __m128i sad8 = _mm_load_si128((__m128i*)(sad + d)); in icvFindStereoCorrespondenceBM_SSE2()
360 __m128i mask = _mm_cmpgt_epi16( thresh8, sad8 ); in icvFindStereoCorrespondenceBM_SSE2()