From 2c87c7a952569c63a9f981fc0e3f8c5867ad2279 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Reimar=20D=C3=B6ffinger?= Date: Tue, 21 Feb 2012 12:22:42 -0500 Subject: [PATCH] Add prores regression test. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger Signed-off-by: Justin Ruggles --- 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 21b53b7..d59ce07 100755 --- a/tests/codec-regression.sh +++ b/tests/codec-regression.sh @@ -253,6 +253,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 -profile hq" +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 0000000..b496d99 --- /dev/null +++ b/tests/ref/vsynth1/prores @@ -0,0 +1,4 @@ +c050b1a4905175211ead9979562366ff *./tests/data/vsynth1/prores.mov +3859037 ./tests/data/vsynth1/prores.mov +0a4153637d0cc0a88a8bcbf04cfaf8c6 *./tests/data/prores.vsynth1.out.yuv +stddev: 3.17 PSNR: 38.09 MAXDIFF: 39 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth2/prores b/tests/ref/vsynth2/prores new file mode 100644 index 0000000..da5a97e --- /dev/null +++ b/tests/ref/vsynth2/prores @@ -0,0 +1,4 @@ +ecd11fa69712902143c0c54b193c9313 *./tests/data/vsynth2/prores.mov +3884722 ./tests/data/vsynth2/prores.mov +ca2f6c1162635dedfa468c90f1fdc0ef *./tests/data/prores.vsynth2.out.yuv +stddev: 0.92 PSNR: 48.77 MAXDIFF: 10 bytes: 7603200/ 7603200 -- 2.7.4