Lines Matching refs:sad

198                 totalSAD += mot_mb[0].sad;
295 fprintf(fp_debug, "#%d (%d,%d,%d) : ", mbnum, mot_mb[0].x, mot_mb[0].y, mot_mb[0].sad);
297 mot_mb[1].x, mot_mb[1].y, mot_mb[1].sad,
298 mot_mb[2].x, mot_mb[2].y, mot_mb[2].sad,
299 mot_mb[3].x, mot_mb[3].y, mot_mb[3].sad,
300 mot_mb[4].x, mot_mb[4].y, mot_mb[4].sad);
303 sad16 = mot_mb[0].sad;
307 sad8 = mot_mb[1].sad + mot_mb[2].sad + mot_mb[3].sad + mot_mb[4].sad;
350 fprintf(fp_debug, "(%d,%d), %d\n", mot_mb[0].x, mot_mb[0].y, mot_mb[0].sad);
353 skip_halfpel_4mv = ((sad16 - mot_mb[0].sad) <= (MB_Nb >> 1) + 1);
354 sad16 = mot_mb[0].sad;
366 mot_mb[1].x, mot_mb[1].y, mot_mb[1].sad,
367 mot_mb[2].x, mot_mb[2].y, mot_mb[2].sad,
368 mot_mb[3].x, mot_mb[3].y, mot_mb[3].sad,
369 mot_mb[4].x, mot_mb[4].y, mot_mb[4].sad);
385 #if (ZERO_MV_PREF==2) /* use mot_mb[7].sad as d0 computed in MBMotionSearch*/
387 if (mot_mb[7].sad - PREF_NULL_VEC < sad16 && mot_mb[7].sad - PREF_NULL_VEC < sad8)
389 mot_mb[0].sad = mot_mb[7].sad - PREF_NULL_VEC;
398 mot_mb[0].sad += PREF_NULL_VEC; /* add back the bias */
400 mot_mb[1].sad = mot_mb[2].sad = mot_mb[3].sad = mot_mb[4].sad = (mot_mb[0].sad + 2) >> 2;
416 totalSAD += mot_mb[0].sad;
453 totalSAD += mot_mb[0].sad;
486 totalSAD += mot_mb[0].sad;
851 mot[mbnum][0].sad = dmin;
929 mot[mbnum][7].sad = dmin = (*SAD_Macroblock)(ncand, cur, (65535 << 16) | lx, extra_info);
1025 mot[mbnum][0].sad = dmin;
1077 mot[mbnum][comp+1].sad = dmin;
1149 mot[mbnum][comp+1].sad = dmin;
1160 mot[mbnum][1].sad = mot[mbnum][2].sad = mot[mbnum][3].sad = mot[mbnum][4].sad = (dmin + 2) >> 2;