Lines Matching refs:RShift
147 static int RShift, GShift, BShift; variable
524 RShift = 15 - rpng_x_msb(RMask); /* these are right-shifts */ in rpng_x_create_window()
530 RShift = rpng_x_msb(RMask) - 7; /* these are left-shifts */ in rpng_x_create_window()
534 RShift = 7 - rpng_x_msb(RMask); /* these are right-shifts, too */ in rpng_x_create_window()
539 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng_x_create_window()
621 bg_pixel = ((ulg)bg_red << RShift) | in rpng_x_create_window()
625 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) | in rpng_x_create_window()
724 pixel = (red << RShift) | in rpng_x_display_image()
734 red = (RShift < 0)? red << (-RShift) : red >> RShift; in rpng_x_display_image()
767 pixel = (red << RShift) | in rpng_x_display_image()
800 pixel = ((red >> RShift) & RMask) | in rpng_x_display_image()
832 pixel = ((red >> RShift) & RMask) | in rpng_x_display_image()