Lines Matching refs:nBlue
1602 int mono, nRed, nGreen, nBlue;
1693 nGreen = nBlue = 0;
1702 nBlue = 1 << CountBits(visInfoPtr->blue_mask);
1710 nBlue = 32;
1717 nBlue = ip[2];
1732 sprintf(buf, ((mono) ? "%d": "%d/%d/%d"), nRed, nGreen, nBlue);
2286 int nRed, nGreen, nBlue, mono, numColors;
2302 nGreen = nBlue = nRed;
2311 nBlue = strtol(palette, &endp, 10);
2312 if ((endp == palette) || (*endp != 0) || (nBlue < 2)
2313 || (nBlue > 256)) {
2325 || (nBlue > (1
2334 numColors *= nGreen*nBlue;
2543 int numColors, nRed, nGreen, nBlue;
2559 mono = sscanf(colorPtr->id.palette, "%d/%d/%d", &nRed, &nGreen, &nBlue)
2595 numColors = nGreen = nBlue = nRed;
2597 numColors = MAX(MAX(nRed, nGreen), nBlue);
2605 colors[i].blue = CFRAC(i, nBlue - 1);
2609 colors[i].blue = CGFRAC(i, nBlue - 1, igam);
2618 numColors = (mono) ? nRed: (nRed * nGreen * nBlue);
2629 for (b = 0; b < nBlue; ++b) {
2633 colors[i].blue = CFRAC(b, nBlue - 1);
2637 colors[i].blue = CGFRAC(b, nBlue - 1, igam);
2699 if ((nRed == 2) && (nGreen == 2) && (nBlue == 2)) {
2715 nBlue = (nBlue * 3 + 2) / 4;
2756 rMult = nGreen * nBlue;
2768 b = (i * (nBlue - 1) + 127) / 255;
2779 g *= nBlue;
3665 int nRed, nGreen, nBlue, result;
3668 &nGreen, &nBlue);
3670 && ((result == 1) || ((nGreen >= 256) && (nBlue >= 256)))) {