59 #define INIT_VLC_RL(rl, static_size)\ 62 static RL_VLC_ELEM rl_vlc_table[32][static_size];\ 63 INIT_VLC_STATIC(&rl.vlc, 9, rl.n + 1,\ 64 &rl.table_vlc[0][1], 4, 2,\ 65 &rl.table_vlc[0][0], 4, 2, static_size);\ 69 rl.rl_vlc[q]= rl_vlc_table[q];\ 83 return index + level - 1;
int last
number of values for last = 0
const int8_t * table_level
void ff_init_rl(RLTable *rl, uint8_t static_store[2][2 *MAX_RUN+MAX_LEVEL+3])
int8_t * max_run[2]
encoding & decoding
int8_t * max_level[2]
encoding & decoding
bitstream reader API header.
VLC vlc
decoding only deprecated FIXME remove
int n
number of entries of table_vlc minus 1
const uint16_t(* table_vlc)[2]
void ff_init_vlc_rl(RLTable *rl)
FIXME Range Coding of cr are level
RL_VLC_ELEM * rl_vlc[32]
decoding only
struct RLTable RLTable
RLTable.
uint8_t * index_run[2]
encoding only
static int get_rl_index(const RLTable *rl, int last, int run, int level)