Skip to main content

Crate msrtc_rans

Crate msrtc_rans 

Source
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§

Rans64DecSymbol
Re-export the core rANS primitives. Prepared decoder symbol.
Rans64Decoder
Re-export the core rANS primitives. Raw rANS decoder.
Rans64EncSymbol
Re-export the core rANS primitives. Prepared encoder symbol.
Rans64Encoder
Re-export the core rANS primitives. Raw rANS encoder.
RansByteDecSymbol
Re-export the core rANS primitives. Prepared decoder symbol.
RansByteDecoder
Re-export the core rANS primitives. Raw rANS decoder.
RansByteEncSymbol
Re-export the core rANS primitives. Prepared encoder symbol.
RansByteEncoder
Re-export the core rANS primitives. Raw rANS encoder.

Enums§

RansVariant
Re-export the core rANS primitives. RANS variant enum for runtime dispatch.
RawRansError
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)