Commit Graph

4 Commits

Author SHA1 Message Date
Javier Celaya
10c78a0197 LZ4: Send the original format with the compressed data 2015-02-03 10:39:16 +01:00
Javier Celaya
16412aa101 LZ4: Do not reverse bottom-up images
Reversing the bottom-up images in the server is not needed since Pixman,
in the client, is able to deal with them. As a result, the previous code
was more complex and wrong. This commit fixes and cleans it.
2015-02-03 10:39:16 +01:00
Javier Celaya
d92ce3506e LZ4: Fix encoder output size 2015-02-03 10:39:16 +01:00
Javier Celaya
b532ef0866 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.
2014-12-02 19:41:17 +01:00