Home
last modified time | relevance | path

Searched refs:igamma (Results 1 – 5 of 5) sorted by relevance

/external/libpng/
Dpngrutil.c691 png_fixed_point igamma; in png_handle_gAMA() local
733 igamma = (png_fixed_point)png_get_uint_32(buf); in png_handle_gAMA()
735 if (igamma == 0) in png_handle_gAMA()
744 if (PNG_OUT_OF_RANGE(igamma, 45500L, 500)) in png_handle_gAMA()
749 fprintf(stderr, "gamma = (%d/100000)", (int)igamma); in png_handle_gAMA()
756 file_gamma = (float)igamma / (float)100000.0; in png_handle_gAMA()
763 png_set_gAMA_fixed(png_ptr, info_ptr, igamma); in png_handle_gAMA()
1010 png_fixed_point igamma; in png_handle_sRGB() local
1012 igamma=info_ptr->int_gamma; in png_handle_sRGB()
1015 igamma=(png_fixed_point)(info_ptr->gamma * 100000.); in png_handle_sRGB()
[all …]
Dpngwutil.c717 png_uint_32 igamma; in png_write_gAMA() local
723 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5); in png_write_gAMA()
724 png_save_uint_32(buf, igamma); in png_write_gAMA()
DCHANGES464 Fixed type casting of igamma in pngrutil.c
/external/qemu/distrib/libpng-1.2.19/
Dpngrutil.c581 png_fixed_point igamma; in png_handle_gAMA() local
623 igamma = (png_fixed_point)png_get_uint_32(buf); in png_handle_gAMA()
625 if (igamma == 0) in png_handle_gAMA()
634 if (PNG_OUT_OF_RANGE(igamma, 45500L, 500)) in png_handle_gAMA()
639 fprintf(stderr, "gamma = (%d/100000)\n", (int)igamma); in png_handle_gAMA()
646 file_gamma = (float)igamma / (float)100000.0; in png_handle_gAMA()
653 png_set_gAMA_fixed(png_ptr, info_ptr, igamma); in png_handle_gAMA()
938 png_fixed_point igamma; in png_handle_sRGB() local
940 igamma=info_ptr->int_gamma; in png_handle_sRGB()
943 igamma=(png_fixed_point)(info_ptr->gamma * 100000.); in png_handle_sRGB()
[all …]
Dpngwutil.c679 png_uint_32 igamma; in png_write_gAMA() local
684 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5); in png_write_gAMA()
685 png_save_uint_32(buf, igamma); in png_write_gAMA()