PTWM
codecs

ptwm_core::codecs::order1_arithmetic

Order1Arithmetic: static order-1 (lag-1) arithmetic coder over the exponent byte plane — a learned dynamic-length float coder. Fits a conditional table once, serializes it into codec state (the static table is what makes a future GPU decode kernel feasible), and range-codes against the frozen model. Self-delimiting: it frames the true plane length and ignores the container's source-derived decoded_len.

ptwm_core::codecs::order1_arithmetic

Order1Arithmetic: static order-1 (lag-1) arithmetic coder over the exponent byte plane — a learned dynamic-length float coder. Fits a conditional table once, serializes it into codec state (the static table is what makes a future GPU decode kernel feasible), and range-codes against the frozen model. Self-delimiting: it frames the true plane length and ignores the container's source-derived decoded_len.

rsmod

ptwm_core::codecs::order1_arithmetic

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

Order1Arithmetic: static order-1 (lag-1) arithmetic coder over the exponent byte plane — a learned dynamic-length float coder. Fits a conditional table once, serializes it into codec state (the static table is what makes a future GPU decode kernel feasible), and range-codes against the frozen model. Self-delimiting: it frames the true plane length and ignores the container's source-derived `decoded_len`.

rstype

ptwm_core::codecs::order1_arithmetic::Order1Arithmetic

crates/ptwm-core/src/codecs/order1_arithmetic.rs:21
pub struct Order1Arithmetic;