/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
differ_block_sse2.cc | 30 __m128i sad; local 36 sad = _mm_sad_epu8(v0, v1); 37 acc = _mm_adds_epu16(acc, sad); 40 sad = _mm_sad_epu8(v0, v1); 41 acc = _mm_adds_epu16(acc, sad); 44 sad = _mm_sad_epu8(v0, v1); 45 acc = _mm_adds_epu16(acc, sad); 48 sad = _mm_sad_epu8(v0, v1); 49 acc = _mm_adds_epu16(acc, sad); 51 // This essential means sad = acc >> 64. We only care about the lower 1 70 __m128i sad; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_sad.c | 22 static INLINE unsigned int sad(const uint8_t *a, int a_stride, function 26 unsigned int sad = 0; local 30 sad += abs(a[x] - b[x]); 36 return sad; 42 return sad(src, src_stride, ref, ref_stride, m, n); \ 49 return sad(src, src_stride, comp_pred, m, m, n); \ 143 unsigned int sad = 0; local 148 sad += abs(a[x] - b[x]); 153 return sad; 160 unsigned int sad = 0 local [all...] |
vp9_mcomp.c | 648 // Returns the one-away integer pel sad values around the best as follows: 649 // sad_list[0]: sad at the best integer pel 650 // sad_list[1]: sad at delta {0, -1} (left) from the best integer pel 651 // sad_list[2]: sad at delta { 1, 0} (bottom) from the best integer pel 652 // sad_list[3]: sad at delta { 0, 1} (right) from the best integer pel 653 // sad_list[4]: sad at delta {-1, 0} (top) from the best integer pel 1208 const unsigned int sad = sads[i] + local 1219 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 1461 const int sad = fn_ptr->sdf(what->buf, what->stride, local 1504 unsigned int sad = sads[i]; local 1520 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 1569 unsigned int sad = sads[i]; local 1593 unsigned int sad = sads[i]; local 1609 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 1678 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 1731 unsigned int sad = fn_ptr->sdaf(what->buf, what->stride, local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
sad_c.c | 22 unsigned int sad = 0; local 28 sad += abs(src_ptr[c] - ref_ptr[c]); 31 if (sad > max_sad) 38 return sad;
|
mfqe.c | 149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local 156 sad = (vp8_variance16x16(y, y_stride, yd, yd_stride, &sse)); 157 sad = (sse + 128)>>8; 163 sad = (vp8_sad16x16(y, y_stride, yd, yd_stride, UINT_MAX) + 128) >> 8; 173 sad = (vp8_variance8x8(y, y_stride, yd, yd_stride, &sse)); 174 sad = (sse + 32)>>6; 180 sad = (vp8_sad8x8(y, y_stride, yd, yd_stride, UINT_MAX) + 32) >> 6; 195 if (sad < thrsq && 200 if (sad < thr && 209 sad = int_sqrt(sad) [all...] |
/external/libvpx/libvpx/vp8/common/ |
sad_c.c | 22 unsigned int sad = 0; local 28 sad += abs(src_ptr[c] - ref_ptr[c]); 31 if (sad > max_sad) 38 return sad;
|
mfqe.c | 149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local 156 sad = (vp8_variance16x16(y, y_stride, yd, yd_stride, &sse)); 157 sad = (sse + 128)>>8; 163 sad = (vp8_sad16x16(y, y_stride, yd, yd_stride, UINT_MAX) + 128) >> 8; 173 sad = (vp8_variance8x8(y, y_stride, yd, yd_stride, &sse)); 174 sad = (sse + 32)>>6; 180 sad = (vp8_sad8x8(y, y_stride, yd, yd_stride, UINT_MAX) + 32) >> 6; 195 if (sad < thrsq && 200 if (sad < thr && 209 sad = int_sqrt(sad) [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_sad.c | 19 static INLINE unsigned int sad(const uint8_t *a, int a_stride, function 23 unsigned int sad = 0; local 27 sad += abs(a[x] - b[x]); 33 return sad; 40 return sad(src_ptr, src_stride, ref_ptr, ref_stride, m, n); \ 48 return sad(src_ptr, src_stride, comp_pred, m, m, n); \
|
vp9_mcomp.c | 1019 int sad = fn_ptr->sdf(what->buf, what->stride, local 1045 int sad = fn_ptr->sdf(what->buf, what->stride, local 1310 const int sad = fn_ptr->sdf(what->buf, what->stride, local 1562 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 1641 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 1700 unsigned int sad = fn_ptr->sdaf(what->buf, what->stride, local [all...] |
/external/opencv/cv/src/ |
cvstereobm.cpp | 43 * Very fast SAD-based (Sum-of-Absolute-Diffrences) stereo correspondence algorithm. * 195 ushort *sad, *hsad0, *hsad, *hsad_sub; local 209 sad = (ushort*)cvAlignPtr(buf + sizeof(sad[0])); 210 hsad0 = (ushort*)cvAlignPtr(sad + ndisp + 1 + dy0*ndisp); 291 sad[d] = (ushort)(hsad0[d-ndisp*dy0]*(wsz2 + 2 - dy0)); 296 sad[d] = (ushort)(sad[d] + hsad[d]); 314 __m128i sad8 = _mm_load_si128((__m128i*)(sad + d)); 319 _mm_store_si128((__m128i*)(sad + d), sad8) 403 int *sad, *hsad0, *hsad, *hsad_sub, *htext; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
sad_test.cc | 99 unsigned int sad = 0; local 104 sad += abs(source_data_[h * source_stride_ + w] 107 if (sad > max_sad) { 111 return sad; 175 unsigned int SAD(unsigned int max_sad, int block_idx) { 187 const unsigned int exp_sad = SAD(max_sad, 0); 207 unsigned int SAD(int block_idx) { 218 const unsigned int exp_sad = SAD(0);
|
/external/libvpx/libvpx/test/ |
sad_test.cc | 91 unsigned int sad = 0; local 96 sad += abs(source_data_[h * source_stride_ + w] 99 if (sad > max_sad) { 103 return sad; 137 unsigned int SAD(unsigned int max_sad, int block_idx = 0) { 151 exp_sad = SAD(max_sad);
|