Searched refs:RShift (Results 1 – 2 of 2) sorted by relevance
144 static int RShift, GShift, BShift; variable517 RShift = 15 - rpng_x_msb(RMask); /* these are right-shifts */ in rpng_x_create_window()523 RShift = rpng_x_msb(RMask) - 7; /* these are left-shifts */ in rpng_x_create_window()527 RShift = 7 - rpng_x_msb(RMask); /* these are right-shifts, too */ in rpng_x_create_window()532 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng_x_create_window()614 bg_pixel = ((ulg)bg_red << RShift) | in rpng_x_create_window()618 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) | in rpng_x_create_window()717 pixel = (red << RShift) | in rpng_x_display_image()727 red = (RShift < 0)? red << (-RShift) : red >> RShift; in rpng_x_display_image()760 pixel = (red << RShift) | in rpng_x_display_image()[all …]
279 static int RShift, GShift, BShift; variable882 RShift = 15 - rpng2_x_msb(RMask); /* these are right-shifts */ in rpng2_x_create_window()886 RShift = rpng2_x_msb(RMask) - 7; /* these are left-shifts */ in rpng2_x_create_window()890 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng2_x_create_window()1017 bg_pixel = (bg_red << RShift) | in rpng2_x_create_window()1021 bg_pixel = (((bg_red << 8) >> RShift) & RMask) | in rpng2_x_create_window()1285 pixel = (red << RShift) | in rpng2_x_load_bg_image()1299 pixel = (red << RShift) | in rpng2_x_load_bg_image()1322 pixel = ((red >> RShift) & RMask) | in rpng2_x_load_bg_image()1411 pixel = (red << RShift) | in rpng2_x_display_row()[all …]