Lines Matching refs:whiteY
1200 png_int_32 d, dwhite, whiteX, whiteY;
1209 whiteY = XYZ->red_Y;
1218 whiteY += XYZ->green_Y;
1227 whiteY += XYZ->blue_Y;
1234 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
1249 * xy->whitey against 5, not 0, to avoid a possible integer overflow.
1258 if (xy->whitey < 5 || xy->whitey > PNG_FP_1-xy->whitex) return 1;
1446 if (png_muldiv(&left, xy->greenx-xy->bluex, xy->whitey-xy->bluey, 7) == 0)
1456 if (png_muldiv(&red_inverse, xy->whitey, denominator, left-right) == 0 ||
1457 red_inverse <= xy->whitey /* r+g+b scales = white scale */)
1463 if (png_muldiv(&right, xy->redx-xy->bluex, xy->whitey-xy->bluey, 7) == 0)
1465 if (png_muldiv(&green_inverse, xy->whitey, denominator, left-right) == 0 ||
1466 green_inverse <= xy->whitey)
1472 blue_scale = png_reciprocal(xy->whitey) - png_reciprocal(red_inverse) -
1561 PNG_OUT_OF_RANGE(xy1->whitey, xy2->whitey,delta) ||