Home
last modified time | relevance | path

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

12

/external/libvncserver/libvncserver/
Dtableinit24.c57 outValue = ((((r * (1 + out->redMax)) >> shift) << out->redShift) | in rfbInitColourMapSingleTable24()
89 inRed = (i >> in->redShift) & in->redMax; in rfbInitTrueColourSingleTable24()
97 outValue = ((outRed << out->redShift) | in rfbInitTrueColourSingleTable24()
131 out->redShift, (out->bigEndian != in->bigEndian)); in rfbInitTrueColourRGBTables24()
Dtableinittctemplate.c73 inRed = (i >> in->redShift) & in->redMax; in rfbInitTrueColourSingleTableOUT()
81 t[i] = ((outRed << out->redShift) | in rfbInitTrueColourSingleTableOUT()
114 out->redShift, (out->bigEndian != in->bigEndian)); in rfbInitTrueColourRGBTablesOUT()
Dtabletrans24template.c110 outValue = (redTable[(inValue >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTables24to24()
195 *(op++) = (redTable[(inValue >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTables24toOUT()
262 outValue = (redTable[(*ip >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTablesINto24()
Dscale.c192 unsigned int redShift = screen->serverFormat.redShift; 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.c55 (x.redShift == y.redShift) && \
472 pf->redShift, pf->greenShift, pf->blueShift); in PrintPixelFormat()
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()
459 background=cursor->backRed<<format->redShift| in rfbMakeRichCursorFromXCursor()
461 foreground=cursor->foreRed<<format->redShift| in rfbMakeRichCursorFromXCursor()
579 rshift = s->serverFormat.redShift; in rfbShowCursor()
Dzrle.c158 = ((cl->format.redMax << cl->format.redShift) < (1<<24) && in rfbSendRectEncodingZRLE()
162 rfbBool fitsInMS3Bytes = (cl->format.redShift > 7 && in rfbSendRectEncodingZRLE()
Dtableinitcmtemplate.c71 t[i] = ((((r * (1 + out->redMax)) >> shift) << out->redShift) | in rfbInitColourMapSingleTableOUT()
Dtabletranstemplate.c104 *(op++) = (redTable[(*ip >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTablesINtoOUT()
Dtight.c1245 << cl->screen->serverFormat.redShift; \
1438 r_shift = fmt->redShift; in Pack24()
1442 r_shift = 24 - fmt->redShift; in Pack24()
1606 inRed = (int) (pix >> cl->screen->serverFormat.redShift in SendJpegRect()
1631 if (cl->screen->serverFormat.redShift == 16 in SendJpegRect()
1703 *dst++ = (uint8_t)(pix >> cl->screen->serverFormat.redShift); in PrepareRowForImg24()
1725 (pix >> cl->screen->serverFormat.redShift & cl->screen->serverFormat.redMax); \
Dmain.c784 format->redShift = 0; in rfbInitServerFormat()
792 format->redShift = 0; in rfbInitServerFormat()
797 format->redShift = bitsPerSample*2; in rfbInitServerFormat()
801 format->redShift = bitsPerSample*3; in rfbInitServerFormat()
/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()
Dmac.c460 rfbScreen->serverFormat.redShift = bitsPerSample*2; in ScreenInit()
/external/libvncserver/libvncclient/
Dvncviewer.c174 client->format.redShift = 0; in rfbGetClient()
182 client->format.redShift = 0; in rfbGetClient()
187 client->format.redShift = bitsPerSample*2; in rfbGetClient()
191 client->format.redShift = bitsPerSample*3; in rfbGetClient()
Dtight.c53 (((CARD##bpp)(r) & client->format.redMax) << client->format.redShift | \
59 << client->format.redShift | \
66 (((uint32_t)(r) & 0xFF) << client->format.redShift | \
420 shift[0] = client->format.redShift; in FilterGradientBPP()
Dcursor.c33 << client->format.redShift | \
Dh264.c628 | ((unsigned int)(R + 0.5) << client->format.redShift) in nv12_to_rgba()
/external/libvncserver/client_examples/
Dppmtest.c54 fputc((v>>pf->redShift)*256/(pf->redMax+1),f); in SaveFramebufferAsPPM()
DSDLvncviewer.c54 client->format.redShift=sdl->format->Rshift; in resize()
57 client->format.redMax=sdl->format->Rmask>>client->format.redShift; in resize()
219 #define REDSHIFT cl->format.redShift in resizeRectangleToReal()
Dgtkvncviewer.c56 cl->format.redShift = image->visual->red_shift; in expose_event()
655 cl->format.redShift = image->visual->red_shift; in main()
Dvnc2mpg.c346 client->format.redShift=11; client->format.redMax=31; in main()
/external/libvncserver/rfb/
Drfbproto.h181 uint8_t redShift; /* number of shifts needed to get the red member
/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/
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