Skip to content

ez: LZMA fixed-sized output compression

Gao Xiang via Linux-erofs linux-erofs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ez: add basic source filesinclude/ez/defs.h include/ez/util.h+101 -00 replies
2/11ez: add helpers for unaligned accessesinclude/ez/unaligned.h+55 -00 replies
3/11ez: introduce bitops header fileinclude/ez/bitops.h+23 -00 replies
4/11ez: lzma: add range encoderlzma/rc_common.h lzma/rc_encoder.h+269 -00 replies
5/11ez: lzma: add common header filelzma/lzma_common.h+59 -00 replies
6/11ez: lzma: add byte hashtable generated with CRC32lzma/bytehash.h+69 -00 replies
7/11ez: lzma: add LZMA matchfinderlzma/mf.c lzma/mf.h+384 -00 replies
8/11ez: lzma: add LZMA encoderlzma/lzma_encoder.c+628 -00 replies
9/11ez: lzma: checkpoint feature for range encoderlzma/rc_encoder_ckpt.h+40 -00 replies
10/11ez: lzma: add fixed-sized output compressionlzma/lzma_encoder.c+132 -10 replies
11/11ez: lzma: add test programlzma/lzma_encoder.c lzma/run.sh+116 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [WIP] [PATCH v0.0-20200229 00/11] ez: LZMA fixed-sized output compression

From: Gao Xiang <[email protected]>

This is a WIP PREVIEW patchset, just for archiving to open source community only.

For now, it implements LZMA SDK-like GetOptimumFast approach and GetOptimum is still on schedule.

It's still buggy, lack of formal APIs and actively under development for a while...

Usage:

$ ./run.sh
$ ./a.out output.bin.lzma infile

It will compress the beginning as much as possible into 4k RAW LZMA block.

Thanks,
Gao Xiang

Gao Xiang (11):
ez: add basic source files
ez: add helpers for unaligned accesses
ez: introduce bitops header file
ez: lzma: add range encoder
ez: lzma: add common header file
ez: lzma: add byte hashtable generated with CRC32
ez: lzma: add LZMA matchfinder
ez: lzma: add LZMA encoder
ez: lzma: checkpoint feature for range encoder
ez: lzma: add fixed-sized output compression
ez: lzma: add test program

Signature · 1 line
2.20.1