Add prores regression test.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 21 Feb 2012 17:22:42 +0000 (12:22 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 21 Feb 2012 19:42:30 +0000 (14:42 -0500)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
tests/codec-regression.sh
tests/ref/vsynth1/prores [new file with mode: 0644]
tests/ref/vsynth2/prores [new file with mode: 0644]

index 21b53b7..d59ce07 100755 (executable)
@@ -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 (file)
index 0000000..b496d99
--- /dev/null
@@ -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 (file)
index 0000000..da5a97e
--- /dev/null
@@ -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