diff options
author | Javier Celaya <javier.celaya@flexvm.es> | 2014-11-13 17:00:58 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-12-02 19:41:17 +0100 |
commit | b532ef0866cefe260ad0f08550f7c40d3580d0d7 (patch) | |
tree | 29a0c98c41d61178cc0ac66db359073caacd05b8 /server/spice-server.h | |
parent | 84b3a5079d6014d50e3018b24949d5a2e18e3c78 (diff) | |
download | spice-b532ef0866cefe260ad0f08550f7c40d3580d0d7.tar.gz spice-b532ef0866cefe260ad0f08550f7c40d3580d0d7.tar.xz spice-b532ef0866cefe260ad0f08550f7c40d3580d0d7.zip |
Add LZ4 compression support.
- Add lz4 encoder to compress an image of type LZ4 (see spice_common).
- Add code in red_worker to use LZ4 when it is enabled, and the client
supports it through its display capability, or fallback to LZ.
- Add enable_lz4 switch in the configure script. Show LZ4 support at the
end.
Diffstat (limited to 'server/spice-server.h')
-rw-r--r-- | server/spice-server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/spice-server.h b/server/spice-server.h index 79daac5f..c97b221a 100644 --- a/server/spice-server.h +++ b/server/spice-server.h @@ -74,6 +74,7 @@ typedef enum { SPICE_IMAGE_COMPRESS_QUIC = 4, SPICE_IMAGE_COMPRESS_GLZ = 5, SPICE_IMAGE_COMPRESS_LZ = 6, + SPICE_IMAGE_COMPRESS_LZ4 = 7, } spice_image_compression_t; int spice_server_set_image_compression(SpiceServer *s, |