jxl_encoder/entropy_coding/
mod.rs1pub mod ans;
11pub mod ans_decode;
12pub(crate) mod cluster;
13pub(crate) mod context_map;
14pub(crate) mod encode;
15mod encode_ans;
16mod encode_huffman;
17pub mod histogram;
18pub(crate) mod huffman_tree;
19pub(crate) mod hybrid_uint;
20pub(crate) mod lz77;
21pub(crate) mod token;
22
23pub use ans::{
24 ANS_LOG_TAB_SIZE, ANS_MAX_ALPHABET_SIZE, ANS_SIGNATURE, ANS_TAB_MASK, ANS_TAB_SIZE,
25 ANSEncodingHistogram, ANSHistogramStrategy, AnsEncoder, get_population_count_precision,
26};
27pub use cluster::{
28 ClusterResult, ClusteringType, EntropyType, cluster_histograms, fast_cluster_histograms,
29};
30pub use context_map::{
31 encode_context_map, inverse_move_to_front_transform, move_to_front_transform,
32};
33pub use histogram::{
34 DistanceScratch, HISTOGRAM_ROUNDING, Histogram, MIN_DISTANCE_FOR_DISTINCT, histogram_distance,
35 histogram_distance_reuse, histogram_kl_divergence,
36};
37pub use huffman_tree::{
38 HuffmanTable, build_and_store_huffman_tree, convert_bit_depths_to_symbols, create_huffman_tree,
39 store_huffman_tree, write_huffman_tree,
40};
41pub use lz77::Lz77Method;