mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 22:55:30 +00:00
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.
This commit is contained in:
parent
cb37de3520
commit
77ce36426f
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user