LibVNCServer/LibVNCClient
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
zrle.c File Reference
#include "rfb/rfb.h"
#include "private.h"
#include "zrleoutstream.h"
#include <zrleencodetemplate.c>
+ Include dependency graph for zrle.c:

Go to the source code of this file.

Macros

#define GET_IMAGE_INTO_BUF(tx, ty, tw, th, buf)
 
#define EXTRA_ARGS   , rfbClientPtr cl
 
#define ENDIAN_LITTLE   0
 
#define ENDIAN_BIG   1
 
#define ENDIAN_NO   2
 
#define BPP   8
 
#define ZYWRLE_ENDIAN   ENDIAN_NO
 
#define BPP   15
 
#define ZYWRLE_ENDIAN   ENDIAN_LITTLE
 
#define ZYWRLE_ENDIAN   ENDIAN_BIG
 
#define BPP   16
 
#define ZYWRLE_ENDIAN   ENDIAN_LITTLE
 
#define ZYWRLE_ENDIAN   ENDIAN_BIG
 
#define BPP   32
 
#define ZYWRLE_ENDIAN   ENDIAN_LITTLE
 
#define ZYWRLE_ENDIAN   ENDIAN_BIG
 
#define CPIXEL   24A
 
#define ZYWRLE_ENDIAN   ENDIAN_LITTLE
 
#define ZYWRLE_ENDIAN   ENDIAN_BIG
 
#define CPIXEL   24B
 
#define ZYWRLE_ENDIAN   ENDIAN_LITTLE
 
#define ZYWRLE_ENDIAN   ENDIAN_BIG
 

Functions

rfbBool rfbSendRectEncodingZRLE (rfbClientPtr cl, int x, int y, int w, int h)
 
void rfbFreeZrleData (rfbClientPtr cl)
 

Macro Definition Documentation

#define BPP   8

Definition at line 66 of file zrle.c.

#define BPP   15

Definition at line 66 of file zrle.c.

#define BPP   16

Definition at line 66 of file zrle.c.

#define BPP   32

Definition at line 66 of file zrle.c.

#define CPIXEL   24A

Definition at line 81 of file zrle.c.

#define CPIXEL   24B

Definition at line 81 of file zrle.c.

#define ENDIAN_BIG   1

Definition at line 44 of file zrle.c.

#define ENDIAN_LITTLE   0

Definition at line 43 of file zrle.c.

#define ENDIAN_NO   2

Definition at line 45 of file zrle.c.

#define EXTRA_ARGS   , rfbClientPtr cl

Definition at line 41 of file zrle.c.

#define GET_IMAGE_INTO_BUF (   tx,
  ty,
  tw,
  th,
  buf 
)
Value:
{ char *fbptr = (cl->scaledScreen->frameBuffer \
+ (cl->scaledScreen->paddedWidthInBytes * ty) \
+ (tx * (cl->scaledScreen->bitsPerPixel / 8))); \
\
(*cl->translateFn)(cl->translateLookupTable, &cl->screen->serverFormat,\
&cl->format, fbptr, (char*)buf, \
cl->scaledScreen->paddedWidthInBytes, tw, th); }

Definition at line 32 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_NO

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_LITTLE

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_BIG

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_LITTLE

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_BIG

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_LITTLE

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_BIG

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_LITTLE

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_BIG

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_LITTLE

Definition at line 86 of file zrle.c.

#define ZYWRLE_ENDIAN   ENDIAN_BIG

Definition at line 86 of file zrle.c.

Function Documentation

void rfbFreeZrleData ( rfbClientPtr  cl)

Definition at line 240 of file zrle.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

rfbBool rfbSendRectEncodingZRLE ( rfbClientPtr  cl,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 104 of file zrle.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: