Commit 2cce68f8 authored by Baptiste Coudurier's avatar Baptiste Coudurier

add mpeg2 4:2:2 regression test

Originally committed as revision 14629 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 95aad5d1
...@@ -10,6 +10,10 @@ stddev: 7.68 PSNR: 30.41 bytes: 7603200/ 7603200 ...@@ -10,6 +10,10 @@ stddev: 7.68 PSNR: 30.41 bytes: 7603200/ 7603200
787469 ./tests/data/a-mpeg2ivlc-qprd.mpg 787469 ./tests/data/a-mpeg2ivlc-qprd.mpg
985170ca0ab1ec1edbb37c44d8cfde90 *./tests/data/mpeg2.vsynth.out.yuv 985170ca0ab1ec1edbb37c44d8cfde90 *./tests/data/mpeg2.vsynth.out.yuv
stddev: 10.09 PSNR: 28.04 bytes: 7603200/ 7603200 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 2566ea5760247a9485c8281cb52291a8 *./tests/data/a-mpeg2.mpg
735853 ./tests/data/a-mpeg2.mpg 735853 ./tests/data/a-mpeg2.mpg
55c22a09e4924977ee2cc4180078d3ae *./tests/data/mpeg2.vsynth.out.yuv 55c22a09e4924977ee2cc4180078d3ae *./tests/data/mpeg2.vsynth.out.yuv
......
...@@ -183,6 +183,10 @@ do_video_decoding ...@@ -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_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 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 # mpeg2
do_video_encoding mpeg2.mpg "-qscale 10" "-vcodec mpeg2video -idct int -dct int -f mpeg1video" do_video_encoding mpeg2.mpg "-qscale 10" "-vcodec mpeg2video -idct int -dct int -f mpeg1video"
do_video_decoding "-idct int" do_video_decoding "-idct int"
......
...@@ -10,6 +10,10 @@ stddev: 4.96 PSNR: 34.19 bytes: 7603200/ 7603200 ...@@ -10,6 +10,10 @@ stddev: 4.96 PSNR: 34.19 bytes: 7603200/ 7603200
247161 ./tests/data/a-mpeg2ivlc-qprd.mpg 247161 ./tests/data/a-mpeg2ivlc-qprd.mpg
cc6f08c1a24b58c19de325e79cfa40a3 *./tests/data/mpeg2.rotozoom.out.yuv cc6f08c1a24b58c19de325e79cfa40a3 *./tests/data/mpeg2.rotozoom.out.yuv
stddev: 4.25 PSNR: 35.55 bytes: 7603200/ 7603200 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 f979bcca866e6e4cad5dc6cb06e56cfb *./tests/data/a-mpeg2.mpg
198041 ./tests/data/a-mpeg2.mpg 198041 ./tests/data/a-mpeg2.mpg
f6d9bf24ff8676a7f6076c05cd2c81a3 *./tests/data/mpeg2.rotozoom.out.yuv f6d9bf24ff8676a7f6076c05cd2c81a3 *./tests/data/mpeg2.rotozoom.out.yuv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment