Home
last modified time | relevance | path

Searched refs:GShift (Results 1 – 2 of 2) sorted by relevance

/external/libpng/contrib/gregbook/
Drpng-x.c147 static int RShift, GShift, BShift; variable
525 GShift = 15 - rpng_x_msb(GMask); in rpng_x_create_window()
531 GShift = rpng_x_msb(GMask) - 7; in rpng_x_create_window()
535 GShift = 7 - rpng_x_msb(GMask); in rpng_x_create_window()
539 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng_x_create_window()
622 ((ulg)bg_green << GShift) | in rpng_x_create_window()
626 ((((ulg)bg_green << 8) >> GShift) & GMask) | in rpng_x_create_window()
725 (green << GShift) | in rpng_x_display_image()
735 green = (GShift < 0)? green << (-GShift) : green >> GShift; in rpng_x_display_image()
768 (green << GShift) | in rpng_x_display_image()
[all …]
Drpng2-x.c296 static int RShift, GShift, BShift; variable
916 GShift = 15 - rpng2_x_msb(GMask); in rpng2_x_create_window()
920 GShift = rpng2_x_msb(GMask) - 7; in rpng2_x_create_window()
923 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) { in rpng2_x_create_window()
1051 (bg_green << GShift) | in rpng2_x_create_window()
1055 (((bg_green << 8) >> GShift) & GMask) | in rpng2_x_create_window()
1319 (green << GShift) | in rpng2_x_load_bg_image()
1333 (green << GShift) | in rpng2_x_load_bg_image()
1356 ((green >> GShift) & GMask) | in rpng2_x_load_bg_image()
1445 (green << GShift) | in rpng2_x_display_row()
[all …]