Expand description
Implementations and shared abstractions for the source coders in this crate.
Keeping the codecs together under one submodule makes it easier to navigate the growing set of entropy and dictionary coders while still allowing the crate root to re-export the common entry points.
See the book entry Entropy coding.
Re-exports§
pub use gray_codes::gray_code;pub use gray_codes::gray_code_sequence;pub use gray_codes::gray_decode;
Modules§
- arithmetic
- Manual arithmetic compression and decompression helpers.
- gray_
codes - Gray codes (reflected binary codes), in which consecutive values differ in exactly one bit.
- huffman
- Manual Huffman compression and decompression helpers.
- lz77
- Manual LZ77 compression and decompression helpers.
- lz78
- Manual LZ78 compression and decompression helpers.
- lzw
- Manual LZW compression and decompression helpers.
- shannon_
fano - Manual Shannon-Fano compression and decompression helpers.
- source_
coder - Shared trait wrappers for the source-coding implementations in this crate.