Rizin
unix-like reverse engineering framework and cli tools
lzma_range_encoder Struct Reference

#include <range_encoder.h>

Public Types

enum  {
  RC_BIT_0 , RC_BIT_1 , RC_DIRECT_0 , RC_DIRECT_1 ,
  RC_FLUSH
}
 Symbols to encode. More...
 

Public Attributes

uint64_t low
 
uint64_t cache_size
 
uint32_t range
 
uint8_t cache
 
size_t count
 Number of symbols in the tables. More...
 
size_t pos
 rc_encode()'s position in the tables More...
 
enum lzma_range_encoder:: { ... }  symbols [RC_SYMBOLS_MAX]
 Symbols to encode. More...
 
probabilityprobs [RC_SYMBOLS_MAX]
 Probabilities associated with RC_BIT_0 or RC_BIT_1. More...
 

Detailed Description

Definition at line 27 of file range_encoder.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Symbols to encode.

Enumerator
RC_BIT_0 
RC_BIT_1 
RC_DIRECT_0 
RC_DIRECT_1 
RC_FLUSH 

Definition at line 40 of file range_encoder.h.

40  {
41  RC_BIT_0,
42  RC_BIT_1,
45  RC_FLUSH,
#define RC_SYMBOLS_MAX
Definition: range_encoder.h:24
enum lzma_range_encoder::@658 symbols[RC_SYMBOLS_MAX]
Symbols to encode.

Member Data Documentation

◆ cache

uint8_t lzma_range_encoder::cache

Definition at line 31 of file range_encoder.h.

Referenced by rc_reset(), and rc_shift_low().

◆ cache_size

uint64_t lzma_range_encoder::cache_size

Definition at line 29 of file range_encoder.h.

Referenced by rc_pending(), rc_reset(), and rc_shift_low().

◆ count

size_t lzma_range_encoder::count

Number of symbols in the tables.

Definition at line 34 of file range_encoder.h.

Referenced by rc_bit(), rc_direct(), rc_encode(), rc_flush(), and rc_reset().

◆ low

uint64_t lzma_range_encoder::low

Definition at line 28 of file range_encoder.h.

Referenced by rc_encode(), rc_reset(), and rc_shift_low().

◆ pos

size_t lzma_range_encoder::pos

rc_encode()'s position in the tables

Definition at line 37 of file range_encoder.h.

Referenced by cmd_descs_generate.CmdDesc::_validate(), rc_encode(), and rc_reset().

◆ probs

probability* lzma_range_encoder::probs[RC_SYMBOLS_MAX]

Probabilities associated with RC_BIT_0 or RC_BIT_1.

Definition at line 49 of file range_encoder.h.

Referenced by rc_bit(), and rc_encode().

◆ range

uint32_t lzma_range_encoder::range

Definition at line 30 of file range_encoder.h.

Referenced by rc_encode(), and rc_reset().

◆ 

enum { ... } lzma_range_encoder::symbols[RC_SYMBOLS_MAX]

Symbols to encode.

Referenced by rc_bit(), rc_direct(), rc_encode(), and rc_flush().


The documentation for this struct was generated from the following file: