/external/libvncserver/libvncserver/ |
D | translate.c | 254 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 …]
|
D | tight.c | 436 (*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 …]
|
D | scale.c | 183 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()
|
D | cursor.c | 144 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 …]
|
D | font.c | 10 int bpp=rfbScreen->serverFormat.bitsPerPixel/8; in rfbDrawChar() 57 int bpp=rfbScreen->serverFormat.bitsPerPixel/8,extra_bytes=0; in rfbDrawCharWithClip()
|
D | hextile.c | 133 (*cl->translateFn)(cl->translateLookupTable, &(cl->screen->serverFormat), \ 177 &(cl->screen->serverFormat), &cl->format, fbptr, \
|
D | main.c | 360 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()
|
D | ultra.c | 82 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat, in rfbSendOneRectEncodingUltra()
|
D | zlib.c | 153 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat, in rfbSendOneRectEncodingZlib()
|
D | zrle.c | 37 (*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat,\
|
D | rre.c | 82 &(cl->screen->serverFormat), in rfbSendRectEncodingRRE()
|
D | corre.c | 115 (*cl->translateFn)(cl->translateLookupTable,&(cl->screen->serverFormat), in rfbSendSmallRectEncodingCoRRE()
|
D | rfbserver.c | 379 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/ |
D | rotatetemplate.c | 36 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()
|
D | zippy.c | 83 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()
|
D | mac.c | 460 rfbScreen->serverFormat.redShift = bitsPerSample*2; in ScreenInit() 461 rfbScreen->serverFormat.greenShift = bitsPerSample*1; in ScreenInit() 462 rfbScreen->serverFormat.blueShift = 0; in ScreenInit()
|
D | colourmaptest.c | 12 server->serverFormat.trueColour=FALSE; in main()
|
D | pnmshow.c | 86 rfbScreen->serverFormat.trueColour=FALSE; in main()
|
D | vncev.c | 121 s->serverFormat.trueColour=FALSE; in main()
|
/external/libvncserver/x11vnc/ |
D | screen.c | 136 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 …]
|
D | connections.c | 3834 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 …]
|
D | scan.c | 1307 if (! screen->serverFormat.trueColour) { in scale_and_mark_rect() 2610 fake_screen->serverFormat.bitsPerPixel = raw_fb_native_bpp; in snap_vcsa_rawfb()
|
D | unixpw.c | 459 fscreen.serverFormat.bitsPerPixel = bpp; in unixpw_screen()
|
/external/libvncserver/vncterm/ |
D | VNConsole.c | 35 c->screen->serverFormat.trueColour=FALSE; in MakeColourMap16()
|
/external/libvncserver/rfb/ |
D | rfb.h | 260 rfbPixelFormat serverFormat; member
|