58 #define INIT_VLC_RL(rl, static_size)\
61 static RL_VLC_ELEM rl_vlc_table[32][static_size];\
65 rl.rl_vlc[q]= rl_vlc_table[q];\
67 ff_rl_init_vlc(&rl, static_size);\
71 #define INIT_FIRST_VLC_RL(rl, static_size) \
73 static RL_VLC_ELEM rl_vlc_table[static_size]; \
75 rl.rl_vlc[0] = rl_vlc_table; \
76 ff_rl_init_vlc(&rl, static_size); \
void ff_rl_init_vlc(RLTable *rl, unsigned static_size)
static int get_rl_index(const RLTable *rl, int last, int run, int level)
void ff_rl_init(RLTable *rl, uint8_t static_store[2][2 *MAX_RUN+MAX_LEVEL+3])
uint8_t * index_run[2]
encoding only
int n
number of entries of table_vlc minus 1
int last
number of values for last = 0
int8_t * max_run[2]
encoding & decoding
const uint16_t(* table_vlc)[2]
RL_VLC_ELEM * rl_vlc[32]
decoding only
const int8_t * table_level
int8_t * max_level[2]
encoding & decoding