Searched refs:PNG_DIV257 (Results 1 – 4 of 4) sorted by relevance
1923 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_write_image_8bit()2041 png_byte alphabyte = (png_byte)PNG_DIV257(alpha); in png_image_set_PLTE()
657 #define PNG_DIV257(v16) PNG_DIV65535((png_uint_32)(v16) * 255) macro
1987 alpha = PNG_DIV257(alpha); in png_create_colormap_entry()2705 gray = PNG_DIV257(png_gamma_16bit_correct(gray, in png_image_read_colormap()
1499 # define CHOP(x) (x)=((png_uint_16)PNG_DIV257(x)) in png_init_read_transformations()