Home
last modified time | relevance | path

Searched refs:greenMax (Results 1 – 23 of 23) sorted by relevance

/external/libvncserver/libvncserver/
Dtableinittctemplate.c74 inGreen = (i >> in->greenShift) & in->greenMax; in rfbInitTrueColourSingleTableOUT()
78 outGreen = (inGreen * out->greenMax + in->greenMax / 2) / in->greenMax; in rfbInitTrueColourSingleTableOUT()
107 *table = (char *)malloc((in->redMax + in->greenMax + in->blueMax + 3) in rfbInitTrueColourRGBTablesOUT()
111 blueTable = greenTable + in->greenMax + 1; in rfbInitTrueColourRGBTablesOUT()
115 rfbInitOneRGBTableOUT (greenTable, in->greenMax, out->greenMax, in rfbInitTrueColourRGBTablesOUT()
Dtableinit24.c58 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) | in rfbInitColourMapSingleTable24()
90 inGreen = (i >> in->greenShift) & in->greenMax; in rfbInitTrueColourSingleTable24()
94 outGreen = (inGreen * out->greenMax + in->greenMax / 2) / in->greenMax; in rfbInitTrueColourSingleTable24()
124 *table = (char *)malloc((in->redMax + in->greenMax + in->blueMax + 3) in rfbInitTrueColourRGBTables24()
128 blueTable = greenTable + 3*(in->greenMax + 1); in rfbInitTrueColourRGBTables24()
132 rfbInitOneRGBTable24 (greenTable, in->greenMax, out->greenMax, in rfbInitTrueColourRGBTables24()
Dtabletrans24template.c101 uint8_t *blueTable = greenTable + 3*(in->greenMax + 1); in rfbTranslateWithRGBTables24to24()
111 greenTable[(inValue >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTables24to24()
186 OUT_T *blueTable = greenTable + in->greenMax + 1; in rfbTranslateWithRGBTables24toOUT()
196 greenTable[(inValue >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTables24toOUT()
255 uint8_t *blueTable = greenTable + 3*(in->greenMax + 1); in rfbTranslateWithRGBTablesINto24()
263 greenTable[(*ip >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTablesINto24()
Dtabletranstemplate.c98 OUT_T *blueTable = greenTable + in->greenMax + 1; in rfbTranslateWithRGBTablesINtoOUT()
105 greenTable[(*ip >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTablesINtoOUT()
Dscale.c196 unsigned long greenMax = screen->serverFormat.greenMax; in rfbScaledScreenUpdateRect() local
226 green += ((pixel_value >> greenShift) & greenMax); in rfbScaledScreenUpdateRect()
236 …pixel_value = ((red & redMax) << redShift) | ((green & greenMax) << greenShift) | ((blue & blueMax… in rfbScaledScreenUpdateRect()
Dtranslate.c53 (x.greenMax == y.greenMax) && \
471 pf->redMax, pf->greenMax, pf->blueMax, in PrintPixelFormat()
Dtight.c336 cl->format.greenMax == 0xFF && cl->format.blueMax == 0xFF ) { in SendRectEncodingTight()
702 cl->format.greenMax == cl->screen->serverFormat.greenMax && in SendSubrect()
1246 mask |= cl->screen->serverFormat.greenMax \
1609 & cl->screen->serverFormat.greenMax); in SendJpegRect()
1616 + cl->screen->serverFormat.greenMax / 2) in SendJpegRect()
1617 / cl->screen->serverFormat.greenMax); in SendJpegRect()
1676 cl->screen->serverFormat.greenMax == 0xFF && in PrepareRowForImg()
1727 (pix >> cl->screen->serverFormat.greenShift & cl->screen->serverFormat.greenMax); \
1733 *dst++ = (uint8_t)((inGreen * 255 + cl->screen->serverFormat.greenMax / 2) / \
1734 cl->screen->serverFormat.greenMax); \
Dzrle.c143 if (cl->format.greenMax > 0x1F) { in rfbSendRectEncodingZRLE()
159 (cl->format.greenMax << cl->format.greenShift) < (1<<24) && in rfbSendRectEncodingZRLE()
Dtableinitcmtemplate.c72 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) | in rfbInitColourMapSingleTableOUT()
Dcursor.c399 ((format->greenMax * cursor->backGreen) / 0xffff) << format->greenShift | in rfbMakeXCursorFromRichCursor()
404 …g = (255 * (((format->greenMax << format->greenShift) & (*u)) >> format->greenShift)) / format->gr… in rfbMakeXCursorFromRichCursor()
577 gmax = s->serverFormat.greenMax; in rfbShowCursor()
Dmain.c782 format->greenMax = 7; in rfbInitServerFormat()
789 format->greenMax = (1 << bitsPerSample) - 1; in rfbInitServerFormat()
Drfbserver.c798 u.si.format.greenMax = Swap16IfLE(u.si.format.greenMax); in rfbProcessClientInitMessage()
2025 cl->format.greenMax = Swap16IfLE(msg.spf.format.greenMax); in rfbProcessClientNormalMessage()
/external/libvncserver/examples/
Dzippy.c90 rfbDrawPixel(s,i,j,f.greenMax<<f.greenShift); in draw_primary_colours_generic()
101 rfbDrawPixel(s,x1,y3,f.greenMax<<f.greenShift); in draw_primary_colours_generic_fast()
119 rfbFillRect(s,x1,y3,x2,y4,f.greenMax<<f.greenShift); in draw_primary_colours_generic_ultrafast()
/external/libvncserver/libvncclient/
Dtight.c54 ((CARD##bpp)(g) & client->format.greenMax) << client->format.greenShift | \
60 (((CARD##bpp)(g) & 0xFF) * client->format.greenMax + 127) / 255 \
121 client->format.greenMax == 0xFF && client->format.blueMax == 0xFF) { in HandleTightBPP()
308 client->format.greenMax == 0xFF && client->format.blueMax == 0xFF) { in InitFilterCopyBPP()
417 max[1] = client->format.greenMax; in FilterGradientBPP()
471 client->format.greenMax == 0xFF && client->format.blueMax == 0xFF) { in InitFilterPaletteBPP()
Dvncviewer.c172 client->format.greenMax = 7; in rfbGetClient()
179 client->format.greenMax = (1 << bitsPerSample) - 1; in rfbGetClient()
Dcursor.c34 (((uint##bpp##_t)(g) & 0xFF) * client->format.greenMax + 127) / 255 \
Drfbproto.c1252 client->si.format.greenMax = rfbClientSwap16IfLE(client->si.format.greenMax); in InitialiseRFBConnection()
1305 spf.format.greenMax = rfbClientSwap16IfLE(spf.format.greenMax); in SetFormatAndEncodings()
2130 if (client->si.format.greenMax > 0x1F) { in HandleRFBServerMessage()
2141 (client->format.greenMax<<client->format.greenShift)| in HandleRFBServerMessage()
2430 format->redMax, format->greenMax, format->blueMax, in PrintPixelFormat()
/external/libvncserver/client_examples/
Dppmtest.c55 fputc((v>>pf->greenShift)*256/(pf->greenMax+1),f); in SaveFramebufferAsPPM()
DSDLvncviewer.c58 client->format.greenMax=sdl->format->Gmask>>client->format.greenShift; in resize()
222 #define GREENMAX cl->format.greenMax in resizeRectangleToReal()
Dgtkvncviewer.c61 cl->format.greenMax = (1 << image->visual->green_prec) - 1; in expose_event()
660 cl->format.greenMax = (1 << image->visual->green_prec) - 1; in main()
Dvnc2mpg.c347 client->format.greenShift=5; client->format.greenMax=63; in main()
/external/libvncserver/rfb/
Drfbproto.h177 uint16_t greenMax; /* similar for green */ member
/external/libvncserver/webclients/java-applet/ssl/
Dultravnc-102-JavaViewer-ssl-etc.patch5179 + rfb.greenMax = 255;