Lines Matching full:green

585             colors[i].green = gamma[index].green;  in CMapRefreshColors()
594 colors[i].green = gamma[i * maxValue / greens].green; in CMapRefreshColors()
602 colors[i].green = gamma[((i >> pVisual->offsetGreen) & greens) * in CMapRefreshColors()
603 maxValue / greens].green; in CMapRefreshColors()
618 colors[index].green = in CMapRefreshColors()
619 gamma[entry->co.shco.green->color >> shift].green; in CMapRefreshColors()
625 colors[index].green = in CMapRefreshColors()
626 gamma[entry->co.local.green >> shift].green; in CMapRefreshColors()
639 colors[index].green = in CMapRefreshColors()
640 gamma[pmap->green[index].co.local.green >> shift].green; in CMapRefreshColors()
654 colors[index].green = in CMapRefreshColors()
655 gamma[pmap->green[(index >> pVisual->offsetGreen) & greens].co. in CMapRefreshColors()
656 local.green >> shift].green; in CMapRefreshColors()
678 color1->red, color1->green, color1->blue, in CMapCompareColors()
679 color2->red, color2->green, color2->blue, in CMapCompareColors()
680 color1->red + color1->green + color1->blue, in CMapCompareColors()
681 color2->red + color2->green + color2->blue); in CMapCompareColors()
683 return (color1->red + color1->green + color1->blue < in CMapCompareColors()
684 color2->red + color2->green + color2->blue); in CMapCompareColors()
758 if (colors[i].red == 0 && colors[i].green == 0 && in CMapSetOverscan()
783 if (colors[overscan].red != 0 || colors[overscan].green != 0 || in CMapSetOverscan()
790 if (colors[index].red == 0 && colors[index].green == 0 && in CMapSetOverscan()
864 pScrn->gamma.green < GAMMA_MIN || pScrn->gamma.green > GAMMA_MAX || in ComputeGamma()
874 pScrn->gamma.green = 1.0; in ComputeGamma()
880 GreenGamma = 1.0 / (double) pScrn->gamma.green; in ComputeGamma()
892 priv->gamma[i].green = i; in ComputeGamma()
894 priv->gamma[i].green = (CARD16) (pow((double) i / (double) elements, in ComputeGamma()
926 gamma.green < GAMMA_MIN || gamma.green > GAMMA_MAX || in CMapChangeGamma()
931 pScrn->gamma.green = gamma.green; in CMapChangeGamma()
987 unsigned short *green, unsigned short *blue) in ComputeGammaRamp() argument
995 entry->green = *(green++) >> shift; in ComputeGammaRamp()
1005 unsigned short *green, unsigned short *blue) in xf86ChangeGammaRamp() argument
1023 ComputeGammaRamp(pScreenPriv, red, green, blue); in xf86ChangeGammaRamp()
1088 unsigned short *green, unsigned short *blue) in xf86GetGammaRamp() argument
1110 *green = entry->green << (16 - sigbits); in xf86GetGammaRamp()
1115 *green |= *green >> shift; in xf86GetGammaRamp()
1120 green++; in xf86GetGammaRamp()