Lines Matching defs:gshift
214 int rshift, bshift, gshift, ashift;
233 gshift = bbits;
234 rshift = gshift + gbits;
238 gshift = rbits;
239 bshift = gshift + gbits;
245 gshift = rshift + rbits;
246 bshift = gshift + gbits;
254 *pixel |= (green >> (16 - gbits)) << gshift;
270 int rshift, bshift, gshift, ashift;
278 rshift = gshift = bshift = ashift = 0;
281 gshift = bbits;
282 rshift = gshift + gbits;
286 gshift = rbits;
287 bshift = gshift + gbits;
295 gshift = rshift + rbits;
296 bshift = gshift + gbits;
312 *green = ((pixel >> gshift) & ((1 << gbits) - 1)) << (16 - gbits);