FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
lag_rac Struct Reference

#include <lagarithrac.h>

Data Fields

AVCodecContextavctx
 
unsigned low
 
unsigned range
 
unsigned scale
 Number of bits of precision in range.
 
unsigned hash_shift
 Number of bits to shift to calculate hash for radix search.
 
const uint8_tbytestream_start
 Start of input bytestream.
 
const uint8_tbytestream
 Current position in input bytestream.
 
const uint8_tbytestream_end
 End position of input bytestream.
 
uint32_t prob [258]
 Table of cumulative probability for each symbol.
 
uint8_t range_hash [256]
 Hash table mapping upper byte to approximate symbol.
 

Detailed Description

Definition at line 39 of file lagarithrac.h.

Field Documentation

AVCodecContext* lag_rac::avctx

Definition at line 40 of file lagarithrac.h.

Referenced by lag_decode_arith_plane(), and lag_read_prob_header().

unsigned lag_rac::low

Definition at line 41 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), lag_get_rac(), and lag_rac_refill().

unsigned lag_rac::range

Definition at line 42 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), lag_get_rac(), and lag_rac_refill().

unsigned lag_rac::scale

Number of bits of precision in range.

Definition at line 43 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), lag_get_rac(), and lag_read_prob_header().

unsigned lag_rac::hash_shift

Number of bits to shift to calculate hash for radix search.

Definition at line 44 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), and lag_get_rac().

const uint8_t* lag_rac::bytestream_start

Start of input bytestream.

Definition at line 46 of file lagarithrac.h.

Referenced by ff_lag_rac_init().

const uint8_t* lag_rac::bytestream

Current position in input bytestream.

Definition at line 47 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), and lag_rac_refill().

const uint8_t* lag_rac::bytestream_end

End position of input bytestream.

Definition at line 48 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), and lag_rac_refill().

uint32_t lag_rac::prob[258]

Table of cumulative probability for each symbol.

Definition at line 50 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), lag_get_rac(), and lag_read_prob_header().

uint8_t lag_rac::range_hash[256]

Hash table mapping upper byte to approximate symbol.

Definition at line 51 of file lagarithrac.h.

Referenced by ff_lag_rac_init(), and lag_get_rac().


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