|
ArithmeticCoding
0.0.0a
Arithmetic coding in C
|
Encoder/Decoder state. More...
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. | |
| u64 * | cdf |
| The cdf associated with the input alphabet. Must be an array of N+1 symbols. | |
Encoder/Decoder state.
Used internally. Not externally visible.
| size_t _state_t::nsym |
1.7.6.1