/external/libpng/ |
D | png.h | 689 #define PNG_FP_MAX ((png_fixed_point)0x7fffffffL) 1115 int error_action, png_fixed_point red, png_fixed_point green)) 1171 int mode, png_fixed_point output_gamma)) 1335 int need_expand, png_fixed_point background_gamma)) 1384 png_fixed_point screen_gamma, png_fixed_point override_file_gamma)) 1934 PNG_FIXED_EXPORT(210, png_fixed_point, png_get_pixel_aspect_ratio_fixed, 1976 png_fixed_point *int_white_x, png_fixed_point *int_white_y, 1977 png_fixed_point *int_red_x, png_fixed_point *int_red_y, 1978 png_fixed_point *int_green_x, png_fixed_point *int_green_y, 1979 png_fixed_point *int_blue_x, png_fixed_point *int_blue_y)) [all …]
|
D | pngstruct.h | 85 png_fixed_point redx, redy; 86 png_fixed_point greenx, greeny; 87 png_fixed_point bluex, bluey; 88 png_fixed_point whitex, whitey; 96 png_fixed_point red_X, red_Y, red_Z; 97 png_fixed_point green_X, green_Y, green_Z; 98 png_fixed_point blue_X, blue_Y, blue_Z; 115 png_fixed_point gamma; /* File gamma */ 276 png_fixed_point background_gamma; 291 png_fixed_point screen_gamma; /* screen gamma value (display_exponent) */
|
D | pngget.c | 204 png_fixed_point PNGAPI 215 png_fixed_point res; in png_get_pixel_aspect_ratio_fixed() 338 png_fixed_point result; in ppi_from_ppm() 367 static png_fixed_point 378 png_fixed_point PNGAPI 388 png_fixed_point PNGAPI 605 png_fixed_point *int_red_X, png_fixed_point *int_red_Y, in png_get_cHRM_XYZ_fixed() 606 png_fixed_point *int_red_Z, png_fixed_point *int_green_X, in png_get_cHRM_XYZ_fixed() 607 png_fixed_point *int_green_Y, png_fixed_point *int_green_Z, in png_get_cHRM_XYZ_fixed() 608 png_fixed_point *int_blue_X, png_fixed_point *int_blue_Y, in png_get_cHRM_XYZ_fixed() [all …]
|
D | png.c | 1077 png_colorspacerp colorspace, png_fixed_point gAMA, int from) 1088 png_fixed_point gtest; 1121 png_colorspacerp colorspace, png_fixed_point gAMA) 1284 png_fixed_point red_inverse, green_inverse, blue_scale; 1285 png_fixed_point left, right, denominator; 2484 png_fixed_point r = png_ptr->colorspace.end_points_XYZ.red_Y; 2485 png_fixed_point g = png_ptr->colorspace.end_points_XYZ.green_Y; 2486 png_fixed_point b = png_ptr->colorspace.end_points_XYZ.blue_Y; 2487 png_fixed_point total = r+g+b; 3240 png_size_t size, png_fixed_point fp) [all …]
|
D | pngset.c | 41 png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, in png_set_cHRM_fixed() 42 png_fixed_point red_y, png_fixed_point green_x, png_fixed_point green_y, in png_set_cHRM_fixed() 43 png_fixed_point blue_x, png_fixed_point blue_y) in png_set_cHRM_fixed() 70 png_fixed_point int_red_X, png_fixed_point int_red_Y, in png_set_cHRM_XYZ_fixed() 71 png_fixed_point int_red_Z, png_fixed_point int_green_X, in png_set_cHRM_XYZ_fixed() 72 png_fixed_point int_green_Y, png_fixed_point int_green_Z, in png_set_cHRM_XYZ_fixed() 73 png_fixed_point int_blue_X, png_fixed_point int_blue_Y, in png_set_cHRM_XYZ_fixed() 74 png_fixed_point int_blue_Z) in png_set_cHRM_XYZ_fixed() 187 png_fixed_point file_gamma) in png_set_gAMA_fixed() 528 png_fixed_point width, png_fixed_point height) in png_set_sCAL_fixed()
|
D | pngpriv.h | 792 ((png_fixed_point)(100000 * (fp))) : (png_fixed_error(png_ptr, s),0)) 984 PNG_INTERNAL_FUNCTION(png_fixed_point,png_fixed,(png_const_structrp png_ptr, 1127 png_fixed_point file_gamma),PNG_EMPTY); 1621 png_colorspacerp colorspace, png_fixed_point gAMA), PNG_EMPTY); 1856 png_charp ascii, png_size_t size, png_fixed_point fp),PNG_EMPTY); 1969 PNG_INTERNAL_FUNCTION(int,png_muldiv,(png_fixed_point_p res, png_fixed_point a, 1975 PNG_INTERNAL_FUNCTION(png_fixed_point,png_muldiv_warn, 1976 (png_const_structrp png_ptr, png_fixed_point a, png_int_32 multiplied_by, 1985 PNG_INTERNAL_FUNCTION(png_fixed_point,png_reciprocal,(png_fixed_point a), 1993 PNG_INTERNAL_FUNCTION(png_fixed_point,png_reciprocal2,(png_fixed_point a, [all …]
|
D | pngconf.h | 573 typedef png_int_32 png_fixed_point; typedef 590 typedef png_fixed_point * png_fixed_point_p; 591 typedef const png_fixed_point * png_const_fixed_point_p; 612 typedef png_fixed_point * * png_fixed_point_pp;
|
D | pngrtran.c | 128 int need_expand, png_fixed_point background_gamma) in png_set_background_fixed() 211 static png_fixed_point 212 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags() 250 static png_fixed_point 269 return (png_fixed_point)output_gamma; in convert_gamma_value() 277 png_fixed_point output_gamma) in png_set_alpha_mode_fixed() 280 png_fixed_point file_gamma; in png_set_alpha_mode_fixed() 807 png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma, in png_set_gamma_fixed() 808 png_fixed_point file_gamma) in png_set_gamma_fixed() 960 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() [all …]
|
D | pngread.c | 1290 png_fixed_point gamma_to_linear; /* For P_FILE, reciprocal of gamma */ 1382 png_gamma_not_sRGB(png_fixed_point g) in png_gamma_not_sRGB() 1662 png_fixed_point g = display->image->opaque->png_ptr->colorspace.gamma; in set_file_encoding() 1785 png_fixed_point g = display->gamma_to_linear; in png_create_colormap_entry() 3691 png_fixed_point output_gamma; in png_image_read_direct() 3729 png_fixed_point input_gamma_default; in png_image_read_direct() 3777 png_fixed_point gtest; in png_image_read_direct()
|
D | pngtest.c | 1118 png_fixed_point white_x, white_y, red_x, red_y, green_x, green_y, blue_x, in test_one_file() 1131 png_fixed_point gamma; in test_one_file()
|
/external/pdfium/third_party/libpng16/ |
D | png.h | 694 #define PNG_FP_MAX ((png_fixed_point)0x7fffffffL) 1119 int error_action, png_fixed_point red, png_fixed_point green)) 1175 int mode, png_fixed_point output_gamma)) 1339 int need_expand, png_fixed_point background_gamma)) 1388 png_fixed_point screen_gamma, png_fixed_point override_file_gamma)) 1937 PNG_FIXED_EXPORT(210, png_fixed_point, png_get_pixel_aspect_ratio_fixed, 1979 png_fixed_point *int_white_x, png_fixed_point *int_white_y, 1980 png_fixed_point *int_red_x, png_fixed_point *int_red_y, 1981 png_fixed_point *int_green_x, png_fixed_point *int_green_y, 1982 png_fixed_point *int_blue_x, png_fixed_point *int_blue_y)) [all …]
|
D | pngstruct.h | 85 png_fixed_point redx, redy; 86 png_fixed_point greenx, greeny; 87 png_fixed_point bluex, bluey; 88 png_fixed_point whitex, whitey; 96 png_fixed_point red_X, red_Y, red_Z; 97 png_fixed_point green_X, green_Y, green_Z; 98 png_fixed_point blue_X, blue_Y, blue_Z; 115 png_fixed_point gamma; /* File gamma */ 276 png_fixed_point background_gamma; 291 png_fixed_point screen_gamma; /* screen gamma value (display_exponent) */
|
D | pngget.c | 204 png_fixed_point PNGAPI 215 png_fixed_point res; in png_get_pixel_aspect_ratio_fixed() 338 png_fixed_point result; in ppi_from_ppm() 367 static png_fixed_point 378 png_fixed_point PNGAPI 388 png_fixed_point PNGAPI 605 png_fixed_point *int_red_X, png_fixed_point *int_red_Y, in png_get_cHRM_XYZ_fixed() 606 png_fixed_point *int_red_Z, png_fixed_point *int_green_X, in png_get_cHRM_XYZ_fixed() 607 png_fixed_point *int_green_Y, png_fixed_point *int_green_Z, in png_get_cHRM_XYZ_fixed() 608 png_fixed_point *int_blue_X, png_fixed_point *int_blue_Y, in png_get_cHRM_XYZ_fixed() [all …]
|
D | png.c | 1036 png_colorspacerp colorspace, png_fixed_point gAMA, int from) 1047 png_fixed_point gtest; 1080 png_colorspacerp colorspace, png_fixed_point gAMA) 1243 png_fixed_point red_inverse, green_inverse, blue_scale; 1244 png_fixed_point left, right, denominator; 2445 png_fixed_point r = png_ptr->colorspace.end_points_XYZ.red_Y; 2446 png_fixed_point g = png_ptr->colorspace.end_points_XYZ.green_Y; 2447 png_fixed_point b = png_ptr->colorspace.end_points_XYZ.blue_Y; 2448 png_fixed_point total = r+g+b; 3179 png_size_t size, png_fixed_point fp) [all …]
|
D | pngset.c | 41 png_fixed_point white_x, png_fixed_point white_y, png_fixed_point red_x, in png_set_cHRM_fixed() 42 png_fixed_point red_y, png_fixed_point green_x, png_fixed_point green_y, in png_set_cHRM_fixed() 43 png_fixed_point blue_x, png_fixed_point blue_y) in png_set_cHRM_fixed() 70 png_fixed_point int_red_X, png_fixed_point int_red_Y, in png_set_cHRM_XYZ_fixed() 71 png_fixed_point int_red_Z, png_fixed_point int_green_X, in png_set_cHRM_XYZ_fixed() 72 png_fixed_point int_green_Y, png_fixed_point int_green_Z, in png_set_cHRM_XYZ_fixed() 73 png_fixed_point int_blue_X, png_fixed_point int_blue_Y, in png_set_cHRM_XYZ_fixed() 74 png_fixed_point int_blue_Z) in png_set_cHRM_XYZ_fixed() 140 png_fixed_point file_gamma) in png_set_gAMA_fixed() 480 png_fixed_point width, png_fixed_point height) in png_set_sCAL_fixed()
|
D | pngpriv.h | 719 ((png_fixed_point)(100000 * (fp))) : (png_fixed_error(png_ptr, s),0)) 910 PNG_INTERNAL_FUNCTION(png_fixed_point,png_fixed,(png_const_structrp png_ptr, 1053 png_fixed_point file_gamma),PNG_EMPTY); 1496 png_colorspacerp colorspace, png_fixed_point gAMA), PNG_EMPTY); 1731 png_charp ascii, png_size_t size, png_fixed_point fp),PNG_EMPTY); 1844 PNG_INTERNAL_FUNCTION(int,png_muldiv,(png_fixed_point_p res, png_fixed_point a, 1850 PNG_INTERNAL_FUNCTION(png_fixed_point,png_muldiv_warn, 1851 (png_const_structrp png_ptr, png_fixed_point a, png_int_32 multiplied_by, 1860 PNG_INTERNAL_FUNCTION(png_fixed_point,png_reciprocal,(png_fixed_point a), 1868 PNG_INTERNAL_FUNCTION(png_fixed_point,png_reciprocal2,(png_fixed_point a, [all …]
|
D | pngconf.h | 573 typedef png_int_32 png_fixed_point; typedef 590 typedef png_fixed_point * png_fixed_point_p; 591 typedef const png_fixed_point * png_const_fixed_point_p; 612 typedef png_fixed_point * * png_fixed_point_pp;
|
D | pngrtran.c | 127 int need_expand, png_fixed_point background_gamma) in png_set_background_fixed() 210 static png_fixed_point 211 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags() 249 static png_fixed_point 268 return (png_fixed_point)output_gamma; in convert_gamma_value() 276 png_fixed_point output_gamma) in png_set_alpha_mode_fixed() 279 png_fixed_point file_gamma; in png_set_alpha_mode_fixed() 804 png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma, in png_set_gamma_fixed() 805 png_fixed_point file_gamma) in png_set_gamma_fixed() 957 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() [all …]
|
D | pngread.c | 1280 png_fixed_point gamma_to_linear; /* For P_FILE, reciprocal of gamma */ 1372 png_gamma_not_sRGB(png_fixed_point g) in png_gamma_not_sRGB() 1650 png_fixed_point g = display->image->opaque->png_ptr->colorspace.gamma; in set_file_encoding() 1773 png_fixed_point g = display->gamma_to_linear; in png_create_colormap_entry() 3678 png_fixed_point output_gamma; in png_image_read_direct() 3716 png_fixed_point input_gamma_default; in png_image_read_direct() 3758 png_fixed_point gtest; in png_image_read_direct()
|
/external/libpng/contrib/gregbook/ |
D | readpng2.c | 225 png_fixed_point gamma; in readpng2_info_callback() 353 (png_fixed_point)(100000*mainprog_ptr->display_exponent+.5), gamma); in readpng2_info_callback() 356 (png_fixed_point)(100000*mainprog_ptr->display_exponent+.5), 45455); in readpng2_info_callback()
|
/external/skia/src/codec/ |
D | SkPngCodec.cpp | 334 static float png_fixed_point_to_float(png_fixed_point x) { in png_fixed_point_to_float() 342 static float png_inverted_fixed_point_to_float(png_fixed_point x) { in png_inverted_fixed_point_to_float() 387 png_fixed_point chrm[8]; in read_color_profile() 388 png_fixed_point gamma; in read_color_profile()
|
/external/skqp/src/codec/ |
D | SkPngCodec.cpp | 334 static float png_fixed_point_to_float(png_fixed_point x) { in png_fixed_point_to_float() 342 static float png_inverted_fixed_point_to_float(png_fixed_point x) { in png_inverted_fixed_point_to_float() 387 png_fixed_point chrm[8]; in read_color_profile() 388 png_fixed_point gamma; in read_color_profile()
|
/external/libpng/contrib/libtests/ |
D | tarith.c | 615 png_fixed_point a; in validation_muldiv() 635 png_fixed_point result; in validation_muldiv() 894 png_fixed_point gfp = floor(g * PNG_FP_1 + .5); in validation_gamma()
|
D | makepng.c | 771 volatile png_fixed_point gamma, chunk_insert * volatile insert, in write_png() 818 png_fixed_point real_gamma = 45455; /* For sRGB */ in write_png() 1688 png_fixed_point gamma = 0; /* not set */ in main()
|
D | pngvalid.c | 108 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1)) 253 static png_fixed_point 257 return (png_fixed_point)d; in fix() 3298 png_fixed_point gamma; 3322 me->gamma = (png_fixed_point)g; in gama_modification_init() 3331 png_fixed_point wx, wy, rx, ry, gx, gy, bx, by; 7587 png_fixed_point red_to_set; 7588 png_fixed_point green_to_set; 7792 # define API_type png_fixed_point in image_transform_png_set_rgb_to_gray_set() 9307 const png_fixed_point g = fix(sg); in gamma_info_imp() [all …]
|