summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Celaya <javier.celaya@flexvm.es>2014-11-05 16:56:29 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-12-02 19:08:59 +0100
commit7566c5b3ad47b0b487e15b58d72e151882d05541 (patch)
tree540804ecd4d3448612cab44a5e4cbd347bf6892b
parent1f6f9097c306704b2be3a34fdbb9ec93e6c3f229 (diff)
Add LZ4 compression display capability.
-rw-r--r--spice/enums.h1
-rw-r--r--spice/protocol.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/spice/enums.h b/spice/enums.h
index 8de018f..18e2f74 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -176,6 +176,7 @@ typedef enum SpiceImageType {
SPICE_IMAGE_TYPE_FROM_CACHE_LOSSLESS,
SPICE_IMAGE_TYPE_ZLIB_GLZ_RGB,
SPICE_IMAGE_TYPE_JPEG_ALPHA,
+ SPICE_IMAGE_TYPE_LZ4,
SPICE_IMAGE_TYPE_ENUM_END
} SpiceImageType;
diff --git a/spice/protocol.h b/spice/protocol.h
index 961a303..bea376c 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -133,6 +133,7 @@ enum {
SPICE_DISPLAY_CAP_COMPOSITE,
SPICE_DISPLAY_CAP_A8_SURFACE,
SPICE_DISPLAY_CAP_STREAM_REPORT,
+ SPICE_DISPLAY_CAP_LZ4_COMPRESSION,
};
enum {