Searched refs:GShift (Results 1 – 2 of 2) sorted by relevance
144 static int RShift, GShift, BShift; variable518 GShift = 15 - rpng_x_msb(GMask); in rpng_x_create_window()524 GShift = rpng_x_msb(GMask) - 7; in rpng_x_create_window()528 GShift = 7 - rpng_x_msb(GMask); in rpng_x_create_window()532 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng_x_create_window()615 ((ulg)bg_green << GShift) | in rpng_x_create_window()619 ((((ulg)bg_green << 8) >> GShift) & GMask) | in rpng_x_create_window()718 (green << GShift) | in rpng_x_display_image()728 green = (GShift < 0)? green << (-GShift) : green >> GShift; in rpng_x_display_image()761 (green << GShift) | in rpng_x_display_image()[all …]
279 static int RShift, GShift, BShift; variable883 GShift = 15 - rpng2_x_msb(GMask); in rpng2_x_create_window()887 GShift = rpng2_x_msb(GMask) - 7; in rpng2_x_create_window()890 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng2_x_create_window()1018 (bg_green << GShift) | in rpng2_x_create_window()1022 (((bg_green << 8) >> GShift) & GMask) | in rpng2_x_create_window()1286 (green << GShift) | in rpng2_x_load_bg_image()1300 (green << GShift) | in rpng2_x_load_bg_image()1323 ((green >> GShift) & GMask) | in rpng2_x_load_bg_image()1412 (green << GShift) | in rpng2_x_display_row()[all …]