Home
last modified time | relevance | path

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

/external/pdfium/third_party/libpng16/
Dpng.c1085 (png_muldiv(&gtest, colorspace->gamma, PNG_FP_1, gAMA) == 0 ||
1238 if (png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d) == 0)
1240 if (png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d) == 0)
1247 if (png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d) == 0)
1249 if (png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d) == 0)
1256 if (png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d) == 0)
1258 if (png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d) == 0)
1267 if (png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite) == 0)
1269 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
1286 if (xy->redx < 0 || xy->redx > PNG_FP_1) return 1;
[all …]
Dpngrtran.c232 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
249 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
272 output_gamma *= PNG_FP_1; in convert_gamma_value()
346 output_gamma = PNG_FP_1; in png_set_alpha_mode_fixed()
1013 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1102 return !png_muldiv(&gtest, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold()
1343 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations()
1631 gs = PNG_FP_1; in png_init_read_transformations()
1646 g = PNG_FP_1; /* back_1 */ in png_init_read_transformations()
1647 gs = PNG_FP_1; /* back */ in png_init_read_transformations()
[all …]
Dpng.h656 #define PNG_FP_1 100000 macro
1150 #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.c1390 if (g < PNG_FP_1) in png_gamma_not_sRGB()
3791 PNG_FP_1) != 0 && png_gamma_significant(gtest) == 0) in png_image_read_direct()
/external/libpng/
Dpng.c1085 (png_muldiv(&gtest, colorspace->gamma, PNG_FP_1, gAMA) == 0 ||
1238 if (png_muldiv(&xy->redx, XYZ->red_X, PNG_FP_1, d) == 0)
1240 if (png_muldiv(&xy->redy, XYZ->red_Y, PNG_FP_1, d) == 0)
1247 if (png_muldiv(&xy->greenx, XYZ->green_X, PNG_FP_1, d) == 0)
1249 if (png_muldiv(&xy->greeny, XYZ->green_Y, PNG_FP_1, d) == 0)
1256 if (png_muldiv(&xy->bluex, XYZ->blue_X, PNG_FP_1, d) == 0)
1258 if (png_muldiv(&xy->bluey, XYZ->blue_Y, PNG_FP_1, d) == 0)
1267 if (png_muldiv(&xy->whitex, whiteX, PNG_FP_1, dwhite) == 0)
1269 if (png_muldiv(&xy->whitey, whiteY, PNG_FP_1, dwhite) == 0)
1286 if (xy->redx < 0 || xy->redx > PNG_FP_1) return 1;
[all …]
Dpngrtran.c232 output_gamma == PNG_FP_1 / PNG_DEFAULT_sRGB) in translate_gamma_flags()
249 output_gamma == PNG_FP_1 / PNG_GAMMA_MAC_18) in translate_gamma_flags()
272 output_gamma *= PNG_FP_1; in convert_gamma_value()
346 output_gamma = PNG_FP_1; in png_set_alpha_mode_fixed()
1013 if (red >= 0 && green >= 0 && red + green <= PNG_FP_1) in png_set_rgb_to_gray_fixed()
1102 return !png_muldiv(&gtest, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold()
1343 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations()
1631 gs = PNG_FP_1; in png_init_read_transformations()
1646 g = PNG_FP_1; /* back_1 */ in png_init_read_transformations()
1647 gs = PNG_FP_1; /* back */ in png_init_read_transformations()
[all …]
Dpng.h656 #define PNG_FP_1 100000 macro
1150 #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.c1390 if (g < PNG_FP_1) in png_gamma_not_sRGB()
3791 PNG_FP_1) != 0 && png_gamma_significant(gtest) == 0) in png_image_read_direct()
Dlibpng-manual.txt166 macro PNG_FP_1 is defined in png.h along with a type (png_fixed_point)
729 png_set_gamma_fixed(png_ptr, PNG_FP_1*screen_gamma,
730 PNG_FP_1*output_gamma);
/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()