Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dtableinit24.c58 (((g * (1 + out->greenMax)) >> shift) << out->greenShift) | in rfbInitColourMapSingleTable24()
90 inGreen = (i >> in->greenShift) & in->greenMax; in rfbInitTrueColourSingleTable24()
98 (outGreen << out->greenShift) | in rfbInitTrueColourSingleTable24()
133 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.c193 unsigned int greenShift = screen->serverFormat.greenShift; 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.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); \
Drfbserver.c2028 cl->format.greenShift = msg.spf.format.greenShift; 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()
Dmac.c461 rfbScreen->serverFormat.greenShift = bitsPerSample*1; in ScreenInit()
/external/libvncserver/libvncclient/
Dvncviewer.c175 client->format.greenShift = 3; in rfbGetClient()
183 client->format.greenShift = bitsPerSample; in rfbGetClient()
188 client->format.greenShift = bitsPerSample*1; in rfbGetClient()
192 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 | \
Dh264.c629 | ((unsigned int)(G + 0.5) << client->format.greenShift) in nv12_to_rgba()
Drfbproto.c2141 (client->format.greenMax<<client->format.greenShift)| in HandleRFBServerMessage()
2431 format->redShift, format->greenShift, format->blueShift); in PrintPixelFormat()
/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.c57 cl->format.greenShift = image->visual->green_shift; in expose_event()
656 cl->format.greenShift = image->visual->green_shift; in main()
Dvnc2mpg.c347 client->format.greenShift=5; client->format.greenMax=63; in main()
/external/libvncserver/rfb/
Drfbproto.h193 uint8_t greenShift; /* similar for green */ member
/external/libvncserver/webclients/java-applet/ssl/
Dultravnc-102-JavaViewer-ssl-etc.patch5182 + rfb.greenShift = 8;