Home
last modified time | relevance | path

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

12

/external/libvncserver/libvncserver/
Dtableinittctemplate.c73 inRed = (i >> in->redShift) & in->redMax; in rfbInitTrueColourSingleTableOUT()
77 outRed = (inRed * out->redMax + in->redMax / 2) / in->redMax; in rfbInitTrueColourSingleTableOUT()
107 *table = (char *)malloc((in->redMax + in->greenMax + in->blueMax + 3) in rfbInitTrueColourRGBTablesOUT()
110 greenTable = redTable + in->redMax + 1; in rfbInitTrueColourRGBTablesOUT()
113 rfbInitOneRGBTableOUT (redTable, in->redMax, out->redMax, in rfbInitTrueColourRGBTablesOUT()
Dtableinit24.c57 outValue = ((((r * (1 + out->redMax)) >> shift) << out->redShift) | in rfbInitColourMapSingleTable24()
89 inRed = (i >> in->redShift) & in->redMax; in rfbInitTrueColourSingleTable24()
93 outRed = (inRed * out->redMax + in->redMax / 2) / in->redMax; in rfbInitTrueColourSingleTable24()
124 *table = (char *)malloc((in->redMax + in->greenMax + in->blueMax + 3) in rfbInitTrueColourRGBTables24()
127 greenTable = redTable + 3*(in->redMax + 1); in rfbInitTrueColourRGBTables24()
130 rfbInitOneRGBTable24 (redTable, in->redMax, out->redMax, in rfbInitTrueColourRGBTables24()
Dtabletrans24template.c100 uint8_t *greenTable = redTable + 3*(in->redMax + 1); in rfbTranslateWithRGBTables24to24()
110 outValue = (redTable[(inValue >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTables24to24()
185 OUT_T *greenTable = redTable + in->redMax + 1; in rfbTranslateWithRGBTables24toOUT()
195 *(op++) = (redTable[(inValue >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTables24toOUT()
254 uint8_t *greenTable = redTable + 3*(in->redMax + 1); in rfbTranslateWithRGBTablesINto24()
262 outValue = (redTable[(*ip >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTablesINto24()
Dtabletranstemplate.c97 OUT_T *greenTable = redTable + in->redMax + 1; in rfbTranslateWithRGBTablesINtoOUT()
104 *(op++) = (redTable[(*ip >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTablesINtoOUT()
Dscale.c195 unsigned long redMax = screen->serverFormat.redMax; in rfbScaledScreenUpdateRect() local
225 red += ((pixel_value >> redShift) & redMax); in rfbScaledScreenUpdateRect()
236 …pixel_value = ((red & redMax) << redShift) | ((green & greenMax) << greenShift) | ((blue & blueMax… in rfbScaledScreenUpdateRect()
Dtranslate.c52 (!x.trueColour || ((x.redMax == y.redMax) && \
471 pf->redMax, pf->greenMax, pf->blueMax, in PrintPixelFormat()
Dtight.c335 if ( cl->format.depth == 24 && cl->format.redMax == 0xFF && in SendRectEncodingTight()
701 cl->format.redMax == cl->screen->serverFormat.redMax && in SendSubrect()
1244 mask = cl->screen->serverFormat.redMax \
1607 & cl->screen->serverFormat.redMax); in SendJpegRect()
1613 + cl->screen->serverFormat.redMax / 2) in SendJpegRect()
1614 / cl->screen->serverFormat.redMax); in SendJpegRect()
1675 if ( cl->screen->serverFormat.redMax == 0xFF && in PrepareRowForImg()
1725 (pix >> cl->screen->serverFormat.redShift & cl->screen->serverFormat.redMax); \
1731 *dst++ = (uint8_t)((inRed * 255 + cl->screen->serverFormat.redMax / 2) / \
1732 cl->screen->serverFormat.redMax); \
Dtableinitcmtemplate.c71 t[i] = ((((r * (1 + out->redMax)) >> shift) << out->redShift) | in rfbInitColourMapSingleTableOUT()
Dcursor.c398 background = ((format->redMax * cursor->backRed) / 0xffff) << format->redShift | in rfbMakeXCursorFromRichCursor()
403 …r = (255 * (((format->redMax << format->redShift) & (*u)) >> format->redShift)) / format->re… in rfbMakeXCursorFromRichCursor()
576 rmax = s->serverFormat.redMax; in rfbShowCursor()
Dzrle.c158 = ((cl->format.redMax << cl->format.redShift) < (1<<24) && in rfbSendRectEncodingZRLE()
Dmain.c781 format->redMax = 7; in rfbInitServerFormat()
788 format->redMax = (1 << bitsPerSample) - 1; in rfbInitServerFormat()
Drfbserver.c797 u.si.format.redMax = Swap16IfLE(u.si.format.redMax); in rfbProcessClientInitMessage()
2024 cl->format.redMax = Swap16IfLE(msg.spf.format.redMax); in rfbProcessClientNormalMessage()
/external/libvncserver/examples/
Dzippy.c88 rfbDrawPixel(s,i,j,f.redMax<<f.redShift); in draw_primary_colours_generic()
100 rfbDrawPixel(s,x1,y1,f.redMax<<f.redShift); in draw_primary_colours_generic_fast()
118 rfbFillRect(s,x1,y1,x2,y3,f.redMax<<f.redShift); in draw_primary_colours_generic_ultrafast()
/external/libvncserver/libvncclient/
Dtight.c53 (((CARD##bpp)(r) & client->format.redMax) << client->format.redShift | \
58 ((((CARD##bpp)(r) & 0xFF) * client->format.redMax + 127) / 255 \
120 if (client->format.depth == 24 && client->format.redMax == 0xFF && in HandleTightBPP()
307 if (client->format.depth == 24 && client->format.redMax == 0xFF && in InitFilterCopyBPP()
416 max[0] = client->format.redMax; in FilterGradientBPP()
470 if (client->format.depth == 24 && client->format.redMax == 0xFF && in InitFilterPaletteBPP()
Dvncviewer.c171 client->format.redMax = 7; in rfbGetClient()
178 client->format.redMax = (1 << bitsPerSample) - 1; in rfbGetClient()
Dcursor.c32 ((((uint##bpp##_t)(r) & 0xFF) * client->format.redMax + 127) / 255 \
Drfbproto.c1251 client->si.format.redMax = rfbClientSwap16IfLE(client->si.format.redMax); in InitialiseRFBConnection()
1304 spf.format.redMax = rfbClientSwap16IfLE(spf.format.redMax); in SetFormatAndEncodings()
2140 uint32_t maxColor=(client->format.redMax<<client->format.redShift)| in HandleRFBServerMessage()
2430 format->redMax, format->greenMax, format->blueMax, in PrintPixelFormat()
/external/libvncserver/client_examples/
Dppmtest.c54 fputc((v>>pf->redShift)*256/(pf->redMax+1),f); in SaveFramebufferAsPPM()
DSDLvncviewer.c57 client->format.redMax=sdl->format->Rmask>>client->format.redShift; in resize()
220 #define REDMAX cl->format.redMax in resizeRectangleToReal()
Dgtkvncviewer.c60 cl->format.redMax = (1 << image->visual->red_prec) - 1; in expose_event()
659 cl->format.redMax = (1 << image->visual->red_prec) - 1; in main()
Dvnc2mpg.c346 client->format.redShift=11; client->format.redMax=31; in main()
/external/libvncserver/webclients/java-applet/
DVncViewer.jarMETA-INF/MANIFEST.MF VncViewer.class VncViewer.java package VncViewer extends java.applet ...
/external/libvncserver/rfb/
Drfbproto.h173 uint16_t redMax; /* maximum red value (= 2^n - 1 where n is the member
/external/libvncserver/webclients/java-applet/ssl/
DVncViewer.jarMETA-INF/ META-INF/MANIFEST.MF AuthPanel.class AuthPanel.java package AuthPanel ...
DSignedVncViewer.jarMETA-INF/MANIFEST.MF META-INF/SWKEY.SF META-INF/SWKEY ...

12