FFmpeg
Macros | Functions | Variables
mpeg12vlc.h File Reference
#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

VLC ff_dc_lum_vlc
 
VLC ff_dc_chroma_vlc
 
VLC ff_mbincr_vlc
 
VLC ff_mb_ptype_vlc
 
VLC ff_mb_btype_vlc
 
VLC ff_mb_pat_vlc
 
VLC 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 []
 

Detailed Description

MPEG-1/2 VLC.

Definition in file mpeg12vlc.h.

Macro Definition Documentation

◆ DC_VLC_BITS

#define DC_VLC_BITS   9

Definition at line 33 of file mpeg12vlc.h.

◆ MV_VLC_BITS

#define MV_VLC_BITS   8

Definition at line 34 of file mpeg12vlc.h.

◆ TEX_VLC_BITS

#define TEX_VLC_BITS   9

Definition at line 35 of file mpeg12vlc.h.

◆ MBINCR_VLC_BITS

#define MBINCR_VLC_BITS   9

Definition at line 37 of file mpeg12vlc.h.

◆ MB_PAT_VLC_BITS

#define MB_PAT_VLC_BITS   9

Definition at line 38 of file mpeg12vlc.h.

◆ MB_PTYPE_VLC_BITS

#define MB_PTYPE_VLC_BITS   6

Definition at line 39 of file mpeg12vlc.h.

◆ MB_BTYPE_VLC_BITS

#define MB_BTYPE_VLC_BITS   6

Definition at line 40 of file mpeg12vlc.h.

◆ MPEG12_RL_NB_ELEMS

#define MPEG12_RL_NB_ELEMS   111

Definition at line 52 of file mpeg12vlc.h.

Function Documentation

◆ ff_mpeg12_init_vlcs()

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().

◆ ff_init_2d_vlc_rl()

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().

◆ ff_mpeg1_init_uni_ac_vlc()

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().

Variable Documentation

◆ ff_dc_lum_vlc

VLC ff_dc_lum_vlc

Definition at line 120 of file mpeg12.c.

Referenced by decode_dc(), and mpeg12_init_vlcs().

◆ ff_dc_chroma_vlc

VLC ff_dc_chroma_vlc

Definition at line 121 of file mpeg12.c.

Referenced by decode_dc(), and mpeg12_init_vlcs().

◆ ff_mbincr_vlc

VLC ff_mbincr_vlc

Definition at line 123 of file mpeg12.c.

Referenced by mpeg12_init_vlcs(), and mpeg_decode_slice().

◆ ff_mb_ptype_vlc

VLC ff_mb_ptype_vlc

Definition at line 124 of file mpeg12.c.

Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().

◆ ff_mb_btype_vlc

VLC ff_mb_btype_vlc

Definition at line 125 of file mpeg12.c.

Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().

◆ ff_mb_pat_vlc

VLC ff_mb_pat_vlc

Definition at line 126 of file mpeg12.c.

Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().

◆ ff_mv_vlc

VLC ff_mv_vlc

Definition at line 118 of file mpeg12.c.

Referenced by mpeg12_init_vlcs(), and mpeg_decode_motion().

◆ ff_mpeg12_level

const int8_t ff_mpeg12_level[MPEG12_RL_NB_ELEMS]

Definition at line 133 of file mpeg12data.c.

Referenced by mpeg12_init_vlcs().

◆ ff_mpeg12_run

const int8_t ff_mpeg12_run[MPEG12_RL_NB_ELEMS]

Definition at line 150 of file mpeg12data.c.

Referenced by mpeg12_init_vlcs().

◆ ff_mpeg1_vlc_table

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().

◆ ff_mpeg2_vlc_table

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().

◆ ff_mpeg1_rl_vlc

RL_VLC_ELEM ff_mpeg1_rl_vlc[]

◆ ff_mpeg2_rl_vlc

RL_VLC_ELEM ff_mpeg2_rl_vlc[]