Home
last modified time | relevance | path

Searched refs:PNG_FP_1 (Results 1 – 21 of 21) sorted by relevance

/external/skia/third_party/libpng/
Dpng.c1050 (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;
[all …]
Dpngrtran.c220 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
237 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
260 output_gamma *= PNG_FP_1; in convert_gamma_value()
334 output_gamma = PNG_FP_1; in png_set_alpha_mode_fixed()
999 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1088 return !png_muldiv(&gtest, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold()
1329 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations()
1617 gs = PNG_FP_1; in png_init_read_transformations()
1632 g = PNG_FP_1; /* back_1 */ in png_init_read_transformations()
1633 gs = PNG_FP_1; /* back */ in png_init_read_transformations()
[all …]
Dpng.h692 #define PNG_FP_1 100000 macro
1185 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
Dpngget.c222 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1, in png_get_pixel_aspect_ratio_fixed()
Dpngread.c1364 if (g < PNG_FP_1) in png_gamma_not_sRGB()
3756 PNG_FP_1) != 0 && png_gamma_significant(gtest) == 0) in png_image_read_direct()
Dlibpng-manual.txt165 macro PNG_FP_1 is defined in png.h along with a type (png_fixed_point)
723 png_set_gamma_fixed(png_ptr, PNG_FP_1*screen_gamma,
724 PNG_FP_1*output_gamma);
/external/libpng/
Dpng.c1050 (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;
[all …]
Dpngrtran.c220 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
237 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
260 output_gamma *= PNG_FP_1; in convert_gamma_value()
334 output_gamma = PNG_FP_1; in png_set_alpha_mode_fixed()
999 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1088 return !png_muldiv(&gtest, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold()
1329 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations()
1617 gs = PNG_FP_1; in png_init_read_transformations()
1632 g = PNG_FP_1; /* back_1 */ in png_init_read_transformations()
1633 gs = PNG_FP_1; /* back */ in png_init_read_transformations()
[all …]
Dpng.h692 #define PNG_FP_1 100000 macro
1185 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
Dpngget.c222 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1, in png_get_pixel_aspect_ratio_fixed()
Dpngread.c1373 if (g < PNG_FP_1) in png_gamma_not_sRGB()
3764 PNG_FP_1) != 0 && png_gamma_significant(gtest) == 0) in png_image_read_direct()
Dlibpng-manual.txt165 macro PNG_FP_1 is defined in png.h along with a type (png_fixed_point)
723 png_set_gamma_fixed(png_ptr, PNG_FP_1*screen_gamma,
724 PNG_FP_1*output_gamma);
/external/pdfium/third_party/libpng16/
Dpng.c1050 (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;
[all …]
Dpngrtran.c220 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
237 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
260 output_gamma *= PNG_FP_1; in convert_gamma_value()
334 output_gamma = PNG_FP_1; in png_set_alpha_mode_fixed()
999 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1088 return !png_muldiv(&gtest, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold()
1329 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations()
1617 gs = PNG_FP_1; in png_init_read_transformations()
1632 g = PNG_FP_1; /* back_1 */ in png_init_read_transformations()
1633 gs = PNG_FP_1; /* back */ in png_init_read_transformations()
[all …]
Dpng.h692 #define PNG_FP_1 100000 macro
1185 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
Dpngget.c222 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1, in png_get_pixel_aspect_ratio_fixed()
Dpngread.c1374 if (g < PNG_FP_1) in png_gamma_not_sRGB()
3766 PNG_FP_1) != 0 && png_gamma_significant(gtest) == 0) in png_image_read_direct()
/external/libpng/contrib/libtests/
Dpngunknown.c89 #define PNG_FP_1 100000 macro
91 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
Dmakepng.c853 gamma = PNG_FP_1; in write_png()
1718 gamma = PNG_FP_1; in main()
Dtarith.c894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5); in validation_gamma()
Dpngvalid.c107 #define PNG_FP_1 100000 macro
109 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
257 d = floor(d * PNG_FP_1 + .5); in fix()
7793 # define API_cvt(x) ((double)(x)/PNG_FP_1) in image_transform_png_set_rgb_to_gray_set()