add mpeg2 4:2:2 regression test
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 5 Aug 2008 21:59:51 +0000 (21:59 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 5 Aug 2008 21:59:51 +0000 (21:59 +0000)
Originally committed as revision 14629 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/ffmpeg.regression.ref
tests/regression.sh
tests/rotozoom.regression.ref

index 71fe89c1ac9464104c89c700844d2127ea205c34..17740480cb85f6fbbe022836fe503bb7a4e37094 100644 (file)
@@ -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
index 3735e0a4598f2744ac63be4be59894f72525787f..52efb12bc3bad29ab9ccce555b598c74888eb3f9 100755 (executable)
@@ -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"
index ca9fcb0915bbbd352109bf4510f00a2197bcb896..8f82d04b5411237cc5573bab1f8eb0f63382c99d 100644 (file)
@@ -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