Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dtableinittctemplate.c75 inBlue = (i >> in->blueShift) & in->blueMax; in rfbInitTrueColourSingleTableOUT()
79 outBlue = (inBlue * out->blueMax + in->blueMax / 2) / in->blueMax; in rfbInitTrueColourSingleTableOUT()
107 *table = (char *)malloc((in->redMax + in->greenMax + in->blueMax + 3) in rfbInitTrueColourRGBTablesOUT()
117 rfbInitOneRGBTableOUT (blueTable, in->blueMax, out->blueMax, in rfbInitTrueColourRGBTablesOUT()
Dtableinit24.c59 (((b * (1 + out->blueMax)) >> shift) << out->blueShift)); in rfbInitColourMapSingleTable24()
91 inBlue = (i >> in->blueShift) & in->blueMax; in rfbInitTrueColourSingleTable24()
95 outBlue = (inBlue * out->blueMax + in->blueMax / 2) / in->blueMax; in rfbInitTrueColourSingleTable24()
124 *table = (char *)malloc((in->redMax + in->greenMax + in->blueMax + 3) in rfbInitTrueColourRGBTables24()
134 rfbInitOneRGBTable24 (blueTable, in->blueMax, out->blueMax, in rfbInitTrueColourRGBTables24()
Dtabletrans24template.c112 blueTable[(inValue >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTables24to24()
197 blueTable[(inValue >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTables24toOUT()
264 blueTable[(*ip >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTablesINto24()
Dscale.c197 unsigned long blueMax = screen->serverFormat.blueMax; in rfbScaledScreenUpdateRect() local
227 blue += ((pixel_value >> blueShift) & blueMax); in rfbScaledScreenUpdateRect()
236 …(red & redMax) << redShift) | ((green & greenMax) << greenShift) | ((blue & blueMax) << blueShift); in rfbScaledScreenUpdateRect()
Dtranslate.c54 (x.blueMax == y.blueMax) && \
471 pf->redMax, pf->greenMax, pf->blueMax, in PrintPixelFormat()
Dtight.c336 cl->format.greenMax == 0xFF && cl->format.blueMax == 0xFF ) { in SendRectEncodingTight()
703 cl->format.blueMax == cl->screen->serverFormat.blueMax && in SendSubrect()
1248 mask |= cl->screen->serverFormat.blueMax \
1611 & cl->screen->serverFormat.blueMax); in SendJpegRect()
1619 + cl->screen->serverFormat.blueMax / 2) in SendJpegRect()
1620 / cl->screen->serverFormat.blueMax); in SendJpegRect()
1677 cl->screen->serverFormat.blueMax == 0xFF ) { in PrepareRowForImg()
1729 (pix >> cl->screen->serverFormat.blueShift & cl->screen->serverFormat.blueMax); \
1735 *dst++ = (uint8_t)((inBlue * 255 + cl->screen->serverFormat.blueMax / 2) / \
1736 cl->screen->serverFormat.blueMax); \
Dtableinitcmtemplate.c73 (((b * (1 + out->blueMax)) >> shift) << out->blueShift)); in rfbInitColourMapSingleTableOUT()
Dtabletranstemplate.c106 blueTable[(*ip >> in->blueShift) & in->blueMax]); in rfbTranslateWithRGBTablesINtoOUT()
Dcursor.c400 ((format->blueMax * cursor->backBlue) / 0xffff) << format->blueShift; in rfbMakeXCursorFromRichCursor()
405 …b = (255 * (((format->blueMax << format->blueShift) & (*u)) >> format->blueShift)) / format->bl… in rfbMakeXCursorFromRichCursor()
578 bmax = s->serverFormat.blueMax; in rfbShowCursor()
Dzrle.c160 (cl->format.blueMax << cl->format.blueShift) < (1<<24)); in rfbSendRectEncodingZRLE()
Dmain.c783 format->blueMax = 3; in rfbInitServerFormat()
790 format->blueMax = (1 << bitsPerSample) - 1; in rfbInitServerFormat()
Drfbserver.c799 u.si.format.blueMax = Swap16IfLE(u.si.format.blueMax); in rfbProcessClientInitMessage()
2026 cl->format.blueMax = Swap16IfLE(msg.spf.format.blueMax); in rfbProcessClientNormalMessage()
/external/libvncserver/examples/
Dzippy.c92 rfbDrawPixel(s,i,j,f.blueMax<<f.blueShift); in draw_primary_colours_generic()
102 rfbDrawPixel(s,x1,y4,f.blueMax<<f.blueShift); in draw_primary_colours_generic_fast()
120 rfbFillRect(s,x1,y4,x2,y2,f.blueMax<<f.blueShift); in draw_primary_colours_generic_ultrafast()
/external/libvncserver/libvncclient/
Dtight.c55 ((CARD##bpp)(b) & client->format.blueMax) << client->format.blueShift)
62 (((CARD##bpp)(b) & 0xFF) * client->format.blueMax + 127) / 255 \
121 client->format.greenMax == 0xFF && client->format.blueMax == 0xFF) { in HandleTightBPP()
308 client->format.greenMax == 0xFF && client->format.blueMax == 0xFF) { in InitFilterCopyBPP()
418 max[2] = client->format.blueMax; in FilterGradientBPP()
471 client->format.greenMax == 0xFF && client->format.blueMax == 0xFF) { in InitFilterPaletteBPP()
Dvncviewer.c173 client->format.blueMax = 3; in rfbGetClient()
180 client->format.blueMax = (1 << bitsPerSample) - 1; in rfbGetClient()
Dcursor.c36 (((uint##bpp##_t)(b) & 0xFF) * client->format.blueMax + 127) / 255 \
Drfbproto.c1253 client->si.format.blueMax = rfbClientSwap16IfLE(client->si.format.blueMax); in InitialiseRFBConnection()
1306 spf.format.blueMax = rfbClientSwap16IfLE(spf.format.blueMax); in SetFormatAndEncodings()
2142 (client->format.blueMax<<client->format.blueShift); in HandleRFBServerMessage()
2430 format->redMax, format->greenMax, format->blueMax, in PrintPixelFormat()
/external/libvncserver/client_examples/
Dppmtest.c56 fputc((v>>pf->blueShift)*256/(pf->blueMax+1),f); in SaveFramebufferAsPPM()
DSDLvncviewer.c59 client->format.blueMax=sdl->format->Bmask>>client->format.blueShift; in resize()
224 #define BLUEMAX cl->format.blueMax in resizeRectangleToReal()
Dgtkvncviewer.c62 cl->format.blueMax = (1 << image->visual->blue_prec) - 1; in expose_event()
661 cl->format.blueMax = (1 << image->visual->blue_prec) - 1; in main()
Dvnc2mpg.c348 client->format.blueShift=0; client->format.blueMax=31; in main()
/external/libvncserver/rfb/
Drfbproto.h179 uint16_t blueMax; /* and blue */ member
/external/libvncserver/webclients/java-applet/ssl/
Dultravnc-102-JavaViewer-ssl-etc.patch5180 + rfb.blueMax = 255;