Home
last modified time | relevance | path

Searched refs:colourMap (Results 1 – 9 of 9) sorted by relevance

/external/libvncserver/libvncserver/
Dtableinitcmtemplate.c47 rfbPixelFormat *out,rfbColourMap* colourMap) in rfbInitColourMapSingleTableOUT() argument
52 int shift = colourMap->is16?16:8; in rfbInitColourMapSingleTableOUT()
60 if(i < colourMap->count) { in rfbInitColourMapSingleTableOUT()
61 if(colourMap->is16) { in rfbInitColourMapSingleTableOUT()
62 r = colourMap->data.shorts[3*i+0]; in rfbInitColourMapSingleTableOUT()
63 g = colourMap->data.shorts[3*i+1]; in rfbInitColourMapSingleTableOUT()
64 b = colourMap->data.shorts[3*i+2]; in rfbInitColourMapSingleTableOUT()
66 r = colourMap->data.bytes[3*i+0]; in rfbInitColourMapSingleTableOUT()
67 g = colourMap->data.bytes[3*i+1]; in rfbInitColourMapSingleTableOUT()
68 b = colourMap->data.bytes[3*i+2]; in rfbInitColourMapSingleTableOUT()
Dtableinit24.c32 rfbPixelFormat *out,rfbColourMap* colourMap) in rfbInitColourMapSingleTable24() argument
38 int shift = colourMap->is16?16:8; in rfbInitColourMapSingleTable24()
46 if(i < colourMap->count) { in rfbInitColourMapSingleTable24()
47 if(colourMap->is16) { in rfbInitColourMapSingleTable24()
48 r = colourMap->data.shorts[3*i+0]; in rfbInitColourMapSingleTable24()
49 g = colourMap->data.shorts[3*i+1]; in rfbInitColourMapSingleTable24()
50 b = colourMap->data.shorts[3*i+2]; in rfbInitColourMapSingleTable24()
52 r = colourMap->data.bytes[3*i+0]; in rfbInitColourMapSingleTable24()
53 g = colourMap->data.bytes[3*i+1]; in rfbInitColourMapSingleTable24()
54 b = colourMap->data.bytes[3*i+2]; in rfbInitColourMapSingleTable24()
Dtranslate.c335 &(cl->screen->serverFormat), &cl->format,&cl->screen->colourMap); in rfbSetTranslateFunction()
422 nColours = cl->screen->colourMap.count; in rfbSetClientColourMap()
429 &cl->screen->serverFormat, &cl->format,&cl->screen->colourMap); in rfbSetClientColourMap()
Dmain.c776 screen->colourMap.count = 0; in rfbInitServerFormat()
777 screen->colourMap.is16 = 0; in rfbInitServerFormat()
778 screen->colourMap.data.bytes = NULL; in rfbInitServerFormat()
1020 FREE_IF(colourMap.data.bytes); in rfbScreenCleanup()
Drfbserver.c3408 rfbColourMap* cm = &cl->screen->colourMap; in rfbSendSetColourMapEntries()
/external/libvncserver/examples/
Dcolourmaptest.c13 server->colourMap.count=256; in main()
14 server->colourMap.is16=FALSE; in main()
23 server->colourMap.data.bytes=bytes; in main()
Dpnmshow.c87 rfbScreen->colourMap.count=256; in main()
88 rfbScreen->colourMap.is16=FALSE; in main()
89 rfbScreen->colourMap.data.bytes=malloc(256*3); in main()
91 memset(rfbScreen->colourMap.data.bytes+3*i,i,3); in main()
Dvncev.c118 s->colourMap.is16=FALSE; in main()
119 s->colourMap.count=2; in main()
120 s->colourMap.data.bytes=(unsigned char*)"\xd0\xd0\xd0\x30\x01\xe0"; in main()
/external/libvncserver/rfb/
Drfb.h261 rfbColourMap colourMap; /**< set this if rfbServerFormat.trueColour==FALSE */ member