#include "mpeg12data.h"
Go to the source code of this file.
Variables | |
const uint16_t | ff_mpeg1_default_intra_matrix [64] |
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] |
static const uint16_t | mpeg1_vlc [113][2] |
static const uint16_t | mpeg2_vlc [113][2] |
static const int8_t | mpeg1_level [111] |
static const int8_t | mpeg1_run [111] |
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 | avpriv_frame_rate_tab [16] |
const float | ff_mpeg1_aspect [16] |
const AVRational | ff_mpeg2_aspect [16] |
Definition in file mpeg12data.c.
const AVRational avpriv_frame_rate_tab[16] |
Initial value:
{ { 0, 0}, {24000, 1001}, { 24, 1}, { 25, 1}, {30000, 1001}, { 30, 1}, { 50, 1}, {60000, 1001}, { 60, 1}, { 15, 1}, { 5, 1}, { 10, 1}, { 12, 1}, { 15, 1}, { 0, 0}, }
Definition at line 308 of file mpeg12data.c.
Referenced by decode_seq_header(), encode_init(), find_frame_rate_index(), fps_tag2avr(), mpeg12_class(), mpeg1_encode_sequence_header(), mpeg_decode_postinit(), mpegvideo_extract_headers(), and parse_source_parameters().
const uint8_t ff_mpeg12_mbAddrIncrTable[36][2] |
Definition at line 182 of file mpeg12data.c.
Referenced by encode_mb_skip_run(), and ff_mpeg12_init_vlcs().
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 }, }
Definition at line 288 of file mpeg12data.c.
Referenced by ff_mpeg12_init_vlcs(), ff_mpeg1_encode_init(), and mpeg1_encode_motion().
const uint8_t ff_mpeg12_mbPatTable[64][2] |
Definition at line 221 of file mpeg12data.c.
Referenced by ff_mpeg12_init_vlcs(), and mpeg1_encode_mb_internal().
const unsigned char ff_mpeg12_vlc_dc_chroma_bits[12] |
Initial value:
{ 2, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, }
Definition at line 62 of file mpeg12data.c.
Referenced by encode_dc(), ff_mpeg12_init_vlcs(), and ff_mpeg1_encode_init().
const uint16_t ff_mpeg12_vlc_dc_chroma_code[12] |
Initial value:
{ 0x0, 0x1, 0x2, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x3fe, 0x3ff, }
Definition at line 59 of file mpeg12data.c.
Referenced by encode_dc(), ff_mpeg12_init_vlcs(), and ff_mpeg1_encode_init().
const unsigned char ff_mpeg12_vlc_dc_lum_bits[12] |
Initial value:
{ 3, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 9, }
Definition at line 55 of file mpeg12data.c.
Referenced by encode_dc(), ff_mpeg12_init_vlcs(), and ff_mpeg1_encode_init().
const uint16_t ff_mpeg12_vlc_dc_lum_code[12] |
Initial value:
{ 0x4, 0x0, 0x1, 0x5, 0x6, 0xe, 0x1e, 0x3e, 0x7e, 0xfe, 0x1fe, 0x1ff, }
Definition at line 52 of file mpeg12data.c.
Referenced by encode_dc(), ff_mpeg12_init_vlcs(), and ff_mpeg1_encode_init().
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, }
Definition at line 328 of file mpeg12data.c.
Referenced by mpeg1_encode_sequence_header(), and mpeg_decode_postinit().
const uint16_t ff_mpeg1_default_intra_matrix[64] |
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 }
Definition at line 30 of file mpeg12data.c.
Referenced by calc_quant_matrix(), decode_init(), encode_picture(), ff_MPV_encode_init(), mdec_decode_block_intra(), mpeg1_decode_sequence(), tqi_calculate_qtable(), and vcr2_init_sequence().
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, }
Definition at line 41 of file mpeg12data.c.
Referenced by ff_MPV_encode_init(), mpeg1_decode_sequence(), and vcr2_init_sequence().
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}, }
Definition at line 349 of file mpeg12data.c.
Referenced by mpeg1_encode_sequence_header(), and mpeg_decode_postinit().
Initial value:
{ 111, 111, mpeg1_vlc, mpeg1_run, mpeg1_level, }
Definition at line 166 of file mpeg12data.c.
Referenced by decode_block_intra(), ff_mpeg12_init_vlcs(), ff_mpeg1_encode_init(), mdec_decode_block_intra(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_encode_block(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_intra(), and mpeg2_fast_decode_block_non_intra().
Initial value:
{ 111, 111, mpeg2_vlc, mpeg1_run, mpeg1_level, }
Definition at line 174 of file mpeg12data.c.
Referenced by ff_mpeg12_init_vlcs(), ff_mpeg1_encode_init(), mpeg1_encode_block(), mpeg2_decode_block_intra(), and mpeg2_fast_decode_block_intra().
const int8_t mpeg1_level[111] [static] |
Initial value:
{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 1, 2, 3, 4, 5, 1, 2, 3, 4, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, }
Definition at line 132 of file mpeg12data.c.
const int8_t mpeg1_run[111] [static] |
Initial value:
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, }
Definition at line 149 of file mpeg12data.c.
const uint16_t mpeg1_vlc[113][2] [static] |
Definition at line 66 of file mpeg12data.c.
const uint16_t mpeg2_vlc[113][2] [static] |
Definition at line 99 of file mpeg12data.c.