Lines Matching refs:RShift
278 static int RShift, GShift, BShift; variable
902 RShift = 15 - rpng2_x_msb(RMask); /* these are right-shifts */ in rpng2_x_create_window()
906 RShift = rpng2_x_msb(RMask) - 7; /* these are left-shifts */ in rpng2_x_create_window()
910 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng2_x_create_window()
1037 bg_pixel = (bg_red << RShift) | in rpng2_x_create_window()
1041 bg_pixel = (((bg_red << 8) >> RShift) & RMask) | in rpng2_x_create_window()
1305 pixel = (red << RShift) | in rpng2_x_load_bg_image()
1319 pixel = (red << RShift) | in rpng2_x_load_bg_image()
1342 pixel = ((red >> RShift) & RMask) | in rpng2_x_load_bg_image()
1431 pixel = (red << RShift) | in rpng2_x_display_row()
1475 pixel = (red << RShift) | in rpng2_x_display_row()
1509 pixel = ((red >> RShift) & RMask) | in rpng2_x_display_row()
1546 pixel = ((red >> RShift) & RMask) | in rpng2_x_display_row()
1653 pixel = (red << RShift) | in rpng2_x_redisplay_image()
1670 red = (RShift < 0)? red << (-RShift) : red >> RShift; in rpng2_x_redisplay_image()
1719 pixel = (red << RShift) | in rpng2_x_redisplay_image()
1736 red = (RShift < 0)? red << (-RShift) : red >> RShift; in rpng2_x_redisplay_image()
1782 pixel = ((red >> RShift) & RMask) | in rpng2_x_redisplay_image()
1819 pixel = ((red >> RShift) & RMask) | in rpng2_x_redisplay_image()