aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-05 21:59:51 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-08-05 21:59:51 +0000
commit2cce68f8bd9cafbd72433a373d92931a9bf046dc (patch)
tree51505f699e55236372208fce00ffe2715c31543a /tests
parent95aad5d1f1b5339b2efd819ddce255d941d272f2 (diff)
downloadffmpeg-2cce68f8bd9cafbd72433a373d92931a9bf046dc.tar.gz
add mpeg2 4:2:2 regression test
Originally committed as revision 14629 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/ffmpeg.regression.ref4
-rwxr-xr-xtests/regression.sh4
-rw-r--r--tests/rotozoom.regression.ref4
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index 71fe89c1ac..17740480cb 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -10,6 +10,10 @@ stddev: 7.68 PSNR: 30.41 bytes: 7603200/ 7603200
787469 ./tests/data/a-mpeg2ivlc-qprd.mpg
985170ca0ab1ec1edbb37c44d8cfde90 *./tests/data/mpeg2.vsynth.out.yuv
stddev: 10.09 PSNR: 28.04 bytes: 7603200/ 7603200
+b1cfb7a3b2f1f6794dd6b9efec9cc558 *./tests/data/a-mpeg2_422.mpg
+738682 ./tests/data/a-mpeg2_422.mpg
+bf65179abc21dfbe1ca035ce86977579 *./tests/data/mpeg2.vsynth.out.yuv
+stddev: 63.37 PSNR: 12.08 bytes: 10137600/ 7603200
2566ea5760247a9485c8281cb52291a8 *./tests/data/a-mpeg2.mpg
735853 ./tests/data/a-mpeg2.mpg
55c22a09e4924977ee2cc4180078d3ae *./tests/data/mpeg2.vsynth.out.yuv
diff --git a/tests/regression.sh b/tests/regression.sh
index 3735e0a459..52efb12bc3 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -183,6 +183,10 @@ do_video_decoding
do_video_encoding mpeg2ivlc-qprd.mpg "-vb 500k -bf 2 -flags +trell+qprd+mv0 -flags2 +ivlc -cmp 2 -subcmp 2 -mbd rd" "-vcodec mpeg2video -f mpeg2video"
do_video_decoding
+#mpeg2 4:2:2 encoding
+do_video_encoding mpeg2_422.mpg "-vb 1000k -bf 2 -trellis 1 -flags +qprd+ildct+ilme -flags2 +ivlc -mbd rd" "-vcodec mpeg2video -pix_fmt yuv422p -f mpeg2video"
+do_video_decoding
+
# mpeg2
do_video_encoding mpeg2.mpg "-qscale 10" "-vcodec mpeg2video -idct int -dct int -f mpeg1video"
do_video_decoding "-idct int"
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index ca9fcb0915..8f82d04b54 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -10,6 +10,10 @@ stddev: 4.96 PSNR: 34.19 bytes: 7603200/ 7603200
247161 ./tests/data/a-mpeg2ivlc-qprd.mpg
cc6f08c1a24b58c19de325e79cfa40a3 *./tests/data/mpeg2.rotozoom.out.yuv
stddev: 4.25 PSNR: 35.55 bytes: 7603200/ 7603200
+6f49b4c7941d0f559c2efeeb46d7914b *./tests/data/a-mpeg2_422.mpg
+358018 ./tests/data/a-mpeg2_422.mpg
+da03fae3a0e2d23dbb415bd5005376c3 *./tests/data/mpeg2.rotozoom.out.yuv
+stddev: 54.55 PSNR: 13.38 bytes: 10137600/ 7603200
f979bcca866e6e4cad5dc6cb06e56cfb *./tests/data/a-mpeg2.mpg
198041 ./tests/data/a-mpeg2.mpg
f6d9bf24ff8676a7f6076c05cd2c81a3 *./tests/data/mpeg2.rotozoom.out.yuv