Re: [Spice-devel] [PATCH v7 spice-gtk] Usbredir: enable lz4 compression

2016-06-27 Thread Victor Toso
Hi, On Mon, Jun 27, 2016 at 05:54:37PM +0300, Snir Sheriber wrote: > Hi, > > On 06/27/2016 04:44 PM, Victor Toso wrote: > > Hi, > > > > On Sun, Jun 26, 2016 at 04:44:42PM +0300, Snir Sheriber wrote: > > > Hi, > > > > > > On 06/24/2016 06:57 PM, Victor Toso wrote: > > > > Hi, > > > > > > > > On

Re: [Spice-devel] [PATCH v7 spice-gtk] Usbredir: enable lz4 compression

2016-06-27 Thread Snir Sheriber
Hi, On 06/27/2016 04:44 PM, Victor Toso wrote: Hi, On Sun, Jun 26, 2016 at 04:44:42PM +0300, Snir Sheriber wrote: Hi, On 06/24/2016 06:57 PM, Victor Toso wrote: Hi, On Mon, Jun 13, 2016 at 07:54:34PM +0300, Snir Sheriber wrote: Compressed message type is CompressedData which contains compr

Re: [Spice-devel] [PATCH v7 spice-gtk] Usbredir: enable lz4 compression

2016-06-27 Thread Victor Toso
Hi, On Sun, Jun 26, 2016 at 04:44:42PM +0300, Snir Sheriber wrote: > Hi, > > On 06/24/2016 06:57 PM, Victor Toso wrote: > > Hi, > > > > On Mon, Jun 13, 2016 at 07:54:34PM +0300, Snir Sheriber wrote: > > > Compressed message type is CompressedData which contains compression > > > type (1 byte) fo

Re: [Spice-devel] [PATCH v7 spice-gtk] Usbredir: enable lz4 compression

2016-06-26 Thread Snir Sheriber
Hi, On 06/24/2016 06:57 PM, Victor Toso wrote: Hi, On Mon, Jun 13, 2016 at 07:54:34PM +0300, Snir Sheriber wrote: Compressed message type is CompressedData which contains compression type (1 byte) followed by the uncompressed data size (4 bytes-exists only if data was compressed) followed by t

Re: [Spice-devel] [PATCH v7 spice-gtk] Usbredir: enable lz4 compression

2016-06-24 Thread Victor Toso
Hi, On Mon, Jun 13, 2016 at 07:54:34PM +0300, Snir Sheriber wrote: > Compressed message type is CompressedData which contains compression > type (1 byte) followed by the uncompressed data size (4 bytes-exists > only if data was compressed) followed by the compressed data > > If SPICE_SPICEVMC_CAP_

[Spice-devel] [PATCH v7 spice-gtk] Usbredir: enable lz4 compression

2016-06-13 Thread Snir Sheriber
Compressed message type is CompressedData which contains compression type (1 byte) followed by the uncompressed data size (4 bytes-exists only if data was compressed) followed by the compressed data If SPICE_SPICEVMC_CAP_DATA_COMPRESS_LZ4 capability is available && data_size > COMPRESS_THRESHOLD &