Home
last modified time | relevance | path

Searched refs:whitey (Results 1 – 18 of 18) sorted by relevance

/external/skia/third_party/libpng/
Dpng.c1234 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
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) ||
Dpngstruct.h88 png_fixed_point whitex, whitey; member
Dpngget.c532 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y"); in png_get_cHRM()
654 *white_y = info_ptr->colorspace.end_points_xy.whitey; in png_get_cHRM_fixed()
Dpngset.c59 xy.whitey = white_y; in png_set_cHRM_fixed()
Dpngrutil.c1260 xy.whitey = png_get_fixed_point(NULL, buf + 4); in png_handle_cHRM()
1269 xy.whitey == PNG_FIXED_ERROR || in png_handle_cHRM()
Dpngwutil.c1325 png_save_int_32(buf + 4, xy->whitey); in png_write_cHRM_fixed()
/external/libpng/
Dpng.c1234 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
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) ||
Dpngstruct.h88 png_fixed_point whitex, whitey; member
Dpngget.c532 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y"); in png_get_cHRM()
654 *white_y = info_ptr->colorspace.end_points_xy.whitey; in png_get_cHRM_fixed()
Dpngset.c59 xy.whitey = white_y; in png_set_cHRM_fixed()
Dpngrutil.c1262 xy.whitey = png_get_fixed_point(NULL, buf + 4); in png_handle_cHRM()
1271 xy.whitey == PNG_FIXED_ERROR || in png_handle_cHRM()
Dpngwutil.c1325 png_save_int_32(buf + 4, xy->whitey); in png_write_cHRM_fixed()
/external/pdfium/third_party/libpng16/
Dpng.c1234 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
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) ||
Dpngstruct.h88 png_fixed_point whitex, whitey; member
Dpngget.c532 info_ptr->colorspace.end_points_xy.whitey, "cHRM white Y"); in png_get_cHRM()
654 *white_y = info_ptr->colorspace.end_points_xy.whitey; in png_get_cHRM_fixed()
Dpngset.c59 xy.whitey = white_y; in png_set_cHRM_fixed()
Dpngrutil.c1260 xy.whitey = png_get_fixed_point(NULL, buf + 4); in png_handle_cHRM()
1269 xy.whitey == PNG_FIXED_ERROR || in png_handle_cHRM()
Dpngwutil.c1325 png_save_int_32(buf + 4, xy->whitey); in png_write_cHRM_fixed()