Searched refs:PNG_DIV257 (Results 1 – 12 of 12) sorted by relevance
1837 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()1849 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()2580 gray = PNG_DIV257(png_gamma_16bit_correct(gray, in png_image_read_colormap()
1716 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_write_image_8bit()1834 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_image_set_PLTE()
671 #define PNG_DIV257(v16) PNG_DIV65535((png_uint_32)(v16) * 255) macro
1502 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations()
1827 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()1839 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()2570 gray = PNG_DIV257(png_gamma_16bit_correct(gray, in png_image_read_colormap()
1836 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()1848 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()2579 gray = PNG_DIV257(png_gamma_16bit_correct(gray, in png_image_read_colormap()
700 #define PNG_DIV257(v16) PNG_DIV65535((png_uint_32)(v16) * 255) macro