FFmpeg
Variables
mpeg12data.c File Reference

MPEG-1/2 tables. More...

#include "mpeg12data.h"

Variables

const uint16_t ff_mpeg1_default_intra_matrix [256]
 
const uint16_t ff_mpeg1_default_non_intra_matrix [64]
 
const uint16_t ff_mpeg12_vlc_dc_lum_code [12]
 
const unsigned char ff_mpeg12_vlc_dc_lum_bits [12]
 
const uint16_t ff_mpeg12_vlc_dc_chroma_code [12]
 
const unsigned char ff_mpeg12_vlc_dc_chroma_bits [12]
 
RLTable ff_rl_mpeg1
 
RLTable ff_rl_mpeg2
 
const uint8_t ff_mpeg12_mbAddrIncrTable [36][2]
 
const uint8_t ff_mpeg12_mbPatTable [64][2]
 
const uint8_t ff_mpeg12_mbMotionVectorTable [17][2]
 
const AVRational ff_mpeg2_frame_rate_tab []
 
const float ff_mpeg1_aspect [16]
 
const AVRational ff_mpeg2_aspect [16]
 

Detailed Description

MPEG-1/2 tables.

Variable Documentation

§ ff_mpeg12_mbMotionVectorTable

const uint8_t ff_mpeg12_mbMotionVectorTable[17][2]
Initial value:
= {
{ 0x1, 1 },
{ 0x1, 2 },
{ 0x1, 3 },
{ 0x1, 4 },
{ 0x3, 6 },
{ 0x5, 7 },
{ 0x4, 7 },
{ 0x3, 7 },
{ 0xb, 9 },
{ 0xa, 9 },
{ 0x9, 9 },
{ 0x11, 10 },
{ 0x10, 10 },
{ 0xf, 10 },
{ 0xe, 10 },
{ 0xd, 10 },
{ 0xc, 10 },
}

§ ff_mpeg12_vlc_dc_chroma_bits

const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12]
Initial value:
= {
2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10,
}

§ ff_mpeg12_vlc_dc_chroma_code

const uint16_t ff_mpeg12_vlc_dc_chroma_code[12]
Initial value:
= {
0x0, 0x1, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x3fe, 0x3ff,
}

§ ff_mpeg12_vlc_dc_lum_bits

const unsigned char ff_mpeg12_vlc_dc_lum_bits[12]
Initial value:
= {
3, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9,
}

§ ff_mpeg12_vlc_dc_lum_code

const uint16_t ff_mpeg12_vlc_dc_lum_code[12]
Initial value:
= {
0x4, 0x0, 0x1, 0x5, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x1ff,
}

§ ff_mpeg1_aspect

const float ff_mpeg1_aspect[16]
Initial value:
={
0.0000,
1.0000,
0.6735,
0.7031,
0.7615,
0.8055,
0.8437,
0.8935,
0.9157,
0.9815,
1.0255,
1.0695,
1.0950,
1.1575,
1.2015,
}

§ ff_mpeg1_default_intra_matrix

const uint16_t ff_mpeg1_default_intra_matrix[256]
Initial value:
= {
8, 16, 19, 22, 26, 27, 29, 34,
16, 16, 22, 24, 27, 29, 34, 37,
19, 22, 26, 27, 29, 34, 34, 38,
22, 22, 26, 27, 29, 34, 37, 40,
22, 26, 27, 29, 32, 35, 40, 48,
26, 27, 29, 32, 35, 40, 48, 58,
26, 27, 29, 34, 38, 46, 56, 69,
27, 29, 35, 38, 46, 56, 69, 83
}

§ ff_mpeg1_default_non_intra_matrix

const uint16_t ff_mpeg1_default_non_intra_matrix[64]
Initial value:
= {
16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16,
}

§ ff_mpeg2_aspect

const AVRational ff_mpeg2_aspect[16]
Initial value:
={
{0,1},
{1,1},
{4,3},
{16,9},
{221,100},
{0,1},
{0,1},
{0,1},
{0,1},
{0,1},
{0,1},
{0,1},
{0,1},
{0,1},
{0,1},
{0,1},
}

§ ff_rl_mpeg1

RLTable ff_rl_mpeg1
Initial value:
= {
111,
111,
mpeg1_vlc,
mpeg1_run,
mpeg1_level,
}

§ ff_rl_mpeg2

RLTable ff_rl_mpeg2
Initial value:
= {
111,
111,
mpeg2_vlc,
mpeg1_run,
mpeg1_level,
}