diff options
author | Javier Celaya <javier.celaya@flexvm.es> | 2014-10-22 09:58:29 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-12-02 19:23:53 +0100 |
commit | 5b3cdad921d32c9294377efac61243a09f849d08 (patch) | |
tree | 0beb6c3a9de70103b2ec38ce0cddcf1746c87b1c /spice.proto | |
parent | 8639bbdc9d33555eaa40bbbad9ba53d346b489fd (diff) |
Add LZ4 image compression support.
- Add a new LZ4 image type to spice.proto.
- Add canvas_get_lz4() to common_canvas_base, to get a pixmap from an
lz4 image.
- Add an enable-lz4 switch to the configure script, disabled by default.
Diffstat (limited to 'spice.proto')
-rw-r--r-- | spice.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spice.proto b/spice.proto index 316d287..01493c9 100644 --- a/spice.proto +++ b/spice.proto @@ -358,6 +358,7 @@ enum8 image_type { FROM_CACHE_LOSSLESS, ZLIB_GLZ_RGB, JPEG_ALPHA, + LZ4, }; flags8 image_flags { @@ -568,6 +569,8 @@ struct Image { BinaryData lz_rgb; case JPEG: BinaryData jpeg; + case LZ4: + BinaryData lz4; case LZ_PLT: LZPLTData lz_plt; case ZLIB_GLZ_RGB: |