/external/libavc/encoder/arm/ |
H A D | ih264e_evaluate_intra_chroma_modes_a9q.s | 28 @* 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 D | icv_sad.c | 96 WORD32 sad; local 105 sad = 0; 117 sad += ABS_DIF(src, ref); 123 return sad;
|
H A D | ideint.c | 282 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 D | icv_sad_ssse3.c | 97 WORD32 sad; local 142 sad = _mm_cvtsi128_si32(res_r0); 144 return sad;
|
/external/libvpx/libvpx/vpx_dsp/ |
H A D | sad.c | 20 static INLINE unsigned int sad(const uint8_t *a, int a_stride, function 24 unsigned int sad = 0; local 28 sad += abs(a[x] - b[x]); 33 return sad; 80 return sad(src, src_stride, ref, ref_stride, m, n); \ 87 return sad(src, src_stride, comp_pred, m, m, n); \ 184 unsigned int sad = 0; local 189 sad += abs(a[x] - b[x]); 194 return sad; 201 unsigned int sad local [all...] |
/external/libavc/encoder/ |
H A D | ime_distortion_metrics.c | 104 * 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 D | mfqe.c | 150 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local 158 sad = (sse + 128)>>8; 164 sad = (vpx_sad16x16(y, y_stride, yd, yd_stride) + 128) >> 8; 175 sad = (sse + 32)>>6; 181 sad = (vpx_sad8x8(y, y_stride, yd, yd_stride) + 32) >> 6; 196 if (sad < thrsq && 201 if (sad < thr && 210 sad = int_sqrt(sad); 212 ifactor = (sad << MFQE_PRECISIO [all...] |
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_mfqe.c | 168 int sad, sad_thr, vdiff, vdiff_thr; local 175 sad = (vpx_sad16x16(y, y_stride, yd, yd_stride) + 128) >> 8; 178 sad = (vpx_sad32x32(y, y_stride, yd, yd_stride) + 512) >> 10; 181 sad = (vpx_sad64x64(y, y_stride, yd, yd_stride) + 2048) >> 12; 184 // vdiff > sad * 3 means vdiff should not be too small, otherwise, 187 if (sad > 1 && vdiff > sad * 3) { 189 int ifactor = weight * sad * vdiff / (sad_thr * vdiff_thr);
|
/external/libavc/encoder/x86/ |
H A D | ih264e_intra_modes_eval_ssse3.c | 125 * 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/ppp/pppd/ |
H A D | tty.c | 879 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/libvpx/libvpx/vpx_dsp/mips/ |
H A D | sad_msa.c | 30 v8u16 sad = { 0 }; local 42 sad += __msa_hadd_u_h(diff, diff); 45 return HADD_UH_U32(sad); 53 v8u16 sad = { 0 }; local 63 sad += SAD_UB2_UH(src0, src1, ref0, ref1); 66 return HADD_UH_U32(sad); 74 v8u16 sad = { 0 }; local 81 sad += SAD_UB2_UH(src0, src1, ref0, ref1); 87 sad += SAD_UB2_UH(src0, src1, ref0, ref1); 90 return HADD_UH_U32(sad); 98 v8u16 sad = { 0 }; local 133 uint32_t sad = 0; local 339 v4u32 sad; local 696 v4u32 sad; local 1081 v8u16 sad = { 0 }; local 1108 v8u16 sad = { 0 }; local 1132 v8u16 sad = { 0 }; local 1169 v8u16 sad = { 0 }; local 1207 v4u32 sad; local [all...] |
/external/opencv/cv/src/ |
H A D | cvstereobm.cpp | 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); 342 minsad = sad[min 403 int *sad, *hsad0, *hsad, *hsad_sub, *htext; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_mcomp.c | 824 // Calculate and return a sad+mvcost list around an integer best pel. 1036 // Returns the one-away integer pel sad values around the best as follows: 1293 // Returns the one-away integer pel sad values around the best as follows: 1294 // cost_list[0]: sad at the best integer pel 1295 // cost_list[1]: sad at delta {0, -1} (left) from the best integer pel 1296 // cost_list[2]: sad at delta { 1, 0} (bottom) from the best integer pel 1297 // cost_list[3]: sad at delta { 0, 1} (right) from the best integer pel 1298 // cost_list[4]: sad at delta {-1, 0} (top) from the best integer pel 1570 const unsigned int sad = sads[i] + local 1572 if (sad < best_sa 1581 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 2037 const int sad = fn_ptr->sdf(what->buf, what->stride, local 2080 unsigned int sad = sads[i]; local 2096 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 2145 unsigned int sad = sads[i]; local 2169 unsigned int sad = sads[i]; local 2185 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 2254 unsigned int sad = fn_ptr->sdf(what->buf, what->stride, local 2307 unsigned int sad = fn_ptr->sdaf(what->buf, what->stride, local [all...] |
/external/libvpx/libvpx/test/ |
H A D | sad_test.cc | 130 unsigned int sad = 0; local 141 sad += abs(source8[h * source_stride_ + w] - 145 sad += abs(source16[h * source_stride_ + w] - 151 return sad; 158 unsigned int sad = 0; local 174 sad += abs(source8[h * source_stride_ + w] - comp_pred); 180 sad += abs(source16[h * source_stride_ + w] - comp_pred); 185 return sad;
|