PTWM
codecs

ptwm_core::codecs::arithmetic

Arithmetic-coding plane codecs: three peer models over the shared range coder. Each frames the true plane length into its payload (like rans.rs), so decode is self-delimiting and ignores the container's decoded_len (which is source-derived and unreliable for byte-split planes).

ptwm_core::codecs::arithmetic

Arithmetic-coding plane codecs: three peer models over the shared range coder. Each frames the true plane length into its payload (like rans.rs), so decode is self-delimiting and ignores the container's decoded_len (which is source-derived and unreliable for byte-split planes).

rsmod

ptwm_core::codecs::arithmetic

crates/ptwm-core/src/codecs/arithmetic.rs:1
mod arithmetic

Arithmetic-coding plane codecs: three peer models over the shared range coder. Each frames the true plane length into its payload (like `rans.rs`), so `decode` is self-delimiting and ignores the container's `decoded_len` (which is source-derived and unreliable for byte-split planes).

rstype

ptwm_core::codecs::arithmetic::ArithmeticO0

crates/ptwm-core/src/codecs/arithmetic.rs:55
pub struct ArithmeticO0;

Order-0 arithmetic coder with a serialized normalized table.

rstype

ptwm_core::codecs::arithmetic::ArithmeticO0Adaptive

crates/ptwm-core/src/codecs/arithmetic.rs:124
pub struct ArithmeticO0Adaptive;

Order-0 adaptive arithmetic coder. No inline state.

rstype

ptwm_core::codecs::arithmetic::ArithmeticO1

crates/ptwm-core/src/codecs/arithmetic.rs:184
pub struct ArithmeticO1;

Order-1 adaptive arithmetic coder (prev-byte context). No inline state.