/external/libpng/ |
D | example.c | 434 screen_gamma = user-defined screen_gamma; 437 screen_gamma = atof(gamma_str); 441 screen_gamma = PNG_DEFAULT_sRGB; /* A good guess for a PC monitor 443 screen_gamma = PNG_GAMMA_MAC_18 or 1.0; /* Good guesses for Mac 456 png_set_gamma(png_ptr, screen_gamma, PNG_DEFAULT_sRGB); 461 png_set_gamma(png_ptr, screen_gamma, image_gamma); 463 png_set_gamma(png_ptr, screen_gamma, 0.45455);
|
D | pngrtran.c | 377 png_ptr->screen_gamma = output_gamma; in png_set_alpha_mode_fixed() 853 png_ptr->screen_gamma = scrn_gamma; in png_set_gamma_fixed() 1092 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) in png_gamma_threshold() argument 1102 return !png_muldiv(>est, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold() 1318 if (png_ptr->screen_gamma != 0) /* screen set too */ in png_init_read_transformations() 1320 png_ptr->screen_gamma); in png_init_read_transformations() 1326 png_ptr->screen_gamma = png_reciprocal(png_ptr->colorspace.gamma); in png_init_read_transformations() 1329 else if (png_ptr->screen_gamma != 0) in png_init_read_transformations() 1335 png_ptr->colorspace.gamma = png_reciprocal(png_ptr->screen_gamma); in png_init_read_transformations() 1343 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations() [all …]
|
D | png.c | 4215 png_ptr->screen_gamma > 0 ? 4217 png_ptr->screen_gamma) : PNG_FP_1); 4228 png_ptr->screen_gamma > 0 ? 4229 png_reciprocal(png_ptr->screen_gamma) : 4299 png_ptr->screen_gamma > 0 ? png_product2(png_ptr->colorspace.gamma, 4300 png_ptr->screen_gamma) : PNG_FP_1); 4304 png_ptr->screen_gamma > 0 ? png_reciprocal2(png_ptr->colorspace.gamma, 4305 png_ptr->screen_gamma) : PNG_FP_1); 4320 png_ptr->screen_gamma > 0 ? png_reciprocal(png_ptr->screen_gamma) :
|
D | pngstruct.h | 291 png_fixed_point screen_gamma; /* screen gamma value (display_exponent) */ member
|
D | pngread.c | 3177 png_ptr->screen_gamma == PNG_GAMMA_sRGB && in png_image_read_colormapped() 3187 png_ptr->screen_gamma == PNG_GAMMA_sRGB && in png_image_read_colormapped() 3197 png_ptr->screen_gamma == PNG_GAMMA_sRGB && in png_image_read_colormapped()
|
D | png.h | 1351 double screen_gamma, double override_file_gamma)) 1353 png_fixed_point screen_gamma, png_fixed_point override_file_gamma))
|
D | libpng-manual.txt | 725 png_set_gamma(png_ptr, screen_gamma, output_gamma); 729 png_set_gamma_fixed(png_ptr, PNG_FP_1*screen_gamma, 832 png_set_alpha_mode(png_ptr, mode, screen_gamma); 834 png_set_gamma(png_ptr, screen_gamma, 1.0/screen_gamma); 837 The screen_gamma value is the same as the argument to png_set_gamma; however, 839 file gamma default to 1/screen_gamma, so normally you don't need to call 907 component values, whatever screen_gamma you supply. The 908 screen_gamma value is, however, used as a default for 926 the screen_gamma value. Pixels with alpha less than 1.0 959 screen_gamma); [all …]
|
D | CHANGES | 223 Cosmetic change "display_gamma" to "screen_gamma" in pngrtran.c 226 screen_gamma, viewing_gamma, and display_gamma.
|
/external/pdfium/third_party/libpng16/ |
D | pngrtran.c | 377 png_ptr->screen_gamma = output_gamma; in png_set_alpha_mode_fixed() 853 png_ptr->screen_gamma = scrn_gamma; in png_set_gamma_fixed() 1092 png_gamma_threshold(png_fixed_point screen_gamma, png_fixed_point file_gamma) in png_gamma_threshold() argument 1102 return !png_muldiv(>est, screen_gamma, file_gamma, PNG_FP_1) || in png_gamma_threshold() 1318 if (png_ptr->screen_gamma != 0) /* screen set too */ in png_init_read_transformations() 1320 png_ptr->screen_gamma); in png_init_read_transformations() 1326 png_ptr->screen_gamma = png_reciprocal(png_ptr->colorspace.gamma); in png_init_read_transformations() 1329 else if (png_ptr->screen_gamma != 0) in png_init_read_transformations() 1335 png_ptr->colorspace.gamma = png_reciprocal(png_ptr->screen_gamma); in png_init_read_transformations() 1343 png_ptr->screen_gamma = png_ptr->colorspace.gamma = PNG_FP_1; in png_init_read_transformations() [all …]
|
D | png.c | 4216 png_ptr->screen_gamma > 0 ? 4218 png_ptr->screen_gamma) : PNG_FP_1); 4229 png_ptr->screen_gamma > 0 ? 4230 png_reciprocal(png_ptr->screen_gamma) : 4300 png_ptr->screen_gamma > 0 ? png_product2(png_ptr->colorspace.gamma, 4301 png_ptr->screen_gamma) : PNG_FP_1); 4305 png_ptr->screen_gamma > 0 ? png_reciprocal2(png_ptr->colorspace.gamma, 4306 png_ptr->screen_gamma) : PNG_FP_1); 4321 png_ptr->screen_gamma > 0 ? png_reciprocal(png_ptr->screen_gamma) :
|
D | pngstruct.h | 291 png_fixed_point screen_gamma; /* screen gamma value (display_exponent) */ member
|
D | pngread.c | 3177 png_ptr->screen_gamma == PNG_GAMMA_sRGB && in png_image_read_colormapped() 3187 png_ptr->screen_gamma == PNG_GAMMA_sRGB && in png_image_read_colormapped() 3197 png_ptr->screen_gamma == PNG_GAMMA_sRGB && in png_image_read_colormapped()
|
D | png.h | 1351 double screen_gamma, double override_file_gamma)) 1353 png_fixed_point screen_gamma, png_fixed_point override_file_gamma))
|
/external/libpng/contrib/libtests/ |
D | pngvalid.c | 9215 double screen_gamma; member 9235 double file_gamma, double screen_gamma, png_byte sbit, int threshold_test, in gamma_display_init() argument 9247 dp->screen_gamma = screen_gamma; in gamma_display_init() 9305 const double sg = dp->screen_gamma; in gamma_info_imp() 9339 png_set_gamma(pp, dp->screen_gamma, dp->file_gamma); in gamma_info_imp() 9342 png_fixed_point s = fix(dp->screen_gamma); in gamma_info_imp() 9408 double screen_gamma; member 9451 vi->screen_gamma = dp->screen_gamma; in init_validate_info() 9452 if (fabs(vi->screen_gamma-1) < PNG_GAMMA_THRESHOLD) in init_validate_info() 9453 vi->screen_gamma = vi->screen_inverse = 0; in init_validate_info() [all …]
|