[Spice-devel] [spice-common PATCHv2 0/6] LZ4: Fix bugs in LZ4 decompression algorithm

Javier Celaya javier.celaya at flexvm.es
Thu Jan 22 08:21:18 PST 2015


This v2 of the patch set is splitted into smaller patches. I have also added two
improvements:
- A simple implementation of ntohl, to avoid including arpa/inet.h, which would
  probably break under MSVC.
- Fix the row alignment for 16bit and 24bit images, instead of transforming them
  into 32bit. Pixman supports both formats, but expects every row of the image
  to be aligned on a 32bit boundary.

Javier Celaya (6):
  LZ4: Fix output buffer size
  LZ4: Implement ntohl to remove dependency on arpa/inet.h
  LZ4: Correctly read the top_down flag
  LZ4: Decode the image format from the stream
  LZ4: Fix the row alignment when it is not on a 32bit boundary
  LZ4: Add support for 24bit pixman surfaces

 common/canvas_base.c  | 78 +++++++++++++++++++++++++++++++++++++++++++--------
 common/canvas_utils.c | 10 ++++++-
 2 files changed, 76 insertions(+), 12 deletions(-)

-- 
1.9.3



More information about the Spice-devel mailing list