1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00
xz-archive/src/liblzma/lzma
Lasse Collin 33b8a24b66 liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker.
Some file formats need support for LZMA1 streams that don't use
the end of payload marker (EOPM) alias end of stream (EOS) marker.
So far liblzma API has supported decompressing such streams via
lzma_alone_decoder() when .lzma header specifies a known
uncompressed size. Encoding support hasn't been available in the API.

Instead of adding a new LZMA1-only API for this purpose, this commit
adds a new filter ID for use with raw encoder and decoder. The main
benefit of this approach is that then also filter chains are possible,
for example, if someone wants to implement support for .7z files that
use the x86 BCJ filter with LZMA1 (not BCJ2 as that isn't supported
in liblzma).
2022-11-27 23:16:21 +02:00
..
fastpos.h liblzma: Fix warnings from -Wsign-conversion. 2019-06-23 21:38:56 +03:00
fastpos_table.c Revised the fastpos code. It now uses the slightly faster 2008-01-15 14:02:22 +02:00
fastpos_tablegen.c liblzma: Remove unneeded <sys/types.h> from fastpos_tablegen.c. 2020-02-24 23:23:18 +02:00
lzma2_decoder.c liblzma: Pass the Filter ID to LZ encoder and decoder. 2022-11-27 18:20:33 +02:00
lzma2_decoder.h liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
lzma2_encoder.c liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
lzma2_encoder.h liblzma: Make the use of lzma_allocator const-correct. 2012-07-17 18:19:59 +03:00
lzma_common.h liblzma: Fix warnings from -Wsign-conversion. 2019-06-23 21:38:56 +03:00
lzma_decoder.c liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
lzma_decoder.h liblzma: Avoid unneeded use of void pointer in LZMA decoder. 2022-11-27 18:43:07 +02:00
lzma_encoder.c liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
lzma_encoder.h liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
lzma_encoder_optimum_fast.c liblzma: Avoid multiple definitions of lzma_coder structures. 2016-11-21 20:24:50 +02:00
lzma_encoder_optimum_normal.c liblzma: Add more uses of lzma_memcmplen() to the normal mode of LZMA. 2020-02-21 17:40:02 +02:00
lzma_encoder_presets.c liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c. 2015-11-03 20:55:45 +02:00
lzma_encoder_private.h liblzma: Add LZMA_FILTER_LZMA1EXT to support LZMA1 without end marker. 2022-11-27 23:16:21 +02:00
Makefile.inc liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c. 2015-11-03 20:55:45 +02:00