Lines Matching refs:green_max
218 if (greens <= 1) colorCube->green_max = 0;
219 else colorCube->green_max = greens - 1;
227 colorCube->red_max = colorCube->green_max = colorCube->blue_max =
267 colorCube->green_max = colorCube->blue_max =
403 if (c->red_max < 1 || c->green_max < 1 || c->blue_max < 1) return False;
405 pixel = (c->red_max * c->red_mult + c->green_max * c->green_mult +
450 colorCube->green_max = c->green_max;
558 ColorValuesFromMask(vinfo->green_mask, &colorCube->green_max,
578 if (colorCube->green_max == 0) {
579 colorCube->green_max =
594 if (colorCube->green_max == 0) {
595 colorCube->green_max =
602 colorCube->red_mult = (colorCube->green_max + 1) *
641 return cube->red_max == cube->green_max && cube->red_max ==
655 ramp->red_mult = (cube->red_max + 1) * (cube->green_max + 1) *
1012 test.green_max = largeMax; test.green_mult = largeMult;
1014 test.green_max = middleMax; test.green_mult = middleMult;
1018 test.green_max = smallMax; test.green_mult = smallMult;
1030 test.green_max = largeMax; test.green_mult = largeMult;
1032 test.green_max = middleMax; test.green_mult = middleMult;
1052 g = ((unsigned short) calc(i, green_max, green_mult) >> 8) -
1061 cube->green_max = test.green_max;
1215 if ((i = shiftdown(vinfo->green_mask)) > colorCube->green_max)
1216 colorCube->green_max = i;
1223 if (colorCube->green_max + 1 < count) count = colorCube->green_max + 1;
1224 colorCube->red_max = colorCube->blue_max = colorCube->green_max =
1231 (colorCube->green_max + 1);
1262 color.green = (unsigned short) calc(n, green_max, green_mult);
1539 if (map->green_max > *space - 1) map->green_max = *space - 1;
1543 while ((map->red_max + 1) * (map->green_max + 1) *
1549 if (map->green_max > 1) map->green_max--;
1556 *space = (map->red_max + 1) * (map->green_max + 1) *
1559 map->red_mult = (map->green_max + 1) * (map->blue_max + 1);