Home
last modified time | relevance | path

Searched refs:screen_gamma (Results 1 – 6 of 6) sorted by relevance

/external/libpng/
Dexample.c240 screen_gamma = user-defined screen_gamma;
245 screen_gamma = atof(gamma_str);
250 screen_gamma = 2.2; /* A good guess for a PC monitor in a dimly
252 screen_gamma = 1.7 or 1.0; /* A good guess for Mac systems */
264 png_set_gamma(png_ptr, screen_gamma, 0.45455);
269 png_set_gamma(png_ptr, screen_gamma, image_gamma);
271 png_set_gamma(png_ptr, screen_gamma, 0.45455);
Dpngrtran.c554 png_ptr->screen_gamma = (float)scrn_gamma; in png_set_gamma()
874 && (fabs(png_ptr->screen_gamma * png_ptr->gamma - 1.0) in png_init_read_transformations()
919 g = (png_ptr->screen_gamma); in png_init_read_transformations()
925 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); in png_init_read_transformations()
931 png_ptr->screen_gamma); in png_init_read_transformations()
1013 g = (png_ptr->screen_gamma); in png_init_read_transformations()
1019 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); in png_init_read_transformations()
1025 png_ptr->screen_gamma); in png_init_read_transformations()
2591 g = 1.0 / (png_ptr->background_gamma * png_ptr->screen_gamma); in png_correct_palette()
4103 if (png_ptr->screen_gamma > .000001) in png_build_gamma_table()
[all …]
Dpng.h1318 float screen_gamma; /* screen gamma value (display_exponent) */ member
1768 double screen_gamma, double default_file_gamma));
DCHANGES216 cosmetic change "display_gamma" to "screen_gamma" in pngrtran.c
219 screen_gamma, viewing_gamma, and display_gamma.
/external/qemu/distrib/libpng-1.2.19/
Dpngrtran.c536 png_ptr->screen_gamma = (float)scrn_gamma; in png_set_gamma()
849 && (fabs(png_ptr->screen_gamma * png_ptr->gamma - 1.0) in png_init_read_transformations()
895 g = (png_ptr->screen_gamma); in png_init_read_transformations()
900 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); in png_init_read_transformations()
905 png_ptr->screen_gamma); in png_init_read_transformations()
979 g = (png_ptr->screen_gamma); in png_init_read_transformations()
984 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); in png_init_read_transformations()
989 png_ptr->screen_gamma); in png_init_read_transformations()
2532 g = 1.0 / (png_ptr->background_gamma * png_ptr->screen_gamma); in png_correct_palette()
4023 if (png_ptr->screen_gamma > .000001) in png_build_gamma_table()
[all …]
Dpng.h1226 float screen_gamma; /* screen gamma value (display_exponent) */ member
1670 double screen_gamma, double default_file_gamma));