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

/external/libpng/contrib/gregbook/
H A Drpng-x.c146 static int RShift, GShift, BShift; variable
523 RShift = 15 - rpng_x_msb(RMask); /* these are right-shifts */
529 RShift = rpng_x_msb(RMask) - 7; /* these are left-shifts */
533 RShift = 7 - rpng_x_msb(RMask); /* these are right-shifts, too */
538 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) {
620 bg_pixel = ((ulg)bg_red << RShift) |
624 bg_pixel = ((((ulg)bg_red << 8) >> RShift) & RMask) |
723 pixel = (red << RShift) |
733 red = (RShift < 0)? red << (-RShift)
[all...]
H A Drpng2-x.c294 static int RShift, GShift, BShift; variable
906 RShift = 15 - rpng2_x_msb(RMask); /* these are right-shifts */
910 RShift = rpng2_x_msb(RMask) - 7; /* these are left-shifts */
914 if (depth >= 15 && (RShift < 0 || GShift < 0 || BShift < 0)) {
1041 bg_pixel = (bg_red << RShift) |
1045 bg_pixel = (((bg_red << 8) >> RShift) & RMask) |
1309 pixel = (red << RShift) |
1323 pixel = (red << RShift) |
1328 /* (probably need to use RShift, RMask, etc.) */
1346 pixel = ((red >> RShift)
[all...]

Completed in 38 milliseconds