summaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdata.h
diff options
context:
space:
mode:
authorMaksym Veremeyenko <verem@m1stereo.tv>2009-09-24 19:37:41 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-09-24 19:37:41 +0000
commitfbec307f6ca4e3f74f530cb25ca783b9aed8b709 (patch)
treebb225a14eaa554b5d6bf537fdd165f689277020b /libavcodec/dvdata.h
parent486168877edf144652c1f01ad765836d7f0a3101 (diff)
downloadffmpeg-streaming-fbec307f6ca4e3f74f530cb25ca783b9aed8b709.zip
ffmpeg-streaming-fbec307f6ca4e3f74f530cb25ca783b9aed8b709.tar.gz
Allow decoding of 625/50 (PAL) with video_stype==1.
Patch by Maksym Veremeyenko, verem m1stereo tv Originally committed as revision 20018 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdata.h')
-rw-r--r--libavcodec/dvdata.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libavcodec/dvdata.h b/libavcodec/dvdata.h
index a32b863..9202ed2 100644
--- a/libavcodec/dvdata.h
+++ b/libavcodec/dvdata.h
@@ -654,6 +654,26 @@ static const DVprofile dv_profiles[] = {
.audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32kHz */
.audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 },
.audio_shuffle = dv_audio_shuffle625,
+ },
+ { .dsf = 1,
+ .video_stype = 0x1,
+ .frame_size = 144000, /* IEC 61883-5 - 625/50 (PAL) */
+ .difseg_size = 12,
+ .n_difchan = 1,
+ .time_base = { 1, 25 },
+ .ltc_divisor = 25,
+ .height = 576,
+ .width = 720,
+ .sar = {{59, 54}, {118, 81}},
+ .work_chunks = &work_chunks_dv25pal[0],
+ .idct_factor = &dv_idct_factor_sd[0],
+ .pix_fmt = PIX_FMT_YUV420P,
+ .bpm = 6,
+ .block_sizes = block_sizes_dv2550,
+ .audio_stride = 108,
+ .audio_min_samples = { 1896, 1742, 1264 }, /* for 48, 44.1 and 32kHz */
+ .audio_samples_dist = { 1920, 1920, 1920, 1920, 1920 },
+ .audio_shuffle = dv_audio_shuffle625,
}
};
OpenPOWER on IntegriCloud