Home
last modified time | relevance | path

Searched refs:greenShift (Results 1 – 25 of 37) sorted by relevance

12

/external/libvncserver/libvncserver/
Dtableinit24.c54 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) | in rfbInitColourMapSingleTable24()
86 inGreen = (i >> in->greenShift) & in->greenMax; in rfbInitTrueColourSingleTable24()
94 (outGreen << out->greenShift) | in rfbInitTrueColourSingleTable24()
129 out->greenShift, (out->bigEndian != in->bigEndian)); in rfbInitTrueColourRGBTables24()
Dtableinittctemplate.c74 inGreen = (i >> in->greenShift) & in->greenMax; in rfbInitTrueColourSingleTableOUT()
82 (outGreen << out->greenShift) | in rfbInitTrueColourSingleTableOUT()
116 out->greenShift, (out->bigEndian != in->bigEndian)); in rfbInitTrueColourRGBTablesOUT()
Dtabletrans24template.c111 greenTable[(inValue >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTables24to24()
196 greenTable[(inValue >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTables24toOUT()
263 greenTable[(*ip >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTablesINto24()
Dscale.c187 unsigned int greenShift = screen->serverFormat.greenShift; 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.c56 (x.greenShift == y.greenShift) && \
472 pf->redShift, pf->greenShift, pf->blueShift); in PrintPixelFormat()
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()
460 cursor->backGreen<<format->greenShift|cursor->backBlue<<format->blueShift; in rfbMakeRichCursorFromXCursor()
462 cursor->foreGreen<<format->greenShift|cursor->foreBlue<<format->blueShift; in rfbMakeRichCursorFromXCursor()
580 gshift = s->serverFormat.greenShift; in rfbShowCursor()
Dzrle.c159 (cl->format.greenMax << cl->format.greenShift) < (1<<24) && in rfbSendRectEncodingZRLE()
163 cl->format.greenShift > 7 && in rfbSendRectEncodingZRLE()
Dtableinitcmtemplate.c72 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) | in rfbInitColourMapSingleTableOUT()
Dtabletranstemplate.c105 greenTable[(*ip >> in->greenShift) & in->greenMax] | in rfbTranslateWithRGBTablesINtoOUT()
Dmain.c785 format->greenShift = 3; in rfbInitServerFormat()
793 format->greenShift = bitsPerSample; in rfbInitServerFormat()
798 format->greenShift = bitsPerSample*1; in rfbInitServerFormat()
802 format->greenShift = bitsPerSample*2; in rfbInitServerFormat()
Dtight.c1247 << cl->screen->serverFormat.greenShift; \
1439 g_shift = fmt->greenShift; in Pack24()
1443 g_shift = 24 - fmt->greenShift; in Pack24()
1608 inGreen = (int) (pix >> cl->screen->serverFormat.greenShift in SendJpegRect()
1704 *dst++ = (uint8_t)(pix >> cl->screen->serverFormat.greenShift); in PrepareRowForImg24()
1727 (pix >> cl->screen->serverFormat.greenShift & cl->screen->serverFormat.greenMax); \
/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()
Dmac.c461 rfbScreen->serverFormat.greenShift = bitsPerSample*1; in ScreenInit()
/external/libvncserver/libvncclient/
Dvncviewer.c143 client->format.greenShift = 3; in rfbGetClient()
151 client->format.greenShift = bitsPerSample; in rfbGetClient()
156 client->format.greenShift = bitsPerSample*1; in rfbGetClient()
160 client->format.greenShift = bitsPerSample*2; in rfbGetClient()
Dtight.c54 ((CARD##bpp)(g) & client->format.greenMax) << client->format.greenShift | \
61 << client->format.greenShift | \
67 ((uint32_t)(g) & 0xFF) << client->format.greenShift | \
421 shift[1] = client->format.greenShift; in FilterGradientBPP()
Dcursor.c35 << client->format.greenShift | \
/external/libvncserver/client_examples/
Dppmtest.c55 fputc((v>>pf->greenShift)*256/(pf->greenMax+1),f); in SaveFramebufferAsPPM()
DSDLvncviewer.c55 client->format.greenShift=sdl->format->Gshift; in resize()
58 client->format.greenMax=sdl->format->Gmask>>client->format.greenShift; in resize()
221 #define GREENSHIFT cl->format.greenShift in resizeRectangleToReal()
Dgtkvncviewer.c51 cl->format.greenShift = image->visual->green_shift; in expose_event()
631 cl->format.greenShift = image->visual->green_shift; in main()
Dvnc2mpg.c347 client->format.greenShift=5; client->format.greenMax=63; in main()
/external/libvncserver/x11vnc/misc/turbovnc/
Dtight.c1085 mask |= rfbServerFormat.greenMax << rfbServerFormat.greenShift; \
1275 g_shift = fmt->greenShift;
1279 g_shift = 24 - fmt->greenShift;
1457 (pix >> rfbServerFormat.greenShift & rfbServerFormat.greenMax);
/external/libvncserver/rfb/
Drfbproto.h189 uint8_t greenShift; /* similar for green */ member
/external/libvncserver/x11vnc/
Dscreen.c1229 green_mask = (client->format.greenMax << client->format.greenShift); in vnc_reflect_got_cursorshape()
1249 g = (green_mask & ui) >> client->format.greenShift; in vnc_reflect_got_cursorshape()
1545 green_mask = (client->format.greenMax << client->format.greenShift); in vnc_reflect_guess()
3268 screen->serverFormat.greenShift = 0;
3427 & (1 << screen->serverFormat.greenShift))) {
3428 screen->serverFormat.greenShift++;
3440 = main_green_mask >> screen->serverFormat.greenShift;
3449 main_green_shift = screen->serverFormat.greenShift;
/external/libvncserver/webclients/java-applet/
DVncViewer.jarMETA-INF/MANIFEST.MF VncViewer.class VncViewer.java package VncViewer extends java.applet ...
/external/libvncserver/webclients/java-applet/ssl/
DSignedVncViewer.jarMETA-INF/MANIFEST.MF META-INF/SWKEY.SF META-INF/SWKEY ...

12