summaryrefslogtreecommitdiffstats
path: root/rfbproto.h
diff options
context:
space:
mode:
authordscho <dscho>2002-10-22 08:46:27 +0000
committerdscho <dscho>2002-10-22 08:46:27 +0000
commitaf85e5fee34f7998fe3f06c799b8364a9ddbebce (patch)
tree48cabfc42fb150d2a001042f8974b28b4287f436 /rfbproto.h
parent5a5c22ffc98e4e44f7763256e3683cc390cd260b (diff)
downloadlibtdevnc-af85e5fee34f7998fe3f06c799b8364a9ddbebce.tar.gz
libtdevnc-af85e5fee34f7998fe3f06c799b8364a9ddbebce.zip
updated to vnc-3.3.4 (ZRLE encoding)
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