Searched refs:PNG_DIV257 (Results 1 – 8 of 8) sorted by relevance
1855 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()1867 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()2600 gray = PNG_DIV257(png_gamma_16bit_correct(gray, in png_image_read_colormap()
1729 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_write_image_8bit()1847 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_image_set_PLTE()
735 #define PNG_DIV257(v16) PNG_DIV65535((png_uint_32)(v16) * 255) macro
1516 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations()