/external/libpng/ |
D | png.h | 658 #define PNG_FP_MAX ((png_fixed_point)0x7fffffffL) 1084 int error_action, png_fixed_point red, png_fixed_point green)) 1140 int mode, png_fixed_point output_gamma)) 1304 int need_expand, png_fixed_point background_gamma)) 1353 png_fixed_point screen_gamma, png_fixed_point override_file_gamma)) 1903 PNG_FIXED_EXPORT(210, png_fixed_point, png_get_pixel_aspect_ratio_fixed, 1945 png_fixed_point *int_white_x, png_fixed_point *int_white_y, 1946 png_fixed_point *int_red_x, png_fixed_point *int_red_y, 1947 png_fixed_point *int_green_x, png_fixed_point *int_green_y, 1948 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 | 1071 png_colorspacerp colorspace, png_fixed_point gAMA, int from) 1082 png_fixed_point gtest; 1115 png_colorspacerp colorspace, png_fixed_point gAMA) 1278 png_fixed_point red_inverse, green_inverse, blue_scale; 1279 png_fixed_point left, right, denominator; 2478 png_fixed_point r = png_ptr->colorspace.end_points_XYZ.red_Y; 2479 png_fixed_point g = png_ptr->colorspace.end_points_XYZ.green_Y; 2480 png_fixed_point b = png_ptr->colorspace.end_points_XYZ.blue_Y; 2481 png_fixed_point total = r+g+b; 3234 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, 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 | 574 typedef png_int_32 png_fixed_point; typedef 591 typedef png_fixed_point * png_fixed_point_p; 592 typedef const png_fixed_point * png_const_fixed_point_p; 613 typedef png_fixed_point * * png_fixed_point_pp;
|
D | pngrtran.c | 139 int need_expand, png_fixed_point background_gamma) in png_set_background_fixed() 222 static png_fixed_point 223 translate_gamma_flags(png_structrp png_ptr, png_fixed_point output_gamma, in translate_gamma_flags() 261 static png_fixed_point 280 return (png_fixed_point)output_gamma; in convert_gamma_value() 288 png_fixed_point output_gamma) in png_set_alpha_mode_fixed() 291 png_fixed_point file_gamma; in png_set_alpha_mode_fixed() 818 png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma, in png_set_gamma_fixed() 819 png_fixed_point file_gamma) in png_set_gamma_fixed() 971 png_fixed_point red, png_fixed_point green) in png_set_rgb_to_gray_fixed() [all …]
|
D | pngread.c | 1296 png_fixed_point gamma_to_linear; /* For P_FILE, reciprocal of gamma */ 1388 png_gamma_not_sRGB(png_fixed_point g) in png_gamma_not_sRGB() 1668 png_fixed_point g = display->image->opaque->png_ptr->colorspace.gamma; in set_file_encoding() 1791 png_fixed_point g = display->gamma_to_linear; in png_create_colormap_entry() 3694 png_fixed_point output_gamma; in png_image_read_direct() 3732 png_fixed_point input_gamma_default; in png_image_read_direct() 3780 png_fixed_point gtest; in png_image_read_direct()
|
D | pngtest.c | 1120 png_fixed_point white_x, white_y, red_x, red_y, green_x, green_y, blue_x, in test_one_file() 1133 png_fixed_point gamma; in test_one_file()
|
D | pngrutil.c | 40 static png_fixed_point /* PRIVATE */ 46 return (png_fixed_point)uval; /* known to be in range */ in png_get_fixed_point() 1121 png_fixed_point igamma; in png_handle_gAMA()
|
D | pngwutil.c | 1084 png_write_gAMA_fixed(png_structrp png_ptr, png_fixed_point file_gamma) in png_write_gAMA_fixed()
|
D | libpng-manual.txt | 166 macro PNG_FP_1 is defined in png.h along with a type (png_fixed_point) 173 the full range of (png_fixed_point) (-21474 to +21474). When APIs require 1952 png_fixed_point red_weight, 1953 png_fixed_point green_weight);
|
D | CHANGES | 649 Added new type "png_fixed_point" for integers that hold float*100000 values 1397 Used proper type png_fixed_point, to avoid problems on 16-bit platforms,
|
/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 | 347 static float png_fixed_point_to_float(png_fixed_point x) { in png_fixed_point_to_float() 355 static float png_inverted_fixed_point_to_float(png_fixed_point x) { in png_inverted_fixed_point_to_float() 400 png_fixed_point chrm[8]; in read_color_profile() 401 png_fixed_point gamma; in read_color_profile()
|
/external/libpng/contrib/libtests/ |
D | tarith.c | 623 png_fixed_point a; in validation_muldiv() 643 png_fixed_point result; in validation_muldiv() 906 png_fixed_point gfp = floor(g * PNG_FP_1 + .5); in validation_gamma()
|
D | makepng.c | 772 volatile png_fixed_point gamma, chunk_insert * volatile insert, in write_png() 819 png_fixed_point real_gamma = 45455; /* For sRGB */ in write_png() 1695 png_fixed_point gamma = 0; /* not set */ in main()
|
D | pngvalid.c | 110 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1)) 255 static png_fixed_point 259 return (png_fixed_point)d; in fix() 3299 png_fixed_point gamma; 3323 me->gamma = (png_fixed_point)g; in gama_modification_init() 3332 png_fixed_point wx, wy, rx, ry, gx, gy, bx, by; 7595 png_fixed_point red_to_set; 7596 png_fixed_point green_to_set; 7800 # define API_type png_fixed_point in image_transform_png_set_rgb_to_gray_set() 9315 png_fixed_point g = fix(sg); in gamma_info_imp() [all …]
|
D | pngunknown.c | 91 ((png_fixed_point)(PNG_GAMMA_THRESHOLD * PNG_FP_1))
|