Lines Matching defs:gshift
61 int rshift, bshift, gshift, ashift;
75 gshift = bbits;
76 rshift = gshift + gbits;
80 gshift = rbits;
81 bshift = gshift + gbits;
85 gshift = bshift - gbits;
86 rshift = gshift - rbits;
93 *pixel |= (green >> (16 - gbits)) << gshift;
110 int rshift, bshift, gshift, ashift;
122 gshift = bbits;
123 rshift = gshift + gbits;
127 gshift = rbits;
128 bshift = gshift + gbits;
132 gshift = bshift - gbits;
133 rshift = gshift - rbits;
144 *green = ((pixel >> gshift ) & ((1 << gbits) - 1)) << (16 - gbits);