Constants for DV codec. More...
Go to the source code of this file.
Data Structures | |
struct | DVwork_chunk |
struct | DVprofile |
Macros | |
#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_PROFILE_BYTES (6*80) /* 6 DIF blocks */ |
#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 |
Typedefs | |
typedef struct DVwork_chunk | DVwork_chunk |
typedef struct DVprofile | DVprofile |
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 | |
const DVprofile * | avpriv_dv_frame_profile (const DVprofile *sys, const uint8_t *frame, unsigned buf_size) |
const DVprofile * | avpriv_dv_codec_profile (AVCodecContext *codec) |
static int | dv_write_dif_id (enum dv_section_type t, uint8_t chan_num, uint8_t seq_num, uint8_t dif_num, uint8_t *buf) |
static int | dv_write_ssyb_id (uint8_t syb_num, uint8_t fr, uint8_t *buf) |
Variables | |
static const uint8_t | dv_quant_shifts [22][4] |
static const uint8_t | dv_quant_offset [4] = { 6, 3, 0, 1 } |
static const uint8_t | dv_quant_areas [4] = { 6, 21, 43, 64 } |
static const uint8_t | dv100_qstep [16] |
static const int | dv_weight_bits = 18 |
static const int | dv_weight_88 [64] |
static const int | dv_weight_248 [64] |
static const int | dv_iweight_bits = 14 |
static const int | dv_iweight_88 [64] |
static const int | dv_iweight_248 [64] |
static const int | dv_iweight_1080_y [64] |
The "inverse" DV100 weights are actually just the spec weights (zig-zagged). | |
static const int | dv_iweight_1080_c [64] |
static const int | dv_iweight_720_y [64] |
static const int | dv_iweight_720_c [64] |
static const uint8_t | dv_audio_shuffle525 [10][9] |
static const uint8_t | dv_audio_shuffle625 [12][9] |
static const av_unused int | dv_audio_frequency [3] |
static const uint8_t | block_sizes_dv2550 [8] |
static const uint8_t | block_sizes_dv100 [8] |
Constants for DV codec.
Definition in file dvdata.h.
#define DV_MAX_BPM 8 |
maximum number of blocks per macroblock in any DV format
Definition at line 275 of file dvdata.h.
Referenced by dv_decode_video_segment(), and dv_encode_video_segment().
#define DV_MAX_FRAME_SIZE 576000 |
#define DV_PROFILE_BYTES (6*80) /* 6 DIF blocks */ |
Definition at line 265 of file dvdata.h.
Referenced by avpriv_dv_produce_packet(), and dv_read_header().
#define DV_PROFILE_IS_1080i50 | ( | p | ) | (((p)->video_stype == 0x14) && ((p)->dsf == 1)) |
Definition at line 260 of file dvdata.h.
Referenced by dv_init_dynamic_tables(), and dv_work_pool_size().
#define DV_PROFILE_IS_720p50 | ( | p | ) | (((p)->video_stype == 0x18) && ((p)->dsf == 1)) |
Definition at line 261 of file dvdata.h.
Referenced by dv_init_dynamic_tables(), and dv_work_pool_size().
#define DV_PROFILE_IS_HD | ( | p | ) | ((p)->video_stype & 0x10) |
Definition at line 259 of file dvdata.h.
Referenced by dv_decode_video_segment(), and dv_init_dynamic_tables().
typedef struct DVwork_chunk DVwork_chunk |
enum dv_pack_type |
enum dv_section_type |
const DVprofile* avpriv_dv_codec_profile | ( | AVCodecContext * | codec | ) |
Definition at line 275 of file dvdata.c.
Referenced by dv_frame_offset(), dv_init_mux(), and dvvideo_init_encoder().
const DVprofile* avpriv_dv_frame_profile | ( | const DVprofile * | sys, |
const uint8_t * | frame, | ||
unsigned | buf_size | ||
) |
Definition at line 248 of file dvdata.c.
Referenced by avpriv_dv_produce_packet(), and dv_read_header().
|
inlinestatic |
|
inlinestatic |
|
static |
|
static |
|
static |
Definition at line 98 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
Definition at line 223 of file dvdata.h.
Referenced by dv_extract_audio(), and dv_extract_audio_info().
|
static |
|
static |
|
static |
Definition at line 162 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
The "inverse" DV100 weights are actually just the spec weights (zig-zagged).
Definition at line 152 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
Definition at line 138 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
Definition at line 182 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
Definition at line 172 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
Definition at line 128 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
Definition at line 127 of file dvdata.h.
Referenced by dv_decode_ac().
|
static |
Definition at line 95 of file dvdata.h.
Referenced by dv_init_dynamic_tables().
|
static |
Definition at line 94 of file dvdata.h.
Referenced by dv_decode_video_segment(), and dv_guess_qnos().
|
static |
Definition at line 69 of file dvdata.h.
Referenced by dv_guess_qnos(), and dv_init_dynamic_tables().
|
static |
Definition at line 117 of file dvdata.h.
Referenced by dv_init_enc_block().
|
static |
Definition at line 107 of file dvdata.h.
Referenced by dv_init_enc_block().
|
static |
Definition at line 106 of file dvdata.h.
Referenced by dv_init_enc_block().