From b532ef0866cefe260ad0f08550f7c40d3580d0d7 Mon Sep 17 00:00:00 2001 From: Javier Celaya Date: Thu, 13 Nov 2014 17:00:58 +0100 Subject: 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. --- server/spice-server.h | 1 + 1 file changed, 1 insertion(+) (limited to 'server/spice-server.h') 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, -- cgit