#include <stdint.h>
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | RLTable |
RLTable. More... | |
Defines | |
#define | MAX_RUN 64 |
#define | MAX_LEVEL 64 |
#define | INIT_VLC_RL(rl, static_size) |
Functions | |
void | init_rl (RLTable *rl, uint8_t static_store[2][2 *MAX_RUN+MAX_LEVEL+3]) |
void | init_vlc_rl (RLTable *rl) |
static int | get_rl_index (const RLTable *rl, int last, int run, int level) |
Definition in file rl.h.
#define INIT_VLC_RL | ( | rl, | |||
static_size | ) |
Value:
{\ int q;\ static RL_VLC_ELEM rl_vlc_table[32][static_size];\ INIT_VLC_STATIC(&rl.vlc, 9, rl.n + 1,\ &rl.table_vlc[0][1], 4, 2,\ &rl.table_vlc[0][0], 4, 2, static_size);\ \ if(!rl.rl_vlc[0]){\ for(q=0; q<32; q++)\ rl.rl_vlc[q]= rl_vlc_table[q];\ \ init_vlc_rl(&rl);\ }\ }
Definition at line 59 of file rl.h.
Referenced by decode_init(), ff_msmpeg4_decode_init(), h261_decode_init_vlc(), and h263_decode_init_vlc().
#define MAX_LEVEL 64 |
Definition at line 35 of file rl.h.
Referenced by ff_msmpeg4_decode_block(), ff_msmpeg4_encode_block(), init_2d_vlc_rl(), init_rl(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), init_vlc_rl(), mpeg4_decode_block(), MPV_common_init(), and parse_mp4_descr().
#define MAX_RUN 64 |
Definition at line 34 of file rl.h.
Referenced by ff_msmpeg4_decode_block(), ff_msmpeg4_encode_block(), init_rl(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), mpeg4_decode_block(), and MPV_common_init().
static int get_rl_index | ( | const RLTable * | rl, | |
int | last, | |||
int | run, | |||
int | level | |||
) | [inline, static] |
Definition at line 75 of file rl.h.
Referenced by ff_msmpeg4_encode_block(), h261_encode_block(), h263_encode_block(), init_uni_h263_rl_tab(), and init_uni_mpeg4_rl_tab().
void init_rl | ( | RLTable * | rl, | |
uint8_t | static_store[2][2 *MAX_RUN+MAX_LEVEL+3] | |||
) |
static_store | static uint8_t array[2][2*MAX_RUN + MAX_LEVEL + 3] which will hold the level and run tables, if this is NULL av_malloc() will be used |
Definition at line 971 of file mpegvideo.c.
Referenced by decode_init(), encode_init(), ff_h261_encode_init(), ff_mpeg12_init_vlcs(), ff_mpeg1_encode_init(), ff_msmpeg4_decode_init(), h261_decode_init_vlc(), h263_decode_init_vlc(), and h263_encode_init().
void init_vlc_rl | ( | RLTable * | rl | ) |
Definition at line 1023 of file mpegvideo.c.