Searched refs:reds (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/xf86-video-mach64/dist/src/
H A Datidac.c383 int reds = pVisual->redMask >> pVisual->offsetRed; local in function:ATILoadPalette
412 if (Index <= reds)
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/
H A Dxf86cmap.c570 int reds, greens, blues, maxValue, index, shift; local in function:CMapRefreshColors
578 reds = pVisual->redMask >> pVisual->offsetRed;
593 for(i = 0; i <= reds; i++)
594 colors[i].red = gamma[i * maxValue / reds].red;
602 colors[i].red = gamma[((i >> pVisual->offsetRed) & reds) *
603 maxValue / reds].red;
638 if(index <= reds)
655 (index >> pVisual->offsetRed) & reds
/xsrc/external/mit/xorg-server/dist/hw/xfree86/common/
H A Dxf86cmap.c568 int reds, greens, blues, maxValue, index, shift; local in function:CMapRefreshColors
576 reds = pVisual->redMask >> pVisual->offsetRed;
591 for (i = 0; i <= reds; i++)
592 colors[i].red = gamma[i * maxValue / reds].red;
600 colors[i].red = gamma[((i >> pVisual->offsetRed) & reds) *
601 maxValue / reds].red;
635 if (index <= reds)
652 offsetRed) & reds].co.local.
/xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/
H A Dxf86RandR12.c1958 int reds, greens, blues, index, palette_size; local in function:xf86RandR12LoadPalette
1962 reds = (pVisual->redMask >> pVisual->offsetRed) + 1;
1966 reds = greens = blues = pVisual->ColormapEntries;
1969 palette_size = max(reds, max(greens, blues));
1984 randrp->palette_red_size = reds;
1991 if (index < reds)
2005 xf86RandR12CrtcComputeGamma(crtc, colors, reds, greens, blues,
2011 xf86RandR12CrtcComputeGamma(crtc, colors, reds, greens, blues,
/xsrc/external/mit/xf86-video-sis/dist/src/
H A Dsis_driver.c748 int reds = pScrn->mask.red >> pScrn->offset.red; local in function:SISCalculateGammaRampCRT2
798 pSiS->crt2gcolortable[i * maxvalue / reds].red;

Completed in 20 milliseconds