[libav-devel] [PATCH 1/5] Add prores regression test.
Derek Buitenhuis
derek.buitenhuis at gmail.com
Tue Feb 21 18:22:42 CET 2012
From: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
tests/codec-regression.sh | 5 +++++
tests/ref/vsynth1/prores | 4 ++++
tests/ref/vsynth2/prores | 4 ++++
3 files changed, 13 insertions(+), 0 deletions(-)
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..3f24c37 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"
+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..5c7411b
--- /dev/null
+++ b/tests/ref/vsynth1/prores
@@ -0,0 +1,4 @@
+f1eb5ed9840f27ebc93e2b90f9783d01 *./tests/data/vsynth1/prores.mov
+2601854 ./tests/data/vsynth1/prores.mov
+110dbcfb6132f4f754a28adcc53dd301 *./tests/data/prores.vsynth1.out.yuv
+stddev: 5.55 PSNR: 33.24 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/prores b/tests/ref/vsynth2/prores
new file mode 100644
index 0000000..e94a0da
--- /dev/null
+++ b/tests/ref/vsynth2/prores
@@ -0,0 +1,4 @@
+7155af9a8a6ee7b17c71e866db5f0b42 *./tests/data/vsynth2/prores.mov
+2607344 ./tests/data/vsynth2/prores.mov
+bec7aea393b6fb94bc08d5487ed9ee9a *./tests/data/prores.vsynth2.out.yuv
+stddev: 1.64 PSNR: 43.81 MAXDIFF: 23 bytes: 7603200/ 7603200
--
1.7.9.1
More information about the libav-devel
mailing list