linux/lib/xz
Lasse Collin aaa2975f2b lib/xz: Add MicroLZMA decoder
MicroLZMA is a yet another header format variant where the first
byte of a raw LZMA stream (without the end of stream marker) has
been replaced with a bitwise-negation of the lc/lp/pb properties
byte. MicroLZMA was created to be used in EROFS but can be used
by other things too where wasting minimal amount of space for
headers is important.

This is implemented using most of the LZMA2 code as is so the
amount of new code is small. The API has a few extra features
compared to the XZ decoder. On the other hand, the API lacks
XZ_BUF_ERROR support which is important to take into account
when using this API.

MicroLZMA doesn't support BCJ filters. In theory they could be
added later as there are many unused/reserved values for the
first byte of the compressed stream but in practice it is
somewhat unlikely to happen due to a few implementation reasons.

Link: https://lore.kernel.org/r/20211010213145.17462-5-xiang@kernel.org
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
2021-10-19 23:44:30 +08:00
..
Kconfig lib/xz: Add MicroLZMA decoder 2021-10-19 23:44:30 +08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
xz_crc32.c lib/: replace HTTP links with HTTPS ones 2020-08-12 10:58:00 -07:00
xz_dec_bcj.c lib/decompressors: fix spelling mistakes 2021-07-01 11:06:05 -07:00
xz_dec_lzma2.c lib/xz: Add MicroLZMA decoder 2021-10-19 23:44:30 +08:00
xz_dec_stream.c lib/xz: Validate the value before assigning it to an enum variable 2021-10-19 23:44:30 +08:00
xz_dec_syms.c lib/xz: Add MicroLZMA decoder 2021-10-19 23:44:30 +08:00
xz_dec_test.c
xz_lzma2.h lib/: replace HTTP links with HTTPS ones 2020-08-12 10:58:00 -07:00
xz_private.h lib/xz: Add MicroLZMA decoder 2021-10-19 23:44:30 +08:00
xz_stream.h lib/: replace HTTP links with HTTPS ones 2020-08-12 10:58:00 -07:00