Lines Matching full:red
584 colors[i].red = gamma[index].red; in CMapRefreshColors()
592 colors[i].red = gamma[i * maxValue / reds].red; in CMapRefreshColors()
600 colors[i].red = gamma[((i >> pVisual->offsetRed) & reds) * in CMapRefreshColors()
601 maxValue / reds].red; in CMapRefreshColors()
613 entry = (EntryPtr) &pmap->red[index]; in CMapRefreshColors()
616 colors[index].red = in CMapRefreshColors()
617 gamma[entry->co.shco.red->color >> shift].red; in CMapRefreshColors()
624 colors[index].red = gamma[entry->co.local.red >> shift].red; in CMapRefreshColors()
636 colors[index].red = in CMapRefreshColors()
637 gamma[pmap->red[index].co.local.red >> shift].red; in CMapRefreshColors()
651 colors[index].red = gamma[pmap->red[(index >> pVisual-> in CMapRefreshColors()
653 red >> shift].red; 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()
863 if (pScrn->gamma.red < GAMMA_MIN || pScrn->gamma.red > GAMMA_MAX || in ComputeGamma()
873 pScrn->gamma.red = 1.0; in ComputeGamma()
879 RedGamma = 1.0 / (double) pScrn->gamma.red; in ComputeGamma()
885 priv->gamma[i].red = i; in ComputeGamma()
887 priv->gamma[i].red = (CARD16) (pow((double) i / (double) elements, in ComputeGamma()
925 if (gamma.red < GAMMA_MIN || gamma.red > GAMMA_MAX || in CMapChangeGamma()
930 pScrn->gamma.red = gamma.red; in CMapChangeGamma()
986 unsigned short *red, in ComputeGammaRamp() argument
994 entry->red = *(red++) >> shift; in ComputeGammaRamp()
1004 unsigned short *red, in xf86ChangeGammaRamp() argument
1023 ComputeGammaRamp(pScreenPriv, red, green, blue); in xf86ChangeGammaRamp()
1087 unsigned short *red, in xf86GetGammaRamp() argument
1109 *red = entry->red << (16 - sigbits); in xf86GetGammaRamp()
1114 *red |= *red >> shift; in xf86GetGammaRamp()
1119 red++; in xf86GetGammaRamp()