31 #include "dv_profile.h" 37 uint16_t mb_coordinates[5];
47 uint8_t dv_zigzag[2][64];
49 void (*get_pixels)(int16_t *block,
const uint8_t *pixels, ptrdiff_t linesize);
50 void (*fdct[2])(int16_t *block);
51 void (*idct_put[2])(uint8_t *dest, ptrdiff_t stride, int16_t *block);
52 me_cmp_func ildct_cmp;
54 uint32_t idct_factor[2 * 4 * 16 * 64];
59 enum dv_section_type {
60 dv_sect_header = 0x1f,
61 dv_sect_subcode = 0x3f,
71 dv_audio_source = 0x50,
72 dv_audio_control = 0x51,
73 dv_audio_recdate = 0x52,
74 dv_audio_rectime = 0x53,
75 dv_video_source = 0x60,
76 dv_video_control = 0x61,
77 dv_video_recdate = 0x62,
78 dv_video_rectime = 0x63,
79 dv_unknown_pack = 0xff,
82 #define DV_PROFILE_IS_HD(p) ((p)->video_stype & 0x10) 83 #define DV_PROFILE_IS_1080i50(p) (((p)->video_stype == 0x14) && ((p)->dsf == 1)) 84 #define DV_PROFILE_IS_720p50(p) (((p)->video_stype == 0x18) && ((p)->dsf == 1)) 89 #define DV_MAX_FRAME_SIZE 576000 96 #define TEX_VLC_BITS 10 104 static inline int dv_work_pool_size(
const AVDVProfile *d)
106 int size = d->n_difchan * d->difseg_size * 27;
107 if (DV_PROFILE_IS_1080i50(d))
109 if (DV_PROFILE_IS_720p50(d))
116 int m,
int *mb_x,
int *mb_y)
118 *mb_x = work_chunk->mb_coordinates[m] & 0xff;
119 *mb_y = work_chunk->mb_coordinates[m] >> 8;
123 if (s->sys->height == 720 && !(s->buf[1] & 0x0C))
125 *mb_y -= (*mb_y > 17) ? 18 : -72;
This structure describes decoded (raw) audio or video data.
Definition: frame.h:218
Definition: dv_profile.h:39
Libavcodec external API header.
main external API structure.
Definition: avcodec.h:1518
Describe the class of an AVClass context structure.
Definition: log.h:67