Searched refs:vsum (Results 1 – 6 of 6) sorted by relevance
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | variance_sse2.c | 23 __m128i vsum = _mm_setzero_si128(); in vpx_get_mb_ss_sse2() local 28 vsum = _mm_add_epi32(vsum, _mm_madd_epi16(v, v)); in vpx_get_mb_ss_sse2() 32 vsum = _mm_add_epi32(vsum, _mm_srli_si128(vsum, 8)); in vpx_get_mb_ss_sse2() 33 vsum = _mm_add_epi32(vsum, _mm_srli_si128(vsum, 4)); in vpx_get_mb_ss_sse2() 34 return _mm_cvtsi128_si32(vsum); in vpx_get_mb_ss_sse2() 53 __m128i vsum = _mm_add_epi16(diff0, diff1); in get4x4var_sse2() local 54 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 8)); in get4x4var_sse2() 55 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 4)); in get4x4var_sse2() 56 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 2)); in get4x4var_sse2() 57 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in get4x4var_sse2() [all …]
|
/external/webrtc/webrtc/modules/video_processing/util/ |
D | denoiser_filter_sse2.cc | 24 __m128i vsum = _mm_setzero_si128(); in Get8x8varSse2() local 40 vsum = _mm_add_epi16(vsum, diff0); in Get8x8varSse2() 41 vsum = _mm_add_epi16(vsum, diff1); in Get8x8varSse2() 47 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 8)); in Get8x8varSse2() 48 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 4)); in Get8x8varSse2() 49 vsum = _mm_add_epi16(vsum, _mm_srli_si128(vsum, 2)); in Get8x8varSse2() 50 *sum = static_cast<int16_t>(_mm_extract_epi16(vsum, 0)); in Get8x8varSse2()
|
/external/opencv3/modules/video/src/ |
D | optflowgf.cpp | 325 double* vsum = _vsum + (m+1)*5; in FarnebackUpdateFlow_Blur() local 330 vsum[x] = srow0[x]*(m+2); in FarnebackUpdateFlow_Blur() 336 vsum[x] += srow0[x]; in FarnebackUpdateFlow_Blur() 350 vsum[x] += srow1[x] - srow0[x]; in FarnebackUpdateFlow_Blur() 355 vsum[-1-x] = vsum[4-x]; in FarnebackUpdateFlow_Blur() 356 vsum[width*5+x] = vsum[width*5+x-5]; in FarnebackUpdateFlow_Blur() 360 g11 = vsum[0]*(m+2); in FarnebackUpdateFlow_Blur() 361 g12 = vsum[1]*(m+2); in FarnebackUpdateFlow_Blur() 362 g22 = vsum[2]*(m+2); in FarnebackUpdateFlow_Blur() 363 h1 = vsum[3]*(m+2); in FarnebackUpdateFlow_Blur() [all …]
|
/external/libmpeg2/common/x86/ |
D | icv_variance_ssse3.c | 94 __m128i vsum, vsum_sqr; in icv_variance_8x4_ssse3() local 128 vsum = _mm_add_epi64(sum_r0, sum_r1); in icv_variance_8x4_ssse3() 129 vsum = _mm_add_epi64(vsum, _mm_srli_si128(vsum, 8)); in icv_variance_8x4_ssse3() 131 sum = _mm_cvtsi128_si32(vsum); in icv_variance_8x4_ssse3()
|
/external/opencv/cv/src/ |
D | cvstereobm.cpp | 111 int* vsum = (int*)cvAlignPtr(buf + (wsz2 + 1)*sizeof(vsum[0]), 32); in icvPrefilter() local 125 vsum[x] = (ushort)(sptr[x]*(wsz2 + 2)); in icvPrefilter() 130 vsum[x] = (ushort)(vsum[x] + sptr[srcstep*y + x]); in icvPrefilter() 144 vsum[x] = (ushort)(vsum[x] + bottom[x] - top[x]); in icvPrefilter() 148 vsum[-x-1] = vsum[0]; in icvPrefilter() 149 vsum[size.width+x] = vsum[size.width-1]; in icvPrefilter() 152 int sum = vsum[0]*(wsz2 + 1); in icvPrefilter() 154 sum += vsum[x]; in icvPrefilter() 161 sum += vsum[x+wsz2] - vsum[x-wsz2-1]; in icvPrefilter() 166 sum += vsum[x+wsz2] - vsum[x-wsz2-1]; in icvPrefilter()
|
/external/opencv3/modules/calib3d/src/ |
D | stereobm.cpp | 113 int* vsum = (int*)alignPtr(buf + (wsz2 + 1)*sizeof(vsum[0]), 32); in prefilterNorm() local 127 vsum[x] = (ushort)(sptr[x]*(wsz2 + 2)); in prefilterNorm() 132 vsum[x] = (ushort)(vsum[x] + sptr[srcstep*y + x]); in prefilterNorm() 145 vsum[x] = (ushort)(vsum[x] + bottom[x] - top[x]); in prefilterNorm() 149 vsum[-x-1] = vsum[0]; in prefilterNorm() 150 vsum[size.width+x] = vsum[size.width-1]; in prefilterNorm() 153 int sum = vsum[0]*(wsz2 + 1); in prefilterNorm() 155 sum += vsum[x]; in prefilterNorm() 162 sum += vsum[x+wsz2] - vsum[x-wsz2-1]; in prefilterNorm() 167 sum += vsum[x+wsz2] - vsum[x-wsz2-1]; in prefilterNorm()
|