Searched defs:RShift (Results 1 - 2 of 2) sorted by relevance

/vbox/src/libs/libpng-1.2.8/contrib/gregbook/
H A Drpng-x.c113 static int RShift, GShift, BShift; variable
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 */
493 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) {
568 bg_pixel = ((ulg)bg_red << RShift) |
572 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) |
671 pixel = (red << RShift) |
681 red = (RShift < 0)? red << (-RShift)
[all...]
H A Drpng2-x.c223 static int RShift, GShift, BShift; variable
688 RShift = 15 - rpng2_x_msb(RMask); /* these are right-shifts */
692 RShift = rpng2_x_msb(RMask) - 7; /* these are left-shifts */
696 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) {
816 bg_pixel = (bg_red << RShift) |
820 bg_pixel = (((bg_red << 8) >> RShift) & RMask) |
1079 pixel = (red << RShift) |
1101 pixel = ((red >> RShift) & RMask) |
1192 pixel = (red << RShift) |
1229 pixel = (red << RShift) |
[all...]

Completed in 60 milliseconds