Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dtranslate.c254 if ((cl->screen->serverFormat.bitsPerPixel != 8) && in rfbSetTranslateFunction()
255 (cl->screen->serverFormat.bitsPerPixel != 16) && in rfbSetTranslateFunction()
257 (cl->screen->serverFormat.bitsPerPixel != 24) && in rfbSetTranslateFunction()
259 (cl->screen->serverFormat.bitsPerPixel != 32)) in rfbSetTranslateFunction()
263 cl->screen->serverFormat.bitsPerPixel); in rfbSetTranslateFunction()
309 if (PF_EQ(cl->format,cl->screen->serverFormat)) { in rfbSetTranslateFunction()
318 if ((cl->screen->serverFormat.bitsPerPixel < 16) || in rfbSetTranslateFunction()
319 ((!cl->screen->serverFormat.trueColour || !rfbEconomicTranslate) && in rfbSetTranslateFunction()
320 (cl->screen->serverFormat.bitsPerPixel == 16))) { in rfbSetTranslateFunction()
325 [BPP2OFFSET(cl->screen->serverFormat.bitsPerPixel)] in rfbSetTranslateFunction()
[all …]
Dtight.c436 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat, in SendRectEncodingTight()
568 switch(cl->screen->serverFormat.bitsPerPixel) { in CheckSolidTile()
700 if (cl->format.bitsPerPixel == cl->screen->serverFormat.bitsPerPixel && in SendSubrect()
701 cl->format.redMax == cl->screen->serverFormat.redMax && in SendSubrect()
702 cl->format.greenMax == cl->screen->serverFormat.greenMax && in SendSubrect()
703 cl->format.blueMax == cl->screen->serverFormat.blueMax && in SendSubrect()
720 &cl->screen->serverFormat, &cl->format, fbptr, in SendSubrect()
726 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat, in SendSubrect()
1244 mask = cl->screen->serverFormat.redMax \
1245 << cl->screen->serverFormat.redShift; \
[all …]
Dscale.c183 if (screen->serverFormat.trueColour) { /* Blend neighbouring pixels together */ in rfbScaledScreenUpdateRect()
186 unsigned int redShift = screen->serverFormat.redShift; in rfbScaledScreenUpdateRect()
187 unsigned int greenShift = screen->serverFormat.greenShift; in rfbScaledScreenUpdateRect()
188 unsigned int blueShift = screen->serverFormat.blueShift; in rfbScaledScreenUpdateRect()
189 unsigned long redMax = screen->serverFormat.redMax; in rfbScaledScreenUpdateRect()
190 unsigned long greenMax = screen->serverFormat.greenMax; in rfbScaledScreenUpdateRect()
191 unsigned long blueMax = screen->serverFormat.blueMax; in rfbScaledScreenUpdateRect()
297 ptr->serverFormat = cl->screen->serverFormat; in rfbScaledScreenAllocate()
Dcursor.c144 int bpp1=cl->screen->serverFormat.bitsPerPixel/8, in rfbSendCursorShape()
147 &(cl->screen->serverFormat), in rfbSendCursorShape()
372 rfbPixelFormat* format=&rfbScreen->serverFormat; in rfbMakeXCursorFromRichCursor()
442 rfbPixelFormat* format=&rfbScreen->serverFormat; in rfbMakeRichCursorFromXCursor()
476 int j,x1,x2,y1,y2,bpp=s->serverFormat.bitsPerPixel/8, in rfbHideCursor()
518 int i,j,x1,x2,y1,y2,i1,j1,bpp=s->serverFormat.bitsPerPixel/8, in rfbShowCursor()
576 rmax = s->serverFormat.redMax; in rfbShowCursor()
577 gmax = s->serverFormat.greenMax; in rfbShowCursor()
578 bmax = s->serverFormat.blueMax; in rfbShowCursor()
579 rshift = s->serverFormat.redShift; in rfbShowCursor()
[all …]
Dfont.c10 int bpp=rfbScreen->serverFormat.bitsPerPixel/8; in rfbDrawChar()
57 int bpp=rfbScreen->serverFormat.bitsPerPixel/8,extra_bytes=0; in rfbDrawCharWithClip()
Dhextile.c133 (*cl->translateFn)(cl->translateLookupTable, &(cl->screen->serverFormat), \
177 &(cl->screen->serverFormat), &cl->format, fbptr, \
Dmain.c360 int j,widthInBytes,bpp=screen->serverFormat.bitsPerPixel/8, in rfbDoCopyRegion()
770 rfbPixelFormat* format=&screen->serverFormat; in rfbInitServerFormat()
952 old_format = screen->serverFormat; in rfbNewFramebuffer()
964 if (memcmp(&screen->serverFormat, &old_format, in rfbNewFramebuffer()
Dultra.c82 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat, in rfbSendOneRectEncodingUltra()
Dzlib.c153 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat, in rfbSendOneRectEncodingZlib()
Dzrle.c37 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat,\
Drre.c82 &(cl->screen->serverFormat), in rfbSendRectEncodingRRE()
Dcorre.c115 (*cl->translateFn)(cl->translateLookupTable,&(cl->screen->serverFormat), in rfbSendSmallRectEncodingCoRRE()
Drfbserver.c379 cl->format = cl->screen->serverFormat; in rfbNewTCPOrUDPClient()
774 u.si.format = cl->screen->serverFormat; in rfbProcessClientInitMessage()
3138 &(cl->screen->serverFormat), in rfbSendRectEncodingRaw()
/external/libvncserver/examples/
Drotatetemplate.c36 if (screen->serverFormat.bitsPerPixel == 32) in FUNCNAME()
38 else if (screen->serverFormat.bitsPerPixel == 16) in FUNCNAME()
40 else if (screen->serverFormat.bitsPerPixel == 8) in FUNCNAME()
44 screen->serverFormat.bitsPerPixel); in FUNCNAME()
Dzippy.c83 rfbPixelFormat f=s->serverFormat; in draw_primary_colours_generic()
97 rfbPixelFormat f=s->serverFormat; in draw_primary_colours_generic_fast()
115 rfbPixelFormat f=s->serverFormat; in draw_primary_colours_generic_ultrafast()
Dmac.c460 rfbScreen->serverFormat.redShift = bitsPerSample*2; in ScreenInit()
461 rfbScreen->serverFormat.greenShift = bitsPerSample*1; in ScreenInit()
462 rfbScreen->serverFormat.blueShift = 0; in ScreenInit()
Dcolourmaptest.c12 server->serverFormat.trueColour=FALSE; in main()
Dpnmshow.c86 rfbScreen->serverFormat.trueColour=FALSE; in main()
Dvncev.c121 s->serverFormat.trueColour=FALSE; in main()
/external/libvncserver/x11vnc/
Dscreen.c136 screen->serverFormat.trueColour = FALSE; in set_greyscale_colormap()
166 screen->serverFormat.trueColour = FALSE; in set_hi240_colormap()
195 screen->serverFormat.trueColour = TRUE; in unset_colormap()
241 screen->serverFormat.trueColour = FALSE; in set_colormap()
3263 screen->serverFormat.bitsPerPixel = fb_bpp;
3264 screen->serverFormat.depth = fb_depth;
3265 screen->serverFormat.trueColour = TRUE;
3267 screen->serverFormat.redShift = 0;
3268 screen->serverFormat.greenShift = 0;
3269 screen->serverFormat.blueShift = 0;
[all …]
Dconnections.c3834 screen->serverFormat.trueColour = FALSE; in turn_off_truecolor_ad()
3836 screen->serverFormat.redShift = 0; in turn_off_truecolor_ad()
3837 screen->serverFormat.greenShift = 0; in turn_off_truecolor_ad()
3838 screen->serverFormat.blueShift = 0; in turn_off_truecolor_ad()
3839 screen->serverFormat.redMax = 0; in turn_off_truecolor_ad()
3840 screen->serverFormat.greenMax = 0; in turn_off_truecolor_ad()
3841 screen->serverFormat.blueMax = 0; in turn_off_truecolor_ad()
4094 screen->serverFormat.trueColour = TRUE; in new_client()
4095 screen->serverFormat.redShift = rs; in new_client()
4096 screen->serverFormat.greenShift = gs; in new_client()
[all …]
Dscan.c1307 if (! screen->serverFormat.trueColour) { in scale_and_mark_rect()
2610 fake_screen->serverFormat.bitsPerPixel = raw_fb_native_bpp; in snap_vcsa_rawfb()
Dunixpw.c459 fscreen.serverFormat.bitsPerPixel = bpp; in unixpw_screen()
/external/libvncserver/vncterm/
DVNConsole.c35 c->screen->serverFormat.trueColour=FALSE; in MakeColourMap16()
/external/libvncserver/rfb/
Drfb.h260 rfbPixelFormat serverFormat; member