/external/libpng/contrib/pngminus/ |
png2pnm.c | 271 if (png_get_gAMA (png_ptr, info_ptr, &file_gamma)) 272 png_set_gamma (png_ptr, (double) 2.2, file_gamma);
|
/external/libpng/ |
pngset.c | 116 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) 126 if (file_gamma > 21474.83) 132 png_gamma = file_gamma; 526 float file_gamma; local 548 file_gamma = (float).45455; 549 png_set_gAMA(png_ptr, info_ptr, file_gamma); [all...] |
pngget.c | 475 png_get_gAMA(png_structp png_ptr, png_infop info_ptr, double *file_gamma) 480 && file_gamma != NULL) 482 *file_gamma = (double)info_ptr->gamma;
|
pngrutil.c | 693 float file_gamma; local 756 file_gamma = (float)igamma / (float)100000.0; 758 png_ptr->gamma = file_gamma; 760 png_set_gAMA(png_ptr, info_ptr, file_gamma); [all...] |
pngwutil.c | 712 png_write_gAMA(png_structp png_ptr, double file_gamma) 722 /* file_gamma is saved in 1/100,000ths */ 723 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5); 730 png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma) 739 /* file_gamma is saved in 1/100,000ths */ 740 png_save_uint_32(buf, (png_uint_32)file_gamma); [all...] |
png.h | [all...] |
pngrtran.c | 542 /* Transform the image from the file_gamma to the screen_gamma. We 543 * only do transformations on images where the file_gamma and screen_gamma 552 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma) 559 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) || 563 png_ptr->gamma = (float)file_gamma; [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngset.c | 155 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) 163 if (file_gamma > 21474.83) 169 gamma=file_gamma; 609 float file_gamma; local 632 file_gamma = (float).45455; 633 png_set_gAMA(png_ptr, info_ptr, file_gamma); [all...] |
pngget.c | 443 png_get_gAMA(png_structp png_ptr, png_infop info_ptr, double *file_gamma) 446 && file_gamma != NULL) 449 *file_gamma = (double)info_ptr->gamma;
|
png.h | [all...] |
pngwutil.c | 674 png_write_gAMA(png_structp png_ptr, double file_gamma) 683 /* file_gamma is saved in 1/100,000ths */ 684 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5); 691 png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma) 699 /* file_gamma is saved in 1/100,000ths */ 700 png_save_uint_32(buf, (png_uint_32)file_gamma); [all...] |
pngrutil.c | 583 float file_gamma; local 646 file_gamma = (float)igamma / (float)100000.0; 648 png_ptr->gamma = file_gamma; 650 png_set_gAMA(png_ptr, info_ptr, file_gamma); [all...] |
pngrtran.c | 517 /* Transform the image from the file_gamma to the screen_gamma. We 518 * only do transformations on images where the file_gamma and screen_gamma 527 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma) 531 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) || 535 png_ptr->gamma = (float)file_gamma; [all...] |