Lines Matching refs:abs_diff
370 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_c() local
373 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c()
374 l_mad = abs_diff; in VAACalcSadSsdBgd_c()
376 l_sad += abs_diff; in VAACalcSadSsdBgd_c()
377 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_c()
399 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_c() local
402 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c()
403 l_mad = abs_diff; in VAACalcSadSsdBgd_c()
405 l_sad += abs_diff; in VAACalcSadSsdBgd_c()
406 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_c()
427 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_c() local
430 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c()
431 l_mad = abs_diff; in VAACalcSadSsdBgd_c()
433 l_sad += abs_diff; in VAACalcSadSsdBgd_c()
434 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_c()
455 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadSsdBgd_c() local
458 if (abs_diff > l_mad) { in VAACalcSadSsdBgd_c()
459 l_mad = abs_diff; in VAACalcSadSsdBgd_c()
461 l_sad += abs_diff; in VAACalcSadSsdBgd_c()
462 l_sqdiff += abs_diff * abs_diff; in VAACalcSadSsdBgd_c()
511 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadBgd_c() local
513 l_sad += abs_diff; in VAACalcSadBgd_c()
514 if (abs_diff > l_mad) { in VAACalcSadBgd_c()
515 l_mad = abs_diff; in VAACalcSadBgd_c()
532 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadBgd_c() local
534 l_sad += abs_diff; in VAACalcSadBgd_c()
535 if (abs_diff > l_mad) { in VAACalcSadBgd_c()
536 l_mad = abs_diff; in VAACalcSadBgd_c()
553 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadBgd_c() local
555 l_sad += abs_diff; in VAACalcSadBgd_c()
556 if (abs_diff > l_mad) { in VAACalcSadBgd_c()
557 l_mad = abs_diff; in VAACalcSadBgd_c()
574 int32_t abs_diff = WELS_ABS (diff); in VAACalcSadBgd_c() local
576 l_sad += abs_diff; in VAACalcSadBgd_c()
577 if (abs_diff > l_mad) { in VAACalcSadBgd_c()
578 l_mad = abs_diff; in VAACalcSadBgd_c()