FFmpeg
|
#include "vlc.h"
Go to the source code of this file.
Macros | |
#define | DC_VLC_BITS 9 |
#define | MV_VLC_BITS 8 |
#define | TEX_VLC_BITS 9 |
#define | MBINCR_VLC_BITS 9 |
#define | MB_PAT_VLC_BITS 9 |
#define | MB_PTYPE_VLC_BITS 6 |
#define | MB_BTYPE_VLC_BITS 6 |
#define | MPEG12_RL_NB_ELEMS 111 |
Functions | |
void | ff_mpeg12_init_vlcs (void) |
void | ff_init_2d_vlc_rl (const uint16_t table_vlc[][2], RL_VLC_ELEM rl_vlc[], const int8_t table_run[], const uint8_t table_level[], int n, unsigned static_size, int flags) |
void | ff_mpeg1_init_uni_ac_vlc (const int8_t max_level[], const uint8_t index_run[], const uint16_t table_vlc[][2], uint8_t uni_ac_vlc_len[]) |
Variables | |
VLCElem | ff_dc_lum_vlc [] |
VLCElem | ff_dc_chroma_vlc [] |
VLCElem | ff_mbincr_vlc [] |
VLCElem | ff_mb_ptype_vlc [] |
VLCElem | ff_mb_btype_vlc [] |
VLCElem | ff_mb_pat_vlc [] |
VLCElem | ff_mv_vlc [] |
const int8_t | ff_mpeg12_level [MPEG12_RL_NB_ELEMS] |
const int8_t | ff_mpeg12_run [MPEG12_RL_NB_ELEMS] |
const uint16_t | ff_mpeg1_vlc_table [MPEG12_RL_NB_ELEMS+2][2] |
const uint16_t | ff_mpeg2_vlc_table [MPEG12_RL_NB_ELEMS+2][2] |
RL_VLC_ELEM | ff_mpeg1_rl_vlc [] |
RL_VLC_ELEM | ff_mpeg2_rl_vlc [] |
MPEG-1/2 VLC.
Definition in file mpeg12vlc.h.
#define DC_VLC_BITS 9 |
Definition at line 33 of file mpeg12vlc.h.
#define MV_VLC_BITS 8 |
Definition at line 34 of file mpeg12vlc.h.
#define TEX_VLC_BITS 9 |
Definition at line 35 of file mpeg12vlc.h.
#define MBINCR_VLC_BITS 9 |
Definition at line 37 of file mpeg12vlc.h.
#define MB_PAT_VLC_BITS 9 |
Definition at line 38 of file mpeg12vlc.h.
#define MB_PTYPE_VLC_BITS 6 |
Definition at line 39 of file mpeg12vlc.h.
#define MB_BTYPE_VLC_BITS 6 |
Definition at line 40 of file mpeg12vlc.h.
#define MPEG12_RL_NB_ELEMS 111 |
Definition at line 52 of file mpeg12vlc.h.
void ff_mpeg12_init_vlcs | ( | void | ) |
Definition at line 164 of file mpeg12.c.
Referenced by decode_init(), ipu_decode_init(), mpeg_decode_init(), and tqi_decode_init().
void ff_init_2d_vlc_rl | ( | const uint16_t | table_vlc[][2], |
RL_VLC_ELEM | rl_vlc[], | ||
const int8_t | table_run[], | ||
const uint8_t | table_level[], | ||
int | n, | ||
unsigned | static_size, | ||
int | flags | ||
) |
Definition at line 67 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and speedhq_static_init().
void ff_mpeg1_init_uni_ac_vlc | ( | const int8_t | max_level[], |
const uint8_t | index_run[], | ||
const uint16_t | table_vlc[][2], | ||
uint8_t | uni_ac_vlc_len[] | ||
) |
Definition at line 101 of file mpeg12enc.c.
Referenced by speedhq_init_static_data().
VLCElem ff_dc_lum_vlc[] |
Definition at line 120 of file mpeg12.c.
Referenced by decode_dc(), and mpeg12_init_vlcs().
VLCElem ff_dc_chroma_vlc[] |
Definition at line 121 of file mpeg12.c.
Referenced by decode_dc(), and mpeg12_init_vlcs().
VLCElem ff_mbincr_vlc[] |
Definition at line 123 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_slice().
VLCElem ff_mb_ptype_vlc[] |
Definition at line 124 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().
VLCElem ff_mb_btype_vlc[] |
Definition at line 125 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().
VLCElem ff_mb_pat_vlc[] |
Definition at line 126 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().
VLCElem ff_mv_vlc[] |
Definition at line 118 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_motion().
const int8_t ff_mpeg12_level[MPEG12_RL_NB_ELEMS] |
Definition at line 133 of file mpeg12data.c.
Referenced by mpeg12_init_vlcs().
const int8_t ff_mpeg12_run[MPEG12_RL_NB_ELEMS] |
Definition at line 150 of file mpeg12data.c.
Referenced by mpeg12_init_vlcs().
const uint16_t ff_mpeg1_vlc_table[MPEG12_RL_NB_ELEMS+2][2] |
Definition at line 67 of file mpeg12data.c.
Referenced by mpeg12_init_vlcs().
const uint16_t ff_mpeg2_vlc_table[MPEG12_RL_NB_ELEMS+2][2] |
Definition at line 100 of file mpeg12data.c.
Referenced by mpeg12_init_vlcs().
RL_VLC_ELEM ff_mpeg1_rl_vlc[] |
Definition at line 128 of file mpeg12.c.
Referenced by decode_block_intra(), ff_mpeg1_decode_block_intra(), mdec_decode_block_intra(), mpeg12_init_vlcs(), mpeg1_decode_block_inter(), mpeg2_decode_block_intra(), and mpeg2_decode_block_non_intra().
RL_VLC_ELEM ff_mpeg2_rl_vlc[] |
Definition at line 129 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg2_decode_block_intra().