Searched defs:sad (Results 1 - 17 of 17) sorted by relevance

/external/libavc/encoder/arm/
H A Dih264e_evaluate_intra_chroma_modes_a9q.s28 @* This function evaluates first three intra chroma modes and compute corresponding sad
53 @* Pointer to the variable in which minimum sad is returned
126 b sad
139 b sad
147 b sad
157 sad: label
/external/libmpeg2/common/
H A Dicv_sad.c96 WORD32 sad; local
105 sad = 0;
117 sad += ABS_DIF(src, ref);
123 return sad;
H A Dideint.c282 WORD32 cac, sad, vrnc; local
288 sad = 0;
324 sad = ps_ctxt->pf_sad_8x4(pu1_prv, pu1_bot, cur_strd, local
341 if((sad * th_den) <= th_num)
371 if(disable_cac_sad || cac || (sad * th_den > th_num))
/external/libmpeg2/common/x86/
H A Dicv_sad_ssse3.c97 WORD32 sad; local
142 sad = _mm_cvtsi128_si32(res_r0);
144 return sad;
/external/webrtc/webrtc/modules/desktop_capture/
H A Ddiffer_block_sse2.cc30 __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
70 __m128i sad; local
[all...]
/external/webrtc/webrtc/modules/video_processing/util/
H A Ddenoiser_filter.h27 uint32_t sad; member in struct:webrtc::DenoiseMetrics
/external/libvpx/libvpx/vpx_dsp/
H A Dsad.c20 static INLINE unsigned int sad(const uint8_t *a, int a_stride, const uint8_t *b, function
23 unsigned int sad = 0; local
26 for (x = 0; x < width; x++) sad += abs(a[x] - b[x]);
31 return sad;
37 return sad(src, src_stride, ref, ref_stride, m, n); \
44 return sad(src, src_stride, comp_pred, m, m, n); \
139 unsigned int sad = 0; local
143 for (x = 0; x < width; x++) sad += abs(a[x] - b[x]);
148 return sad;
155 unsigned int sad local
[all...]
/external/libvpx/libvpx/vpx_dsp/mips/
H A Dsad_mmi.c363 unsigned int sad; local
379 "mfc1 %[sad], %[ftmp5] \n\t"
382 [src]"+&r"(src), [ref]"+&r"(ref), [sad]"=&r"(sad)
387 return sad;
405 unsigned int sad; local
423 "mfc1 %[sad], %[ftmp5] \n\t"
428 [sad]"=&r"(sad)
433 return sad;
449 unsigned int sad; local
493 unsigned int sad; local
538 unsigned int sad; local
586 unsigned int sad; local
631 unsigned int sad; local
679 unsigned int sad; local
723 unsigned int sad; local
767 unsigned int sad; local
[all...]
H A Dsad_msa.c31 v8u16 sad = { 0 }; local
43 sad += __msa_hadd_u_h(diff, diff);
46 return HADD_UH_U32(sad);
54 v8u16 sad = { 0 }; local
64 sad += SAD_UB2_UH(src0, src1, ref0, ref1);
67 return HADD_UH_U32(sad);
75 v8u16 sad = { 0 }; local
82 sad += SAD_UB2_UH(src0, src1, ref0, ref1);
88 sad += SAD_UB2_UH(src0, src1, ref0, ref1);
91 return HADD_UH_U32(sad);
99 v8u16 sad = { 0 }; local
134 uint32_t sad = 0; local
773 v4u32 sad; local
830 v8u16 sad = { 0 }; local
857 v8u16 sad = { 0 }; local
881 v8u16 sad = { 0 }; local
918 v8u16 sad = { 0 }; local
956 v4u32 sad; local
[all...]
/external/libavc/encoder/
H A Dime_distortion_metrics.c104 * integer evaluated sad
188 * @brief compute sad
190 * @par Description: This function computes the sad at vertices of diamond grid
206 * pointer to integer array evaluated sad
208 * @returns sad at all evaluated vertexes
269 * @brief compute sad
271 * @par Description: This function computes the sad at vertices of diamond grid
287 * pointer to integer array evaluated sad
289 * @returns sad at all evaluated vertexes
353 * @brief compute sad
917 UWORD32 sad = 0; local
1035 WORD32 sad =0; local
1171 WORD16 s1[4],s2[4],s3[4],s4[4],sad[4]; local
[all...]
/external/libvpx/libvpx/vp8/common/
H A Dmfqe.c121 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local
128 sad = (sse + 128) >> 8;
134 sad = (vpx_sad16x16(y, y_stride, yd, yd_stride) + 128) >> 8;
143 sad = (sse + 32) >> 6;
149 sad = (vpx_sad8x8(y, y_stride, yd, yd_stride) + 32) >> 6;
164 if (sad < thrsq &&
169 if (sad < thr &&
178 sad = int_sqrt(sad);
180 ifactor = (sad << MFQE_PRECISIO
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_mfqe.c163 int sad, sad_thr, vdiff, vdiff_thr; local
170 sad = (vpx_sad16x16(y, y_stride, yd, yd_stride) + 128) >> 8;
173 sad = (vpx_sad32x32(y, y_stride, yd, yd_stride) + 512) >> 10;
176 sad = (vpx_sad64x64(y, y_stride, yd, yd_stride) + 2048) >> 12;
179 // vdiff > sad * 3 means vdiff should not be too small, otherwise,
182 if (sad > 1 && vdiff > sad * 3) {
184 int ifactor = weight * sad * vdiff / (sad_thr * vdiff_thr);
/external/libavc/encoder/x86/
H A Dih264e_intra_modes_eval_ssse3.c125 * pointer to the variable in which minimum sad is returned
433 * This function evaluates intra 4x4 modes, computes corresponding sad
486 WORD32 sad[MAX_I4x4] = { INT_MAX, INT_MAX, INT_MAX, INT_MAX, INT_MAX, local
532 sad[VERT_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4);
533 cost[VERT_I4x4] = sad[VERT_I4x4] + ((u4_predictd_mode == VERT_I4x4) ? u4_lambda: lambda4);
543 sad[HORZ_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4);
544 cost[HORZ_I4x4] = sad[HORZ_I4x4] + ((u4_predictd_mode == HORZ_I4x4) ? u4_lambda: lambda4);
581 sad[DC_I4x4] = _mm_extract_epi16(sad_8x16b, 0) + _mm_extract_epi16(sad_8x16b, 4);
582 cost[DC_I4x4] = sad[DC_I4x4] + ((u4_predictd_mode == DC_I4x4) ? u4_lambda: lambda4);
636 sad[DIAG_DL_I4x
[all...]
/external/libvpx/libvpx/test/
H A Dsad_test.cc128 uint32_t sad = 0; local
139 sad += abs(source8[h * source_stride_ + w] -
143 sad += abs(source16[h * source_stride_ + w] -
149 return sad;
156 unsigned int sad = 0; local
172 sad += abs(source8[h * source_stride_ + w] - comp_pred);
178 sad += abs(source16[h * source_stride_ + w] - comp_pred);
183 return sad;
/external/ppp/pppd/
H A Dtty.c879 struct sockaddr_in sad; local
908 memset(&sad, 0, sizeof(sad));
909 sad.sin_family = AF_INET;
910 sad.sin_port = htons(port);
911 sad.sin_addr.s_addr = host;
912 if (connect(sock, (struct sockaddr *)&sad, sizeof(sad)) < 0) {
/external/opencv/cv/src/
H A Dcvstereobm.cpp195 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);
342 minsad = sad[min
403 int *sad, *hsad0, *hsad, *hsad_sub, *htext; local
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_mcomp.c813 // Calculate and return a sad+mvcost list around an integer best pel.
1014 // Returns the one-away integer pel sad values around the best as follows:
1265 // Returns the one-away integer pel sad values around the best as follows:
1266 // cost_list[0]: sad at the best integer pel
1267 // cost_list[1]: sad at delta {0, -1} (left) from the best integer pel
1268 // cost_list[2]: sad at delta { 1, 0} (bottom) from the best integer pel
1269 // cost_list[3]: sad at delta { 0, 1} (right) from the best integer pel
1270 // cost_list[4]: sad at delta {-1, 0} (top) from the best integer pel
1525 unsigned int sad = local
1528 if (sad < best_sa
1549 const unsigned int sad = local
1560 unsigned int sad = local
2092 unsigned int sad = local
2147 unsigned int sad = local
[all...]

Completed in 414 milliseconds