Lines Matching refs:GShift
146 static int RShift, GShift, BShift; variable
524 GShift = 15 - rpng_x_msb(GMask); in rpng_x_create_window()
530 GShift = rpng_x_msb(GMask) - 7; in rpng_x_create_window()
534 GShift = 7 - rpng_x_msb(GMask); in rpng_x_create_window()
538 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng_x_create_window()
621 ((ulg)bg_green << GShift) | in rpng_x_create_window()
625 ((((ulg)bg_green << 8) >> GShift) & GMask) | in rpng_x_create_window()
724 (green << GShift) | in rpng_x_display_image()
734 green = (GShift < 0)? green << (-GShift) : green >> GShift; in rpng_x_display_image()
767 (green << GShift) | in rpng_x_display_image()
800 ((green >> GShift) & GMask) | in rpng_x_display_image()
832 ((green >> GShift) & GMask) | in rpng_x_display_image()