Lines Matching refs:green_max
159 TRUEMATCH(green_mult, green_max, green_mask) &&
187 if (colormap->green_max > ncolors)
188 ncolors = colormap->green_max;
197 colormap->green_max * colormap->green_mult +
251 colormap->green_max +
260 else if (colormap->green_max == 0 && colormap->blue_max == 0)
277 color.green = (unsigned short) ((i * 65535) / colormap->green_max);
286 else if (colormap->red_max == 0 && colormap->green_max == 0)
308 color.green = calc(green_max, green_mult);
510 last_pixel = (colormap->red_max + 1) * (colormap->green_max + 1) *
521 ((((i/colormap->green_mult) % (colormap->green_max + 1)) *
522 65535) / colormap->green_max);