mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-16 02:11:43 -06:00
Update Lizard - use internal HUF and FSE entropy
- AdjustLiz.sh fixes some double defines with zstd of lizard - lizard uses it's own entropy lib again - this will fix #302 Signed-off-by: Tino Reichardt <milky-7zip@mcmilk.de>
This commit is contained in:
38
C/lizard/ENTROPY.md
Normal file
38
C/lizard/ENTROPY.md
Normal file
@@ -0,0 +1,38 @@
|
||||
New Generation Entropy library
|
||||
==============================
|
||||
|
||||
The __lib__ directory contains several files, but you don't necessarily want them all.
|
||||
Here is a detailed list, to help you decide which one you need :
|
||||
|
||||
|
||||
#### Compulsory files
|
||||
|
||||
These files are required in all circumstances :
|
||||
- __error_public.h__ : error list as enum
|
||||
- __error_private.h__ : error management
|
||||
- __mem.h__ : low level memory access routines
|
||||
- __bitstream.h__ : generic read/write bitstream common to all entropy codecs
|
||||
- __entropy_common.c__ : common functions needed for both compression and decompression
|
||||
|
||||
|
||||
#### Finite State Entropy
|
||||
|
||||
This is the base codec required by other ones.
|
||||
It implements a tANS variant, similar to arithmetic in compression performance, but much faster. Compression and decompression can be compiled independently.
|
||||
- __fse.h__ : exposes interfaces
|
||||
- __fse_compress.c__ : implements compression codec
|
||||
- __fse_decompress.c__ : implements decompression codec
|
||||
|
||||
|
||||
#### FSE 16-bits symbols version
|
||||
|
||||
This codec is able to encode alphabets of size > 256, using 2 bytes per symbol. It requires the base FSE codec to compile properly. Compression and decompression are merged in the same file.
|
||||
- __fseU16.c__ implements the codec, while __fseU16.h__ exposes its interfaces.
|
||||
|
||||
|
||||
#### Huffman codec
|
||||
|
||||
This is the fast huffman codec. It requires the base FSE codec to compress its headers. Compression and decompression can be compiled independently.
|
||||
- __huf.h__ : exposes interfaces.
|
||||
- __huf_compress.c__ : implements compression codec
|
||||
- __huf_decompress.c__ : implements decompression codec
|
||||
Reference in New Issue
Block a user