Lines Matching refs:blue_max

220 	if (blues <= 1) colorCube->blue_max = 0;
221 else colorCube->blue_max = blues - 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;
406 c->blue_max * c->blue_mult + c->base_pixel) & 0xFFFFFFFF;
452 colorCube->blue_max = c->blue_max;
560 ColorValuesFromMask(vinfo->blue_mask, &colorCube->blue_max,
582 if (colorCube->blue_max == 0) {
583 colorCube->blue_max =
598 if (colorCube->blue_max == 0) {
599 colorCube->blue_max =
603 (colorCube->blue_max + 1);
604 colorCube->green_mult = colorCube->blue_max + 1;
642 cube->blue_max;
656 (cube->blue_max + 1) - 1;
1011 test.blue_max = middleMax; test.blue_mult = middleMult;
1015 test.blue_max = largeMax; test.blue_mult = largeMult;
1020 test.blue_max = middleMax; test.blue_mult = middleMult;
1024 test.blue_max = largeMax; test.blue_mult = largeMult;
1027 test.blue_max = smallMax; test.blue_mult = smallMult;
1054 b = ((unsigned short) calc(i, blue_max, blue_mult) >> 8) -
1063 cube->blue_max = test.blue_max;
1217 if ((i = shiftdown(vinfo->blue_mask)) > colorCube->blue_max)
1218 colorCube->blue_max = i;
1222 if (colorCube->blue_max + 1 < count) count = colorCube->blue_max + 1;
1224 colorCube->red_max = colorCube->blue_max = colorCube->green_max =
1230 count = (colorCube->red_max + 1) * (colorCube->blue_max + 1) *
1263 color.blue = (unsigned short) calc(n, blue_max, blue_mult);
1403 if (map->blue_max == 0 || vinfo->class == DirectColor) total = 2;
1428 if (map->blue_max != 0 || npixels >= 2) success = True;
1446 if (((map->blue_max == 0 || vinfo->class == DirectColor) &&
1536 if (map->blue_max == 0) map->red_max = *space - 1;
1540 if (map->blue_max > *space - 1) map->blue_max = *space - 1;
1544 (map->blue_max + 1) > *space) {
1552 if (map->blue_max > 1) map->blue_max--;
1557 (map->blue_max + 1);
1559 map->red_mult = (map->green_max + 1) * (map->blue_max + 1);
1560 map->green_mult = map->blue_max + 1;