Searched refs:GMask (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/libpng-1.2.8/contrib/gregbook/
H A Drpng-x.c114 static ulg RMask, GMask, BMask; variable
465 GMask = visual->green_mask;
479 GShift = 15 - rpng_x_msb(GMask);
485 GShift = rpng_x_msb(GMask) - 7;
489 GShift = 7 - rpng_x_msb(GMask);
573 ((((ulg)bg_green << 8) >> GShift) & GMask) |
684 pixel = (red & RMask) | (green & GMask) | (blue & BMask);
748 ((green >> GShift) & GMask) |
780 ((green >> GShift) & GMask) |
H A Drpng2-x.c224 static ulg RMask, GMask, BMask; variable
673 GMask = visual->green_mask;
689 GShift = 15 - rpng2_x_msb(GMask);
693 GShift = rpng2_x_msb(GMask) - 7;
821 (((bg_green << 8) >> GShift) & GMask) |
1102 ((green >> GShift) & GMask) |
1257 ((green >> GShift) & GMask) |
1294 ((green >> GShift) & GMask) |

Completed in 2054 milliseconds