entropy
ptwm_core::entropy::context_mixing
Opt-in context-mixing plane codec (cmix/lpaq lineage). Bit-level prediction from byte-history models, context-gated logistic mixing, binary range coding. Fully integer/deterministic; stateless on the wire.
ptwm_core::entropy::context_mixing
Opt-in context-mixing plane codec (cmix/lpaq lineage). Bit-level prediction from byte-history models, context-gated logistic mixing, binary range coding. Fully integer/deterministic; stateless on the wire.
ptwm_core::entropy::context_mixing
crates/ptwm-core/src/entropy/context_mixing/mod.rs:1mod context_mixingOpt-in context-mixing plane codec (cmix/lpaq lineage). Bit-level prediction from byte-history models, context-gated logistic mixing, binary range coding. Fully integer/deterministic; stateless on the wire.
model
Byte models for the arithmetic plane codecs.
coder
Bit-level encode/decode driver. Ties the context models + gated mixer to the shared range coder, coding each byte MSB-first. The payload is self-delimiting: a u32 LE length prefix precedes the coded bits, so decode never depends on the container's decoded_len.