diff options
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 |