Lines Matching refs:abs_diff
137 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestAttenuateI() local
139 if (abs_diff > max_diff) { in TestAttenuateI()
140 max_diff = abs_diff; in TestAttenuateI()
210 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestUnattenuateI() local
212 if (abs_diff > max_diff) { in TestUnattenuateI()
213 max_diff = abs_diff; in TestUnattenuateI()
1088 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestBlend() local
1090 if (abs_diff > max_diff) { in TestBlend()
1091 max_diff = abs_diff; in TestBlend()
1433 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestMultiply() local
1435 if (abs_diff > max_diff) { in TestMultiply()
1436 max_diff = abs_diff; in TestMultiply()
1507 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestAdd() local
1509 if (abs_diff > max_diff) { in TestAdd()
1510 max_diff = abs_diff; in TestAdd()
1581 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestSubtract() local
1583 if (abs_diff > max_diff) { in TestSubtract()
1584 max_diff = abs_diff; in TestSubtract()
1654 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestSobel() local
1656 if (abs_diff > max_diff) { in TestSobel()
1657 max_diff = abs_diff; in TestSobel()
1728 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestSobelToPlane() local
1730 if (abs_diff > max_diff) { in TestSobelToPlane()
1731 max_diff = abs_diff; in TestSobelToPlane()
1800 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestSobelXY() local
1802 if (abs_diff > max_diff) { in TestSobelXY()
1803 max_diff = abs_diff; in TestSobelXY()
1876 int abs_diff = abs(static_cast<int>(dst_argb_c[i]) - in TestBlur() local
1878 if (abs_diff > max_diff) { in TestBlur()
1879 max_diff = abs_diff; in TestBlur()
2074 int abs_diff = abs(static_cast<int>(reinterpret_cast<uint16*>(dst_c)[i]) - in TestHalfFloatPlane() local
2076 if (abs_diff > max_diff) { in TestHalfFloatPlane()
2077 max_diff = abs_diff; in TestHalfFloatPlane()
2367 int abs_diff = abs(static_cast<int>(dst_argb_c[i + off]) - in TestARGBRect() local
2369 if (abs_diff > max_diff) { in TestARGBRect()
2370 max_diff = abs_diff; in TestARGBRect()