ArithmeticCoding  0.0.0a
Arithmetic coding in C
Public Attributes
_state_t Struct Reference

Encoder/Decoder state. More...

List of all members.

Public Attributes

u64 b
 Beginning of the current interval.
u64 l
 Length of the current interval.
u64 v
 Current value.
stream_t d
 The attached data stream.
size_t nsym
 The number of symbols in the input alphabet.
u64 D
 The number of symbols in the output alphabet.
u64 shift
 A utility constant. log2(D^P) - need 2P to fit in a register for multiplies.
u64 mask
 Masks the live bits (can't remember exactly?)
u64 lowl
 The minimum length of an encodable interval.
u64cdf
 The cdf associated with the input alphabet. Must be an array of N+1 symbols.

Detailed Description

Encoder/Decoder state.

Used internally. Not externally visible.

Definition at line 251 of file ac.c.


Member Data Documentation

Beginning of the current interval.

Definition at line 252 of file ac.c.

The cdf associated with the input alphabet. Must be an array of N+1 symbols.

Definition at line 261 of file ac.c.

The attached data stream.

Definition at line 255 of file ac.c.

The number of symbols in the output alphabet.

Definition at line 257 of file ac.c.

Length of the current interval.

Definition at line 252 of file ac.c.

The minimum length of an encodable interval.

Definition at line 257 of file ac.c.

Masks the live bits (can't remember exactly?)

Definition at line 257 of file ac.c.

The number of symbols in the input alphabet.

Definition at line 256 of file ac.c.

A utility constant. log2(D^P) - need 2P to fit in a register for multiplies.

Definition at line 257 of file ac.c.

Current value.

Definition at line 252 of file ac.c.


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Defines