Lines Matching defs:rbits
182 int rbits, bbits, gbits, abits;
190 rbits = PICT_FORMAT_R(format);
199 ashift = rshift + rbits;
203 gshift = rbits;
209 *pixel |= (red >> (16 - rbits)) << rshift;
223 int rbits, bbits, gbits, abits;
229 rbits = PICT_FORMAT_R(format);
238 ashift = rshift + rbits;
242 gshift = rbits;
247 *red = ((pixel >> rshift) & ((1 << rbits) - 1)) << (16 - rbits);
248 while (rbits < 16) {
249 *red |= *red >> rbits;
250 rbits <<= 1;