Home
last modified time | relevance | path

Searched refs:FindBestPixel (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/xserver/dix/
H A Dcolormap.c70 static Pixel FindBestPixel(EntryPtr /*pentFirst */ ,
960 *pPix = pixR = FindBestPixel(pmap->red, entries, &rgb, PSEUDOMAP); in AllocColor()
976 pixR = FindBestPixel(pmap->red, NUMRED(pVisual), &rgb, REDMAP); in AllocColor()
977 pixG = FindBestPixel(pmap->green, NUMGREEN(pVisual), &rgb, GREENMAP); in AllocColor()
978 pixB = FindBestPixel(pmap->blue, NUMBLUE(pVisual), &rgb, BLUEMAP); in AllocColor()
1135 item->pixel = FindBestPixel(pmap->red, entries, &rgb, PSEUDOMAP); in FakeAllocColor()
1145 pixR = FindBestPixel(pmap->red, NUMRED(pVisual), &rgb, REDMAP) in FakeAllocColor()
1149 pixG = FindBestPixel(pmap->green, NUMGREEN(pVisual), &rgb, in FakeAllocColor()
1153 pixB = FindBestPixel(pmap->blue, NUMBLUE(pVisual), &rgb, BLUEMAP) in FakeAllocColor()
1160 pixR = FindBestPixel(pmap->red, NUMRED(pVisual), &rgb, REDMAP); in FakeAllocColor()
[all …]
/OK3568_Linux_fs/kernel/Documentation/fb/
H A Dcmap_xfbdev.rst43 FindBestPixel(pentFirst, size, prgb, channel)