FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | RLTable |
RLTable. More... | |
Macros | |
#define | MAX_RUN 64 |
#define | MAX_LEVEL 64 |
#define | INIT_VLC_RL(rl, static_size) |
#define | INIT_FIRST_VLC_RL(rl, static_size) |
Functions | |
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. More... | |
void | ff_rl_init_vlc (RLTable *rl, unsigned static_size) |
Initialize rl_vlc from n, last, table_vlc, table_run and table_level. More... | |
static int | get_rl_index (const RLTable *rl, int last, int run, int level) |
rl header.
Definition in file rl.h.
#define INIT_VLC_RL | ( | rl, | |
static_size | |||
) |
#define INIT_FIRST_VLC_RL | ( | rl, | |
static_size | |||
) |
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.
static_store | static uint8_t array[2][2*MAX_RUN + MAX_LEVEL + 3] to hold the level and run tables. |
Definition at line 27 of file rl.c.
Referenced by ff_mpeg4videodec_static_init(), h261_encode_init_static(), h263_encode_init_static(), h263_init_rl_inter(), mpeg4_init_rl_intra(), msmpeg4_common_init_static(), and speedhq_init_static_data().
void ff_rl_init_vlc | ( | RLTable * | rl, |
unsigned | static_size | ||
) |
Initialize rl_vlc from n, last, table_vlc, table_run and table_level.
All rl_vlc pointers to be initialized must already point to a static buffer of static_size
RL_VLC_ELEM elements; if a pointer is NULL, initializing further VLCs stops.
Definition at line 94 of file rl.h.
Referenced by ff_msmpeg4_encode_block(), get_size_of_code(), h261_encode_block(), h263_encode_block(), init_uni_h261_rl_tab(), init_uni_h263_rl_tab(), and init_uni_mpeg4_rl_tab().