#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "dv_profile.h"
Go to the source code of this file.
Data Structures | |
struct | DVVideoContext |
Defines | |
#define | DV_PROFILE_IS_HD(p) ((p)->video_stype & 0x10) |
#define | DV_PROFILE_IS_1080i50(p) (((p)->video_stype == 0x14) && ((p)->dsf == 1)) |
#define | DV_PROFILE_IS_720p50(p) (((p)->video_stype == 0x18) && ((p)->dsf == 1)) |
#define | DV_MAX_FRAME_SIZE 576000 |
largest possible DV frame, in bytes (1080i50) | |
#define | DV_MAX_BPM 8 |
maximum number of blocks per macroblock in any DV format | |
#define | TEX_VLC_BITS 9 |
Enumerations | |
enum | dv_section_type { dv_sect_header = 0x1f, dv_sect_subcode = 0x3f, dv_sect_vaux = 0x56, dv_sect_audio = 0x76, dv_sect_video = 0x96 } |
enum | dv_pack_type { dv_header525 = 0x3f, dv_header625 = 0xbf, dv_timecode = 0x13, dv_audio_source = 0x50, dv_audio_control = 0x51, dv_audio_recdate = 0x52, dv_audio_rectime = 0x53, dv_video_source = 0x60, dv_video_control = 0x61, dv_video_recdate = 0x62, dv_video_rectime = 0x63, dv_unknown_pack = 0xff } |
Functions | |
int | ff_dv_init_dynamic_tables (const DVprofile *d) |
int | ff_dvvideo_init (AVCodecContext *avctx) |
static int | dv_work_pool_size (const DVprofile *d) |
static void | dv_calculate_mb_xy (DVVideoContext *s, DVwork_chunk *work_chunk, int m, int *mb_x, int *mb_y) |
Variables | |
const uint8_t | ff_dv_quant_shifts [22][4] |
const uint8_t | ff_dv_quant_offset [4] |
const int | ff_dv_iweight_88 [64] |
const int | ff_dv_iweight_248 [64] |
const int | ff_dv_iweight_1080_y [64] |
The "inverse" DV100 weights are actually just the spec weights (zig-zagged). | |
const int | ff_dv_iweight_1080_c [64] |
const int | ff_dv_iweight_720_y [64] |
const int | ff_dv_iweight_720_c [64] |
RL_VLC_ELEM | ff_dv_rl_vlc [1184] |
Definition in file dvdata.h.
#define DV_MAX_BPM 8 |
maximum number of blocks per macroblock in any DV format
Definition at line 94 of file dvdata.h.
Referenced by dv_decode_video_segment(), and dv_encode_video_segment().
#define DV_MAX_FRAME_SIZE 576000 |
#define DV_PROFILE_IS_1080i50 | ( | p | ) | (((p)->video_stype == 0x14) && ((p)->dsf == 1)) |
Definition at line 83 of file dvdata.h.
Referenced by dv_work_pool_size(), and ff_dv_init_dynamic_tables().
#define DV_PROFILE_IS_720p50 | ( | p | ) | (((p)->video_stype == 0x18) && ((p)->dsf == 1)) |
Definition at line 84 of file dvdata.h.
Referenced by dv_work_pool_size(), and ff_dv_init_dynamic_tables().
#define DV_PROFILE_IS_HD | ( | p | ) | ((p)->video_stype & 0x10) |
Definition at line 82 of file dvdata.h.
Referenced by dv_decode_video_segment(), and ff_dv_init_dynamic_tables().
#define TEX_VLC_BITS 9 |
Definition at line 96 of file dvdata.h.
Referenced by decode_block_intra(), dv_decode_ac(), ff_dvvideo_init(), ff_msmpeg4_decode_block(), h263_decode_block(), mdec_decode_block_intra(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_intra(), mpeg2_fast_decode_block_non_intra(), and mpeg4_decode_block().
enum dv_pack_type |
enum dv_section_type |
static void dv_calculate_mb_xy | ( | DVVideoContext * | s, | |
DVwork_chunk * | work_chunk, | |||
int | m, | |||
int * | mb_x, | |||
int * | mb_y | |||
) | [inline, static] |
Definition at line 113 of file dvdata.h.
Referenced by dv_decode_video_segment(), and dv_encode_video_segment().
Definition at line 103 of file dvdata.h.
Referenced by dvvideo_decode_frame(), and ff_dv_init_dynamic_tables().
int ff_dvvideo_init | ( | AVCodecContext * | avctx | ) |
const int ff_dv_iweight_1080_c[64] |
const int ff_dv_iweight_1080_y[64] |
The "inverse" DV100 weights are actually just the spec weights (zig-zagged).
Definition at line 82 of file dvdata.c.
Referenced by ff_dv_init_dynamic_tables().
const int ff_dv_iweight_248[64] |
const int ff_dv_iweight_720_c[64] |
const int ff_dv_iweight_720_y[64] |
const int ff_dv_iweight_88[64] |
const uint8_t ff_dv_quant_offset[4] |
Definition at line 56 of file dvdata.c.
Referenced by dv_decode_video_segment(), and dv_guess_qnos().
const uint8_t ff_dv_quant_shifts[22][4] |
Definition at line 31 of file dvdata.c.
Referenced by dv_guess_qnos(), and ff_dv_init_dynamic_tables().
RL_VLC_ELEM ff_dv_rl_vlc[1184] |