Crate arithmetic_coding

Source
Expand description

Arithmetic coding library

Re-exports§

pub use decoder::Decoder;
pub use encoder::Encoder;

Modules§

decoder
The Decoder half of the arithmetic coding library.
encoder
The Encoder half of the arithmetic coding library.
fixed_length
Helper trait for creating fixed-length Models
max_length
Helper trait for creating fixed-length Models
one_shot
Helper trait for creating Models which only accept a single symbol

Enums§

Error
Errors that can occur during encoding/decoding

Traits§

BitStore
A trait for a type that can be used for the internal integer representation of an encoder or decoder
Model
A Model is used to calculate the probability of a given symbol occuring in a sequence. The Model is used both for encoding and decoding.