Searched refs:RMask (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
464 RMask = visual->red_mask;
478 RShift = 15 - rpng_x_msb(RMask); /* these are right-shifts */
484 RShift = rpng_x_msb(RMask) - 7; /* these are left-shifts */
488 RShift = 7 - rpng_x_msb(RMask); /* these are right-shifts, too */
572 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) |
684 pixel = (red & RMask) | (green & GMask) | (blue & BMask);
747 pixel = ((red >> RShift) & RMask) |
779 pixel = ((red >> RShift) & RMask) |
H A Drpng2-x.c224 static ulg RMask, GMask, BMask; variable
672 RMask = visual->red_mask;
688 RShift = 15 - rpng2_x_msb(RMask); /* these are right-shifts */
692 RShift = rpng2_x_msb(RMask) - 7; /* these are left-shifts */
820 bg_pixel = (((bg_red << 8) >> RShift) & RMask) |
1101 pixel = ((red >> RShift) & RMask) |
1256 pixel = ((red >> RShift) & RMask) |
1293 pixel = ((red >> RShift) & RMask) |

Completed in 1708 milliseconds