Searched refs:PNG_DITHER_GREEN_BITS (Results 1 – 6 of 6) sorted by relevance
410 #ifndef PNG_DITHER_GREEN_BITS411 # define PNG_DITHER_GREEN_BITS 5 macro
454 int total_bits = PNG_DITHER_RED_BITS + PNG_DITHER_GREEN_BITS + in png_set_dither()457 int num_green = (1 << PNG_DITHER_GREEN_BITS); in png_set_dither()476 int g = (palette[i].green >> (8 - PNG_DITHER_GREEN_BITS)); in png_set_dither()483 int index_r = (ir << (PNG_DITHER_BLUE_BITS + PNG_DITHER_GREEN_BITS)); in png_set_dither()3947 (PNG_DITHER_GREEN_BITS + PNG_DITHER_BLUE_BITS)) | in png_do_dither()3948 (((g >> (8 - PNG_DITHER_GREEN_BITS)) & in png_do_dither()3949 ((1 << PNG_DITHER_GREEN_BITS) - 1)) << in png_do_dither()3976 (PNG_DITHER_GREEN_BITS + PNG_DITHER_BLUE_BITS)) | in png_do_dither()3977 (((g >> (8 - PNG_DITHER_GREEN_BITS)) & in png_do_dither()3978 ((1 << PNG_DITHER_GREEN_BITS) - 1)) << in png_do_dither()
458 #ifndef PNG_DITHER_GREEN_BITS459 # define PNG_DITHER_GREEN_BITS 5 macro
482 int total_bits = PNG_DITHER_RED_BITS + PNG_DITHER_GREEN_BITS + in png_set_dither()485 int num_green = (1 << PNG_DITHER_GREEN_BITS); in png_set_dither()500 int g = (palette[i].green >> (8 - PNG_DITHER_GREEN_BITS)); in png_set_dither()508 PNG_DITHER_GREEN_BITS)); in png_set_dither()4088 (PNG_DITHER_GREEN_BITS + PNG_DITHER_BLUE_BITS)) | in png_do_dither()4089 (((g >> (8 - PNG_DITHER_GREEN_BITS)) & in png_do_dither()4090 ((1 << PNG_DITHER_GREEN_BITS) - 1)) << in png_do_dither()4117 (PNG_DITHER_GREEN_BITS + PNG_DITHER_BLUE_BITS)) | in png_do_dither()4118 (((g >> (8 - PNG_DITHER_GREEN_BITS)) & in png_do_dither()4119 ((1 << PNG_DITHER_GREEN_BITS) - 1)) << in png_do_dither()
462 #ifndef PNG_DITHER_GREEN_BITS463 # define PNG_DITHER_GREEN_BITS 5 macro