alice-zip 0.8.0

Compression primitives (LZ77, dictionary coding, BPE, entropy, quantisation) + procedural signal generators (polynomial / Fourier / Perlin) + zlib / LZMA residual containers, no_std + alloc
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Convenience re-export (= `use alice_zip::prelude::*;` で主要 API 一括取得)
//!
//! `lz77` / `dictionary` / `entropy` / `bpe` / `error` / `generators` の公開型 +
//! 関数を prelude 経由で 1 行 import できるようにする

pub use crate::bpe::{bpe_replace, find_most_frequent_pair};
pub use crate::dictionary::Dictionary;
pub use crate::entropy::{shannon_entropy, theoretical_min_size};
pub use crate::error::ZipError;
pub use crate::generators::{
    analyze_signal, fit_polynomial, fit_polynomial_unit, generate_fbm_1d,
    generate_from_coefficients, generate_multi_sine, generate_perlin_2d, generate_perlin_advanced,
    generate_polynomial, generate_polynomial_unit, generate_sine_wave, PerlinNoise,
};
pub use crate::lz77::{lz77_decode, lz77_encode, LzToken, MAX_WINDOW};