Lines Matching refs:nGreen
1602 int mono, nRed, nGreen, nBlue;
1693 nGreen = nBlue = 0;
1701 nGreen = 1 << CountBits(visInfoPtr->green_mask);
1709 nGreen = 32;
1716 nGreen = ip[1];
1732 sprintf(buf, ((mono) ? "%d": "%d/%d/%d"), nRed, nGreen, nBlue);
2286 int nRed, nGreen, nBlue, mono, numColors;
2302 nGreen = nBlue = nRed;
2305 nGreen = strtol(palette, &endp, 10);
2306 if ((endp == palette) || (*endp != '/') || (nGreen < 2)
2307 || (nGreen > 256)) {
2323 || (nGreen > (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);
2604 colors[i].green = CFRAC(i, nGreen - 1);
2608 colors[i].green = CGFRAC(i, nGreen - 1, igam);
2618 numColors = (mono) ? nRed: (nRed * nGreen * nBlue);
2628 for (g = 0; g < nGreen; ++g) {
2632 colors[i].green = CFRAC(g, nGreen - 1);
2636 colors[i].green = CGFRAC(g, nGreen - 1, igam);
2699 if ((nRed == 2) && (nGreen == 2) && (nBlue == 2)) {
2714 nGreen = (nGreen * 3 + 2) / 4;
2756 rMult = nGreen * nBlue;
2767 g = (i * (nGreen - 1) + 127) / 255;
3665 int nRed, nGreen, nBlue, result;
3668 &nGreen, &nBlue);
3670 && ((result == 1) || ((nGreen >= 256) && (nBlue >= 256)))) {