]> git.ipfire.org Git - thirdparty/xz.git/commit
liblzma: Add EROFS LZMA encoder and decoder.
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 14 Jan 2021 18:07:01 +0000 (20:07 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 14 Jan 2021 18:10:59 +0000 (20:10 +0200)
commit601ec0311e769fc704daaaa7dac0ca840aff080e
treeec13c2c53062e7fa6ec8210380c0efc97c8cd3f7
parent625f4c7c99b2fcc4db9e7ab2deb4884790e2e17c
liblzma: Add EROFS LZMA encoder and decoder.

Right now this is just a planned extra-compact format for use
in the EROFS file system in Linux. At this point it's possible
that the format will either change or be abandoned and removed
completely.

The special thing about the encoder is that it uses the
output-size-limited encoding added in the previous commit.
EROFS uses fixed-sized blocks (e.g. 4 KiB) to hold compressed
data so the compressors must be able to create valid streams
that fill the given block size.
src/liblzma/api/lzma/container.h
src/liblzma/common/Makefile.inc
src/liblzma/common/erofs_decoder.c [new file with mode: 0644]
src/liblzma/common/erofs_encoder.c [new file with mode: 0644]
src/liblzma/liblzma.map