From af85e5fee34f7998fe3f06c799b8364a9ddbebce Mon Sep 17 00:00:00 2001 From: dscho Date: Tue, 22 Oct 2002 08:46:27 +0000 Subject: updated to vnc-3.3.4 (ZRLE encoding) --- rfbproto.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'rfbproto.h') diff --git a/rfbproto.h b/rfbproto.h index f839019..e84f6a0 100644 --- a/rfbproto.h +++ b/rfbproto.h @@ -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 -- cgit v1.2.1