summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-02-21 12:22:42 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-21 14:42:30 -0500
commit2c87c7a952569c63a9f981fc0e3f8c5867ad2279 (patch)
tree7abac7076b3a7d5b3fbb18100a3de60fe8ecfd43 /tests
parenta86ca94615454e795be35a2842bdc49284b799fc (diff)
Add prores regression test.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/vsynth1/prores4
-rw-r--r--tests/ref/vsynth2/prores4
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 21b53b7a63..d59ce07b35 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 0000000000..b496d99e93
--- /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 0000000000..da5a97e7b3
--- /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