Searched refs:file_gamma (Results 1 - 13 of 13) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpng/libpng-1.2.50/contrib/pngminus/
H A Dpng2pnm.c271 if (png_get_gAMA (png_ptr, info_ptr, &file_gamma))
272 png_set_gamma (png_ptr, (double) 2.2, file_gamma);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libpng/libpng-1.2.50/
H A Dpngset.c116 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) argument
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);
H A Dpngget.c475 png_get_gAMA(png_structp png_ptr, png_infop info_ptr, double *file_gamma) argument
480 && file_gamma != NULL)
482 *file_gamma = (double)info_ptr->gamma;
H A Dpngrutil.c671 float file_gamma; local
734 file_gamma = (float)igamma / (float)100000.0;
736 png_ptr->gamma = file_gamma;
738 png_set_gAMA(png_ptr, info_ptr, file_gamma);
H A Dpngwutil.c712 png_write_gAMA(png_structp png_ptr, double file_gamma) argument
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) argument
739 /* file_gamma is saved in 1/100,000ths */
740 png_save_uint_32(buf, (png_uint_32)file_gamma);
H A Dpng.h2390 png_infop info_ptr, double *file_gamma));
2399 png_infop info_ptr, double file_gamma));
3267 PNG_EXTERN void png_write_gAMA PNGARG((png_structp png_ptr, double file_gamma))
3272 png_fixed_point file_gamma)) PNG_PRIVATE;
H A Dpngrtran.c542 /* 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) argument
559 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) ||
563 png_ptr->gamma = (float)file_gamma;
4162 * the file_gamma is known (i.e., the gAMA or sRGB chunk is present,
4163 * or the application has provided a file_gamma)
4176 * file_gamma by more than the specified threshold
4180 * a background color has been specified and the file_gamma
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/png/
H A Dpngset.c142 png_set_gAMA(png_structp png_ptr, png_infop info_ptr, double file_gamma) argument
150 if (file_gamma > 21474.83)
156 gamma=file_gamma;
579 float file_gamma; local
602 file_gamma = (float).45455;
603 png_set_gAMA(png_ptr, info_ptr, file_gamma);
H A Dpngget.c441 png_get_gAMA(png_structp png_ptr, png_infop info_ptr, double *file_gamma) argument
444 && file_gamma != NULL)
447 *file_gamma = (double)info_ptr->gamma;
H A Dpng.h2108 png_infop info_ptr, double *file_gamma));
2117 png_infop info_ptr, double file_gamma));
2894 PNG_EXTERN void png_write_gAMA PNGARG((png_structp png_ptr, double file_gamma));
2898 file_gamma));
H A Dpngrutil.c572 float file_gamma; local
635 file_gamma = (float)igamma / (float)100000.0;
637 png_ptr->gamma = file_gamma;
639 png_set_gAMA(png_ptr, info_ptr, file_gamma);
H A Dpngwutil.c665 png_write_gAMA(png_structp png_ptr, double file_gamma) argument
674 /* file_gamma is saved in 1/100,000ths */
675 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5);
682 png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma) argument
690 /* file_gamma is saved in 1/100,000ths */
691 png_save_uint_32(buf, (png_uint_32)file_gamma);
H A Dpngrtran.c521 /* Transform the image from the file_gamma to the screen_gamma. We
522 * only do transformations on images where the file_gamma and screen_gamma
531 png_set_gamma(png_structp png_ptr, double scrn_gamma, double file_gamma) argument
534 if ((fabs(scrn_gamma * file_gamma - 1.0) > PNG_GAMMA_THRESHOLD) ||
538 png_ptr->gamma = (float)file_gamma;

Completed in 299 milliseconds