Searched refs:prgb (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/kernel/Documentation/fb/ |
| H A D | cmap_xfbdev.rst | 43 FindBestPixel(pentFirst, size, prgb, channel) 45 dr = (long) pent->co.local.red - prgb->red; 46 dg = (long) pent->co.local.green - prgb->green; 47 db = (long) pent->co.local.blue - prgb->blue; 53 directly from the info->cmap.red that was listed above. The prgb is the rgb
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | colormap.c | 760 FindColor(ColormapPtr pmap, EntryPtr pentFirst, int size, xrgb * prgb, in FindColor() argument 777 if ((*comp) (pent, prgb)) { in FindColor() 825 pent->co.local.red = prgb->red; in FindColor() 826 pent->co.local.green = prgb->green; in FindColor() 827 pent->co.local.blue = prgb->blue; in FindColor() 828 def.red = prgb->red; in FindColor() 829 def.green = prgb->green; in FindColor() 830 def.blue = prgb->blue; in FindColor() 838 pent->co.local.red = prgb->red; in FindColor() 839 def.red = prgb->red; in FindColor() [all …]
|
| H A D | swaprep.c | 521 SwapRGB(xrgb * prgb) in SwapRGB() argument 523 swaps(&prgb->red); in SwapRGB() 524 swaps(&prgb->green); in SwapRGB() 525 swaps(&prgb->blue); in SwapRGB() 529 SQColorsExtend(ClientPtr pClient, int size, xrgb * prgb) in SQColorsExtend() argument 535 prgbT = prgb; in SQColorsExtend() 540 WriteToClient(pClient, size, prgb); in SQColorsExtend()
|
| /OK3568_Linux_fs/external/xserver/hw/vfb/ |
| H A D | InitOutput.c | 403 xrgb *prgb; in vfbInstallColormap() local 421 prgb = xallocarray(entries, sizeof(xrgb)); in vfbInstallColormap() 427 QueryColors(pmap, entries, ppix, prgb, serverClient); in vfbInstallColormap() 431 defs[i].red = prgb[i].red; in vfbInstallColormap() 432 defs[i].green = prgb[i].green; in vfbInstallColormap() 433 defs[i].blue = prgb[i].blue; in vfbInstallColormap() 439 free(prgb); in vfbInstallColormap()
|