Lines Matching refs:GShift
144 static int RShift, GShift, BShift; variable
518 GShift = 15 - rpng_x_msb(GMask); in rpng_x_create_window()
524 GShift = rpng_x_msb(GMask) - 7; in rpng_x_create_window()
528 GShift = 7 - rpng_x_msb(GMask); in rpng_x_create_window()
532 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng_x_create_window()
615 ((ulg)bg_green << GShift) | in rpng_x_create_window()
619 ((((ulg)bg_green << 8) >> GShift) & GMask) | in rpng_x_create_window()
718 (green << GShift) | in rpng_x_display_image()
728 green = (GShift < 0)? green << (-GShift) : green >> GShift; in rpng_x_display_image()
761 (green << GShift) | in rpng_x_display_image()
794 ((green >> GShift) & GMask) | in rpng_x_display_image()
826 ((green >> GShift) & GMask) | in rpng_x_display_image()