Lines Matching defs:green
60 * green_max returns maximum green value
131 * Maximum green and maximum blue values are identical to maximum red.
139 unsigned long *green, unsigned long *blue)
148 *red = *green = *blue = (unsigned long) 27;
151 *red = *green = *blue = (unsigned long) 12;
156 *red = *green = *blue = (unsigned long)
164 *red = *green = *blue = vinfo->colormap_size / 2 - 1;
170 *green = vinfo->green_mask / lowbit(vinfo->green_mask);
184 gray_allocation(ngrays, red, green, blue);
201 * with green getting more than red, and red more than blue, if there
206 * maximum green value = n / ((# red values) * (# blue values)) - 1;
212 best_allocation(XVisualInfo *vinfo, unsigned long *red, unsigned long *green,
221 *green = vinfo->green_mask;
222 while ((*green & 01) == 0)
223 *green >>=1;
244 * the allocation by "dealing" the bits, first to green, then red, then
245 * blue. If not, find the maximum integral red, green, and blue values
257 *green = 1 << g;
264 *green = (vinfo->colormap_size / ((*red) * (*blue)));
267 (*green)--;