Home
last modified time | relevance | path

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

12

/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.c54 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) | in rfbInitColourMapSingleTable24()
86 inGreen = (i >> in->greenShift) & in->greenMax; in rfbInitTrueColourSingleTable24()
90 outGreen = (inGreen * out->greenMax + in->greenMax / 2) / in->greenMax; in rfbInitTrueColourSingleTable24()
120 *table = (char *)malloc((in->redMax + in->greenMax + in->blueMax + 3) in rfbInitTrueColourRGBTables24()
124 blueTable = greenTable + 3*(in->greenMax + 1); in rfbInitTrueColourRGBTables24()
128 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.c190 unsigned long greenMax = screen->serverFormat.greenMax; in rfbScaledScreenUpdateRect() local
220 green += ((pixel_value >> greenShift) & greenMax); in rfbScaledScreenUpdateRect()
230 …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()
/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.c140 client->format.greenMax = 7; in rfbGetClient()
147 client->format.greenMax = (1 << bitsPerSample) - 1; in rfbGetClient()
Dcursor.c34 (((uint##bpp##_t)(g) & 0xFF) * client->format.greenMax + 127) / 255 \
Drfbproto.c1231 client->si.format.greenMax = rfbClientSwap16IfLE(client->si.format.greenMax); in InitialiseRFBConnection()
1281 spf.format.greenMax = rfbClientSwap16IfLE(spf.format.greenMax); in SetFormatAndEncodings()
2097 if (client->si.format.greenMax > 0x1F) { in HandleRFBServerMessage()
2108 (client->format.greenMax<<client->format.greenShift)| in HandleRFBServerMessage()
2385 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.c55 cl->format.greenMax = (1 << image->visual->green_prec) - 1; in expose_event()
635 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/x11vnc/misc/turbovnc/
Dtight.c223 cl->format.greenMax == 0xFF && cl->format.blueMax == 0xFF ) {
579 cl->format.greenMax == rfbServerFormat.greenMax &&
1085 mask |= rfbServerFormat.greenMax << rfbServerFormat.greenShift; \
1457 (pix >> rfbServerFormat.greenShift & rfbServerFormat.greenMax);
1462 *dst2++ = (CARD8)((inGreen * 255 + rfbServerFormat.greenMax / 2) /
1463 rfbServerFormat.greenMax);
/external/libvncserver/rfb/
Drfbproto.h173 uint16_t greenMax; /* similar for green */ member
/external/libvncserver/webclients/java-applet/
DVncViewer.jarMETA-INF/MANIFEST.MF VncViewer.class VncViewer.java package VncViewer extends java.applet ...
/external/libvncserver/x11vnc/
Dscreen.c1229 green_mask = (client->format.greenMax << client->format.greenShift); in vnc_reflect_got_cursorshape()
1253 g = (255 * g) / client->format.greenMax; in vnc_reflect_got_cursorshape()
1545 green_mask = (client->format.greenMax << client->format.greenShift); in vnc_reflect_guess()
3271 screen->serverFormat.greenMax = 0;
3439 screen->serverFormat.greenMax
3445 main_green_max = screen->serverFormat.greenMax;
/external/libvncserver/webclients/java-applet/ssl/
DSignedVncViewer.jarMETA-INF/MANIFEST.MF META-INF/SWKEY.SF META-INF/SWKEY ...

12