diff options
author | dscho <dscho> | 2002-10-22 08:46:27 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-10-22 08:46:27 +0000 |
commit | af85e5fee34f7998fe3f06c799b8364a9ddbebce (patch) | |
tree | 48cabfc42fb150d2a001042f8974b28b4287f436 /rfbproto.h | |
parent | 5a5c22ffc98e4e44f7763256e3683cc390cd260b (diff) | |
download | libtdevnc-af85e5fee34f7998fe3f06c799b8364a9ddbebce.tar.gz libtdevnc-af85e5fee34f7998fe3f06c799b8364a9ddbebce.zip |
updated to vnc-3.3.4 (ZRLE encoding)
Diffstat (limited to 'rfbproto.h')
-rw-r--r-- | rfbproto.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -302,6 +302,7 @@ typedef struct { #ifdef BACKCHANNEL #define rfbEncodingBackChannel 15 #endif +#define rfbEncodingZRLE 16 /* * Special encoding numbers: @@ -559,6 +560,21 @@ typedef struct { */ +/*- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + * ZRLE - encoding combining Zlib compression, tiling, palettisation and + * run-length encoding. + */ + +typedef struct { + CARD32 length; +} rfbZRLEHeader; + +#define sz_rfbZRLEHeader 4 + +#define rfbZRLETileWidth 64 +#define rfbZRLETileHeight 64 + + /*----------------------------------------------------------------------------- * SetColourMapEntries - these messages are only sent if the pixel * format uses a "colour map" (i.e. trueColour false) and the client has not |