Searched refs:RMask (Results 1 – 2 of 2) sorted by relevance
145 static ulg RMask, GMask, BMask; variable503 RMask = visual->red_mask; in rpng_x_create_window()517 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()618 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) | in rpng_x_create_window()730 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng_x_display_image()793 pixel = ((red >> RShift) & RMask) | in rpng_x_display_image()825 pixel = ((red >> RShift) & RMask) | in rpng_x_display_image()
279 static ulg RMask, GMask, BMask; variable886 RMask = visual->red_mask; in rpng2_x_create_window()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()1041 bg_pixel = (((bg_red << 8) >> RShift) & RMask) | in rpng2_x_create_window()1342 pixel = ((red >> RShift) & RMask) | in rpng2_x_load_bg_image()1509 pixel = ((red >> RShift) & RMask) | in rpng2_x_display_row()1546 pixel = ((red >> RShift) & RMask) | in rpng2_x_display_row()1673 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng2_x_redisplay_image()1739 pixel = (red & RMask) | (green & GMask) | (blue & BMask); in rpng2_x_redisplay_image()[all …]