diff options
| author | Yonit Halperin <yhalperi@redhat.com> | 2010-06-20 15:24:49 +0300 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:44 +0100 |
| commit | e8ee21132bda530122a9bb5e33d117f5e7937204 (patch) | |
| tree | b1506c68a158e304842ef7bab9b17dd77058bcf4 | |
| parent | b49b77d8e9bd535d88e1ad72d6bdbbddba015040 (diff) | |
applying zlib compression over glz on WAN connection
| -rw-r--r-- | spice.proto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spice.proto b/spice.proto index 6cedfac..84d3fa9 100644 --- a/spice.proto +++ b/spice.proto @@ -293,6 +293,7 @@ enum8 image_type { SURFACE, JPEG, FROM_CACHE_LOSSLESS, + ZLIB_GLZ_RGB, }; flags8 image_flags { @@ -470,6 +471,12 @@ struct LZPLTData { uint8 data[data_size] @end @nomarshal; }; +struct ZlibGlzRGBData { + uint32 glz_data_size; + uint32 data_size; + uint8 data[data_size] @end @nomarshal; +} @ctype(SpiceZlibGlzRGBData); + struct Surface { uint32 surface_id; }; @@ -491,6 +498,8 @@ struct Image { BinaryData binary_data @ctype(SpiceQUICData); case LZ_PLT: LZPLTData lzplt_data @ctype(SpiceLZPLTData); + case ZLIB_GLZ_RGB: + ZlibGlzRGBData zlib_glz_data @ctype(SpiceZlibGlzRGBData); case SURFACE: Surface surface_data; } u @end; |
