From b601ded7995f5f8880cad8438ee923842a84c665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 29 Oct 2011 15:47:22 +0200 Subject: [PATCH] Add prores regression test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- tests/codec-regression.sh | 5 +++++ tests/ref/vsynth1/prores | 4 ++++ tests/ref/vsynth2/prores | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 tests/ref/vsynth1/prores create mode 100644 tests/ref/vsynth2/prores diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh index 21b510fda3..4fd5d17d17 100755 --- a/tests/codec-regression.sh +++ b/tests/codec-regression.sh @@ -250,6 +250,11 @@ do_video_encoding dnxhd-720p-10bit.dnxhd "-s hd720 -b 90M -pix_fmt yuv422p10 -vf do_video_decoding "" "-s cif -pix_fmt yuv420p" fi +if [ -n "$do_prores" ] ; then +do_video_encoding prores.mov "-vcodec prores" +do_video_decoding "" "-pix_fmt yuv420p" +fi + if [ -n "$do_svq1" ] ; then do_video_encoding svq1.mov "-an -vcodec svq1 -qscale 3 -pix_fmt yuv410p" do_video_decoding "" "-pix_fmt yuv420p" diff --git a/tests/ref/vsynth1/prores b/tests/ref/vsynth1/prores new file mode 100644 index 0000000000..0c5842884e --- /dev/null +++ b/tests/ref/vsynth1/prores @@ -0,0 +1,4 @@ +1864aa1cb7370fe682f3f392dc771960 *./tests/data/vsynth1/prores.mov +5022955 ./tests/data/vsynth1/prores.mov +a2e2d1d45341a94ff994d1d92629f778 *./tests/data/prores.vsynth1.out.yuv +stddev: 2.47 PSNR: 40.27 MAXDIFF: 31 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth2/prores b/tests/ref/vsynth2/prores new file mode 100644 index 0000000000..498423d5b5 --- /dev/null +++ b/tests/ref/vsynth2/prores @@ -0,0 +1,4 @@ +1160bb646bd365536951fadd96880d3c *./tests/data/vsynth2/prores.mov +2844194 ./tests/data/vsynth2/prores.mov +b5844025c0f4c7c37db702c3213db232 *./tests/data/prores.vsynth2.out.yuv +stddev: 1.31 PSNR: 45.77 MAXDIFF: 11 bytes: 7603200/ 7603200