Home
last modified time | relevance | path

Searched refs:screen_gamma (Results 1 – 8 of 8) 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.c564 png_ptr->screen_gamma = (float)scrn_gamma; in png_set_gamma()
912 && (fabs(png_ptr->screen_gamma * png_ptr->gamma - 1.0) in png_init_read_transformations()
958 g = (png_ptr->screen_gamma); in png_init_read_transformations()
964 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); in png_init_read_transformations()
970 png_ptr->screen_gamma); in png_init_read_transformations()
1053 g = (png_ptr->screen_gamma); in png_init_read_transformations()
1059 gs = 1.0 / (png_ptr->gamma * png_ptr->screen_gamma); in png_init_read_transformations()
1065 png_ptr->screen_gamma); in png_init_read_transformations()
2647 g = 1.0 / (png_ptr->background_gamma * png_ptr->screen_gamma); in png_correct_palette()
4192 if (png_ptr->screen_gamma > .000001) in png_build_gamma_table()
[all …]
Dlibpng-1.2.44.txt1111 double gamma, screen_gamma;
1116 screen_gamma = user_defined_screen_gamma;
1123 screen_gamma = (double)atof(gamma_str);
1128 screen_gamma = 2.2; /* A good guess for a
1130 screen_gamma = 2.0; /* A good guess for a
1132 screen_gamma = 1.7 or 1.0; /* A good
1137 Pass both the file gamma and the current screen_gamma. If the file does
1146 png_set_gamma(png_ptr, screen_gamma, gamma);
1148 png_set_gamma(png_ptr, screen_gamma, 0.45455);
1253 will also update your palette with the correct screen_gamma and
Dlibpng-1.2.46.txt1111 double gamma, screen_gamma;
1116 screen_gamma = user_defined_screen_gamma;
1123 screen_gamma = (double)atof(gamma_str);
1128 screen_gamma = 2.2; /* A good guess for a
1130 screen_gamma = 2.0; /* A good guess for a
1132 screen_gamma = 1.7 or 1.0; /* A good
1137 Pass both the file gamma and the current screen_gamma. If the file does
1146 png_set_gamma(png_ptr, screen_gamma, gamma);
1148 png_set_gamma(png_ptr, screen_gamma, 0.45455);
1253 will also update your palette with the correct screen_gamma and
Dpng.h1412 float screen_gamma PNG_DEPSTRUCT; /* screen gamma value (display_exponent) */
1866 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));