• Home
  • Raw
  • Download

Lines Matching refs:PNG_FP_1

1050       (png_muldiv(&gtest, colorspace->gamma, PNG_FP_1, gAMA) == 0  ||
1203 if (png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d) == 0)
1205 if (png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d) == 0)
1212 if (png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d) == 0)
1214 if (png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d) == 0)
1221 if (png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d) == 0)
1223 if (png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d) == 0)
1232 if (png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite) == 0)
1234 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
1251 if (xy->redx < 0 || xy->redx > PNG_FP_1) return 1;
1252 if (xy->redy < 0 || xy->redy > PNG_FP_1-xy->redx) return 1;
1253 if (xy->greenx < 0 || xy->greenx > PNG_FP_1) return 1;
1254 if (xy->greeny < 0 || xy->greeny > PNG_FP_1-xy->greenx) return 1;
1255 if (xy->bluex < 0 || xy->bluex > PNG_FP_1) return 1;
1256 if (xy->bluey < 0 || xy->bluey > PNG_FP_1-xy->bluex) return 1;
1257 if (xy->whitex < 0 || xy->whitex > PNG_FP_1) return 1;
1258 if (xy->whitey < 5 || xy->whitey > PNG_FP_1-xy->whitex) return 1;
1479 if (png_muldiv(&XYZ->red_X, xy->redx, PNG_FP_1, red_inverse) == 0)
1481 if (png_muldiv(&XYZ->red_Y, xy->redy, PNG_FP_1, red_inverse) == 0)
1483 if (png_muldiv(&XYZ->red_Z, PNG_FP_1 - xy->redx - xy->redy, PNG_FP_1,
1487 if (png_muldiv(&XYZ->green_X, xy->greenx, PNG_FP_1, green_inverse) == 0)
1489 if (png_muldiv(&XYZ->green_Y, xy->greeny, PNG_FP_1, green_inverse) == 0)
1491 if (png_muldiv(&XYZ->green_Z, PNG_FP_1 - xy->greenx - xy->greeny, PNG_FP_1,
1495 if (png_muldiv(&XYZ->blue_X, xy->bluex, blue_scale, PNG_FP_1) == 0)
1497 if (png_muldiv(&XYZ->blue_Y, xy->bluey, blue_scale, PNG_FP_1) == 0)
1499 if (png_muldiv(&XYZ->blue_Z, PNG_FP_1 - xy->bluex - xy->bluey, blue_scale,
1500 PNG_FP_1) == 0)
1529 if (Y != PNG_FP_1)
1531 if (png_muldiv(&XYZ->red_X, XYZ->red_X, PNG_FP_1, Y) == 0)
1533 if (png_muldiv(&XYZ->red_Y, XYZ->red_Y, PNG_FP_1, Y) == 0)
1535 if (png_muldiv(&XYZ->red_Z, XYZ->red_Z, PNG_FP_1, Y) == 0)
1538 if (png_muldiv(&XYZ->green_X, XYZ->green_X, PNG_FP_1, Y) == 0)
1540 if (png_muldiv(&XYZ->green_Y, XYZ->green_Y, PNG_FP_1, Y) == 0)
1542 if (png_muldiv(&XYZ->green_Z, XYZ->green_Z, PNG_FP_1, Y) == 0)
1545 if (png_muldiv(&XYZ->blue_X, XYZ->blue_X, PNG_FP_1, Y) == 0)
1547 if (png_muldiv(&XYZ->blue_Y, XYZ->blue_Y, PNG_FP_1, Y) == 0)
1549 if (png_muldiv(&XYZ->blue_Z, XYZ->blue_Z, PNG_FP_1, Y) == 0)
3404 return gamma_val < PNG_FP_1 - PNG_GAMMA_THRESHOLD_FIXED ||
3405 gamma_val > PNG_FP_1 + PNG_GAMMA_THRESHOLD_FIXED;
3792 if (png_muldiv(&res, gamma_val, lg2, PNG_FP_1) != 0)
3822 if (png_muldiv(&res, gamma_val, lg2, PNG_FP_1) != 0)
4109 png_ptr->screen_gamma) : PNG_FP_1);
4191 png_ptr->screen_gamma) : PNG_FP_1);
4196 png_ptr->screen_gamma) : PNG_FP_1);