xz/src/liblzma/lz
Lasse Collin 625f4c7c99 liblzma: Add rough support for output-size-limited encoding in LZMA1.
With this it is possible to encode LZMA1 data without EOPM so that
the encoder will encode as much input as it can without exceeding
the specified output size limit. The resulting LZMA1 stream will
be a normal LZMA1 stream without EOPM. The actual uncompressed size
will be available to the caller via the uncomp_size pointer.

One missing thing is that the LZMA layer doesn't inform the LZ layer
when the encoding is finished and thus the LZ may read more input
when it won't be used. However, this doesn't matter if encoding is
done with a single call (which is the planned use case for now).
For proper multi-call encoding this should be improved.

This commit only adds the functionality for internal use.
Nothing uses it yet.
2021-01-14 18:58:13 +02:00
..
Makefile.inc Make liblzma produce the same output on both endiannesses. 2009-10-02 11:03:26 +03:00
lz_decoder.c liblzma: Remove incorrect uses of lzma_attribute((__unused__)). 2019-06-24 22:50:36 +03:00
lz_decoder.h liblzma: Avoid multiple definitions of lzma_coder structures. 2016-11-21 20:24:50 +02:00
lz_encoder.c liblzma: Add rough support for output-size-limited encoding in LZMA1. 2021-01-14 18:58:13 +02:00
lz_encoder.h liblzma: Add rough support for output-size-limited encoding in LZMA1. 2021-01-14 18:58:13 +02:00
lz_encoder_hash.h Rename unaligned_read32ne to read32ne, and similarly for the others. 2019-12-31 00:47:49 +02:00
lz_encoder_hash_table.h Make liblzma produce the same output on both endiannesses. 2009-10-02 11:03:26 +03:00
lz_encoder_mf.c liblzma: Fix a buggy comment. 2019-06-25 23:15:21 +03:00