/third_party/libpng/ |
D | png.c | 1085 (png_muldiv(>est, 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 …]
|
D | pngrtran.c | 232 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(>est, 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 …]
|
D | png.h | 656 #define PNG_FP_1 100000 macro 1150 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
|
D | pngget.c | 222 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1, in png_get_pixel_aspect_ratio_fixed()
|
D | pngread.c | 1390 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()
|
/third_party/flutter/skia/third_party/externals/libpng/ |
D | png.c | 1085 (png_muldiv(>est, 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 …]
|
D | pngrtran.c | 232 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(>est, 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 …]
|
D | png.h | 656 #define PNG_FP_1 100000 macro 1150 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
|
D | pngget.c | 222 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1, in png_get_pixel_aspect_ratio_fixed()
|
D | pngread.c | 1390 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()
|
/third_party/skia/third_party/externals/libpng/ |
D | png.c | 1085 (png_muldiv(>est, 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 …]
|
D | pngrtran.c | 232 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(>est, 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 …]
|
D | png.h | 656 #define PNG_FP_1 100000 macro 1150 #define PNG_GAMMA_LINEAR PNG_FP_1 /* Linear */
|
D | pngget.c | 222 if (png_muldiv(&res, (png_int_32)info_ptr->y_pixels_per_unit, PNG_FP_1, in png_get_pixel_aspect_ratio_fixed()
|
D | pngread.c | 1390 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()
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/ |
D | pngunknown.c | 89 #define PNG_FP_1 100000 macro 91 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
|
D | makepng.c | 853 gamma = PNG_FP_1; in write_png() 1718 gamma = PNG_FP_1; in main()
|
D | tarith.c | 894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5); in validation_gamma()
|
D | pngvalid.c | 107 #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()
|
/third_party/libpng/contrib/libtests/ |
D | pngunknown.c | 89 #define PNG_FP_1 100000 macro 91 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
|
D | makepng.c | 853 gamma = PNG_FP_1; in write_png() 1718 gamma = PNG_FP_1; in main()
|
D | tarith.c | 894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5); in validation_gamma()
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | pngunknown.c | 89 #define PNG_FP_1 100000 macro 91 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
|
D | makepng.c | 853 gamma = PNG_FP_1; in write_png() 1718 gamma = PNG_FP_1; in main()
|
D | tarith.c | 894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5); in validation_gamma()
|