Go to the documentation of this file.
   58                           const uint8_t table_run[],
 
   59                           const uint8_t table_level[], 
int n);
 
   83 #define VLC_INIT_RL(rl, static_size)\ 
   85     static RL_VLC_ELEM rl_vlc_table[32][static_size];\ 
   87     for (int q = 0; q < 32; q++) \ 
   88         rl.rl_vlc[q] = rl_vlc_table[q]; \ 
   90     ff_rl_init_vlc(&rl, static_size); \ 
   93 #define INIT_FIRST_VLC_RL(rl, static_size)              \ 
   95     static RL_VLC_ELEM rl_vlc_table[static_size];       \ 
   97     rl.rl_vlc[0] = rl_vlc_table;                        \ 
   98     ff_rl_init_vlc(&rl, static_size);                   \ 
  
uint8_t * index_run[2]
encoding only
int n
number of entries of table_vlc minus 1
int8_t * max_level[2]
encoding & decoding
static int get_rl_index(const RLTable *rl, int last, int run, int level)
const uint16_t(* table_vlc)[2]
const int8_t * table_level
void ff_rl_init_level_run(uint8_t max_level[MAX_LEVEL+1], uint8_t index_run[MAX_RUN+1], const uint8_t table_run[], const uint8_t table_level[], int n)
Initialize max_level and index_run from table_run and table_level; this is equivalent to initializing...
void ff_rl_init_vlc(RLTable *rl, unsigned static_size)
Initialize rl_vlc from n, last, table_vlc, table_run and table_level.
int8_t * max_run[2]
encoding & decoding
int last
number of values for last = 0
void ff_rl_init(RLTable *rl, uint8_t static_store[2][2 *MAX_RUN+MAX_LEVEL+3])
Initialize index_run, max_level and max_run from n, last, table_vlc, table_run and table_level.
RL_VLC_ELEM * rl_vlc[32]
decoding only