Home
last modified time | relevance | path

Searched refs:serverFormat (Results 1 – 20 of 20) 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.c189 if (screen->serverFormat.trueColour) { /* Blend neighbouring pixels together */ in rfbScaledScreenUpdateRect()
192 unsigned int redShift = screen->serverFormat.redShift; in rfbScaledScreenUpdateRect()
193 unsigned int greenShift = screen->serverFormat.greenShift; in rfbScaledScreenUpdateRect()
194 unsigned int blueShift = screen->serverFormat.blueShift; in rfbScaledScreenUpdateRect()
195 unsigned long redMax = screen->serverFormat.redMax; in rfbScaledScreenUpdateRect()
196 unsigned long greenMax = screen->serverFormat.greenMax; in rfbScaledScreenUpdateRect()
197 unsigned long blueMax = screen->serverFormat.blueMax; in rfbScaledScreenUpdateRect()
318 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.c401 cl->format = cl->screen->serverFormat; in rfbNewTCPOrUDPClient()
796 u.si.format = cl->screen->serverFormat; in rfbProcessClientInitMessage()
3273 &(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/rfb/
Drfb.h260 rfbPixelFormat serverFormat; member