Expand description
§msrtc-rans
Safe public Rust entropy-coder API for msrtc_rans.
This crate provides the public API for the rANS entropy coder, including entropy encoder/decoder, streams, and distribution construction.
Modules§
- arithmetic
- Re-export the core rANS primitives. Arithmetic primitives for rANS.
- entropy
- Entropy encoder/decoder (high-level PMF/bypass/CDF pipeline).
- error
- Re-export the core rANS primitives. Error types for msrtc-rans-core.
- raw
- Re-export the core rANS primitives. Raw rANS encoder/decoder implementations for both RansByte and Rans64 variants.
- sink
- Re-export the core rANS primitives. Sink traits for rANS encoder output.
- source
- Re-export the core rANS primitives. Source traits for rANS decoder input.
- variant
- Re-export the core rANS primitives. RANS variant definitions and macros.
Structs§
- Rans64
DecSymbol - Re-export the core rANS primitives. Prepared decoder symbol.
- Rans64
Decoder - Re-export the core rANS primitives. Raw rANS decoder.
- Rans64
EncSymbol - Re-export the core rANS primitives. Prepared encoder symbol.
- Rans64
Encoder - Re-export the core rANS primitives. Raw rANS encoder.
- Rans
Byte DecSymbol - Re-export the core rANS primitives. Prepared decoder symbol.
- Rans
Byte Decoder - Re-export the core rANS primitives. Raw rANS decoder.
- Rans
Byte EncSymbol - Re-export the core rANS primitives. Prepared encoder symbol.
- Rans
Byte Encoder - Re-export the core rANS primitives. Raw rANS encoder.
Enums§
- Rans
Variant - Re-export the core rANS primitives. RANS variant enum for runtime dispatch.
- RawRans
Error - Re-export the core rANS primitives. Errors that can occur during raw rANS operations.
Type Aliases§
- Freq
- Re-export the core rANS primitives.
Frequency type used throughout the rANS implementation - corresponds to
rans_freq_t(uint32_t)