Home
last modified time | relevance | path

Searched refs:colourMap (Results 1 – 14 of 14) 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.c28 rfbPixelFormat *out,rfbColourMap* colourMap) in rfbInitColourMapSingleTable24() argument
34 int shift = colourMap->is16?16:8; in rfbInitColourMapSingleTable24()
42 if(i < colourMap->count) { in rfbInitColourMapSingleTable24()
43 if(colourMap->is16) { in rfbInitColourMapSingleTable24()
44 r = colourMap->data.shorts[3*i+0]; in rfbInitColourMapSingleTable24()
45 g = colourMap->data.shorts[3*i+1]; in rfbInitColourMapSingleTable24()
46 b = colourMap->data.shorts[3*i+2]; in rfbInitColourMapSingleTable24()
48 r = colourMap->data.bytes[3*i+0]; in rfbInitColourMapSingleTable24()
49 g = colourMap->data.bytes[3*i+1]; in rfbInitColourMapSingleTable24()
50 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.c3273 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/vncterm/
DLinuxVNC.c121 console->screen->colourMap.data.bytes[i*3+0]=default_red[color_table[i]]; in main()
122 console->screen->colourMap.data.bytes[i*3+1]=default_grn[color_table[i]]; in main()
123 console->screen->colourMap.data.bytes[i*3+2]=default_blu[color_table[i]]; in main()
DVNConsole.c28 rfbColourMap* colourMap=&(c->screen->colourMap); in MakeColourMap16() local
29 if(colourMap->count) in MakeColourMap16()
30 free(colourMap->data.bytes); in MakeColourMap16()
31 colourMap->data.bytes=malloc(16*3); in MakeColourMap16()
32 memcpy(colourMap->data.bytes,colourMap16,16*3); in MakeColourMap16()
33 colourMap->count=16; in MakeColourMap16()
34 colourMap->is16=FALSE; in MakeColourMap16()
/external/libvncserver/x11vnc/
Dscreen.c129 if (screen->colourMap.data.shorts) { in set_greyscale_colormap()
130 free(screen->colourMap.data.shorts); in set_greyscale_colormap()
131 screen->colourMap.data.shorts = NULL; in set_greyscale_colormap()
135 screen->colourMap.count = NCOLOR; in set_greyscale_colormap()
137 screen->colourMap.is16 = TRUE; in set_greyscale_colormap()
138 screen->colourMap.data.shorts = (unsigned short *) in set_greyscale_colormap()
144 screen->colourMap.data.shorts[i*3+0] = lvl; in set_greyscale_colormap()
145 screen->colourMap.data.shorts[i*3+1] = lvl; in set_greyscale_colormap()
146 screen->colourMap.data.shorts[i*3+2] = lvl; in set_greyscale_colormap()
160 if (screen->colourMap.data.shorts) { in set_hi240_colormap()
[all …]
DREADME12707 To workaround RealVNC: inPF has colourMap but not 8bpp
/external/libvncserver/webclients/novnc/include/
Ddisplay.js190 bgr = conf.colourMap[color[0]];
446 bgr = conf.colourMap[color[0]];
471 bgr = conf.colourMap[color[0]];
544 cmap = conf.colourMap;
589 changeCursor(conf.target, pixels, mask, hotx, hoty, w, h, conf.colourMap);
/external/libvncserver/rfb/
Drfb.h261 rfbColourMap colourMap; /**< set this if rfbServerFormat.trueColour==FALSE */ member