summaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdata.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-09-27 21:30:41 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-09-27 21:30:41 +0000
commit348a3237cc1349b5dfdaa8fd89e52cfe88049b04 (patch)
treeb94962fa172b7ed8fdad440785892df8fd7e6f9e /libavcodec/dvdata.c
parent9f694f0b3de31eac15a1ca82f4c55e08e2b89b5a (diff)
downloadffmpeg-streaming-348a3237cc1349b5dfdaa8fd89e52cfe88049b04.zip
ffmpeg-streaming-348a3237cc1349b5dfdaa8fd89e52cfe88049b04.tar.gz
In dv decoder, use the expected aspect ratio logic, like other decoders do,
following width/height = par/dar. Originally committed as revision 25231 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdata.c')
-rw-r--r--libavcodec/dvdata.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/dvdata.c b/libavcodec/dvdata.c
index 7232baf..e7c377a 100644
--- a/libavcodec/dvdata.c
+++ b/libavcodec/dvdata.c
@@ -52,7 +52,7 @@ static const DVprofile dv_profiles[] = {
.ltc_divisor = 30,
.height = 480,
.width = 720,
- .sar = {{10, 11}, {40, 33}},
+ .sar = {{8, 9}, {32, 27}},
.work_chunks = &work_chunks_dv25ntsc[0],
.idct_factor = &dv_idct_factor_sd[0],
.pix_fmt = PIX_FMT_YUV411P,
@@ -72,7 +72,7 @@ static const DVprofile dv_profiles[] = {
.ltc_divisor = 25,
.height = 576,
.width = 720,
- .sar = {{59, 54}, {118, 81}},
+ .sar = {{16, 15}, {64, 45}},
.work_chunks = &work_chunks_dv25pal[0],
.idct_factor = &dv_idct_factor_sd[0],
.pix_fmt = PIX_FMT_YUV420P,
@@ -92,7 +92,7 @@ static const DVprofile dv_profiles[] = {
.ltc_divisor = 25,
.height = 576,
.width = 720,
- .sar = {{59, 54}, {118, 81}},
+ .sar = {{16, 15}, {64, 45}},
.work_chunks = &work_chunks_dv25pal411[0],
.idct_factor = &dv_idct_factor_sd[0],
.pix_fmt = PIX_FMT_YUV411P,
@@ -112,7 +112,7 @@ static const DVprofile dv_profiles[] = {
.ltc_divisor = 30,
.height = 480,
.width = 720,
- .sar = {{10, 11}, {40, 33}},
+ .sar = {{8, 9}, {32, 27}},
.work_chunks = &work_chunks_dv50ntsc[0],
.idct_factor = &dv_idct_factor_sd[0],
.pix_fmt = PIX_FMT_YUV422P,
@@ -132,7 +132,7 @@ static const DVprofile dv_profiles[] = {
.ltc_divisor = 25,
.height = 576,
.width = 720,
- .sar = {{59, 54}, {118, 81}},
+ .sar = {{16, 15}, {64, 45}},
.work_chunks = &work_chunks_dv50pal[0],
.idct_factor = &dv_idct_factor_sd[0],
.pix_fmt = PIX_FMT_YUV422P,
@@ -232,7 +232,7 @@ static const DVprofile dv_profiles[] = {
.ltc_divisor = 25,
.height = 576,
.width = 720,
- .sar = {{59, 54}, {118, 81}},
+ .sar = {{16, 15}, {64, 45}},
.work_chunks = &work_chunks_dv25pal[0],
.idct_factor = &dv_idct_factor_sd[0],
.pix_fmt = PIX_FMT_YUV420P,
OpenPOWER on IntegriCloud