summaryrefslogtreecommitdiffstats
path: root/rfbproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'rfbproto.h')
-rw-r--r--rfbproto.h16
1 files changed, 16 insertions, 0 deletions
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