entropy
ptwm_core::entropy::arithmetic
Continuous-precision arithmetic coding over plane bytes.
ptwm_core::entropy::arithmetic
Continuous-precision arithmetic coding over plane bytes.
ptwm_core::entropy::arithmetic
crates/ptwm-core/src/entropy/arithmetic/mod.rs:1mod arithmeticContinuous-precision arithmetic coding over plane bytes.
A generic [`encode_bytes`]/[`decode_bytes`] driver runs any
[`model::ByteModel`] against the shared [`crate::range_coder`]. Four
models (order-0 static, order-0 adaptive, order-1 adaptive, order-1
static) are wrapped as peer plane codecs in `crate::codecs::arithmetic`
and `crate::codecs::order1_arithmetic`.