FFmpeg  4.0
Data Structures | Macros | Variables
msmpeg4data.h File Reference

MSMPEG4 data tables. More...

#include "libavutil/common.h"
#include "rl.h"
#include "vlc.h"

Go to the source code of this file.

Data Structures

struct  MVTable
 

Macros

#define WMV1_SCANTABLE_COUNT   4
 
#define NB_RL_TABLES   6
 
#define WMV2_INTER_CBP_TABLE_COUNT   4
 

Variables

VLC ff_msmp4_mb_i_vlc
 
VLC ff_msmp4_dc_luma_vlc [2]
 
VLC ff_msmp4_dc_chroma_vlc [2]
 
const uint16_t ff_msmp4_mb_i_table [64][2]
 
const uint8_t ff_wmv1_scantable [WMV1_SCANTABLE_COUNT][64]
 
RLTable ff_rl_table [NB_RL_TABLES]
 
uint8_t ff_static_rl_table_store [NB_RL_TABLES][2][2 *MAX_RUN+MAX_LEVEL+3]
 
uint32_t ff_v2_dc_lum_table [512][2]
 
uint32_t ff_v2_dc_chroma_table [512][2]
 
const uint8_t ff_wmv1_y_dc_scale_table [32]
 
const uint8_t ff_wmv1_c_dc_scale_table [32]
 
const uint8_t ff_old_ff_y_dc_scale_table [32]
 
MVTable ff_mv_tables [2]
 
const uint8_t ff_v2_mb_type [8][2]
 
const uint8_t ff_v2_intra_cbpc [4][2]
 
const uint32_t ff_table_mb_non_intra [128][2]
 
const uint8_t ff_table_inter_intra [4][2]
 
const uint32_t ff_table0_dc_lum [120][2]
 
const uint32_t ff_table1_dc_lum [120][2]
 
const uint32_t ff_table0_dc_chroma [120][2]
 
const uint32_t ff_table1_dc_chroma [120][2]
 
const uint32_t(*const [WMV2_INTER_CBP_TABLE_COUNTff_wmv2_inter_table )[2]
 

Detailed Description

MSMPEG4 data tables.

Definition in file msmpeg4data.h.

Macro Definition Documentation

◆ WMV1_SCANTABLE_COUNT

#define WMV1_SCANTABLE_COUNT   4

Definition at line 56 of file msmpeg4data.h.

◆ NB_RL_TABLES

#define NB_RL_TABLES   6

Definition at line 60 of file msmpeg4data.h.

Referenced by ff_msmpeg4_decode_init(), and ff_msmpeg4_encode_init().

◆ WMV2_INTER_CBP_TABLE_COUNT

#define WMV2_INTER_CBP_TABLE_COUNT   4

Definition at line 85 of file msmpeg4data.h.

Variable Documentation

◆ ff_msmp4_mb_i_vlc

VLC ff_msmp4_mb_i_vlc

◆ ff_msmp4_dc_luma_vlc

VLC ff_msmp4_dc_luma_vlc[2]

◆ ff_msmp4_dc_chroma_vlc

VLC ff_msmp4_dc_chroma_vlc[2]

◆ ff_msmp4_mb_i_table

const uint16_t ff_msmp4_mb_i_table[64][2]

Definition at line 43 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), ff_msmpeg4_encode_mb(), and ff_wmv2_encode_mb().

◆ ff_wmv1_scantable

const uint8_t ff_wmv1_scantable[WMV1_SCANTABLE_COUNT][64]

◆ ff_rl_table

RLTable ff_rl_table[NB_RL_TABLES]

◆ ff_static_rl_table_store

uint8_t ff_static_rl_table_store[NB_RL_TABLES][2][2 *MAX_RUN+MAX_LEVEL+3]

Definition at line 36 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and ff_msmpeg4_encode_init().

◆ ff_v2_dc_lum_table

uint32_t ff_v2_dc_lum_table[512][2]

◆ ff_v2_dc_chroma_table

uint32_t ff_v2_dc_chroma_table[512][2]

◆ ff_wmv1_y_dc_scale_table

const uint8_t ff_wmv1_y_dc_scale_table[32]

Definition at line 1795 of file msmpeg4data.c.

Referenced by ff_msmpeg4_common_init().

◆ ff_wmv1_c_dc_scale_table

const uint8_t ff_wmv1_c_dc_scale_table[32]

Definition at line 1799 of file msmpeg4data.c.

Referenced by ff_msmpeg4_common_init().

◆ ff_old_ff_y_dc_scale_table

const uint8_t ff_old_ff_y_dc_scale_table[32]

Definition at line 1804 of file msmpeg4data.c.

Referenced by ff_msmpeg4_common_init().

◆ ff_mv_tables

MVTable ff_mv_tables[2]

◆ ff_v2_mb_type

const uint8_t ff_v2_mb_type[8][2]

Definition at line 1786 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and ff_msmpeg4_encode_mb().

◆ ff_v2_intra_cbpc

const uint8_t ff_v2_intra_cbpc[4][2]

Definition at line 1791 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and ff_msmpeg4_encode_mb().

◆ ff_table_mb_non_intra

const uint32_t ff_table_mb_non_intra[128][2]

Definition at line 63 of file msmpeg4data.c.

Referenced by ff_msmpeg4_encode_mb().

◆ ff_table_inter_intra

const uint8_t ff_table_inter_intra[4][2]

Definition at line 1844 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), ff_msmpeg4_encode_mb(), and ff_wmv2_encode_mb().

◆ ff_table0_dc_lum

const uint32_t ff_table0_dc_lum[120][2]

Definition at line 100 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and msmpeg4_encode_dc().

◆ ff_table1_dc_lum

const uint32_t ff_table1_dc_lum[120][2]

Definition at line 168 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and msmpeg4_encode_dc().

◆ ff_table0_dc_chroma

const uint32_t ff_table0_dc_chroma[120][2]

Definition at line 133 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and msmpeg4_encode_dc().

◆ ff_table1_dc_chroma

const uint32_t ff_table1_dc_chroma[120][2]

Definition at line 201 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and msmpeg4_encode_dc().

◆ ff_wmv2_inter_table

const uint32_t(* const[WMV2_INTER_CBP_TABLE_COUNT] ff_wmv2_inter_table)[2]

Definition at line 1956 of file msmpeg4data.c.

Referenced by ff_msmpeg4_decode_init(), and ff_wmv2_encode_mb().