Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-17 22:06:03 +0400
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-09-17 22:06:03 +0400
commita5083f66c7d084406e0311a9958867cf8aefe766 (patch)
tree1bf74229a64589a5b54b2f91a3b46735be91bc23 /tests
parentf68c8a50391802c0fca81e09de48df557f528c25 (diff)
Add dnxhd test to regression tests.
Originally committed as revision 19895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/rotozoom.regression.ref4
-rw-r--r--tests/vsynth.regression.ref4
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index d795459fb2..32f5e5a61e 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -370,6 +370,11 @@ do_video_encoding dv50.dv "-dct int" "-s pal -pix_fmt yuv422p -an -sws_flags nei
do_video_decoding "" "-s cif -pix_fmt yuv420p -sws_flags neighbor+bitexact"
fi
+if [ -n "$do_dnxhd" ] ; then
+do_video_encoding dnxhd.dnxhd "" "-s hd1080 -b 120Mb -pix_fmt yuv422p -an -sws_flags neighbor+bitexact"
+do_video_decoding "-r 25" "-s cif -pix_fmt yuv420p -sws_flags neighbor+bitexact"
+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/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index d7060639c5..7ef76b0e7d 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -162,6 +162,10 @@ stddev: 10.09 PSNR: 28.04 bytes: 7603200/ 7603200
14400000 ./tests/data/a-dv50.dv
af3f2dd5ab62c1a1d98b07d4aeb6852f *./tests/data/dv50.rotozoom.out.yuv
stddev: 0.82 PSNR: 49.81 bytes: 7603200/ 7603200
+06947a671a04bcfb9600834ea02d3390 *./tests/data/a-dnxhd.dnxhd
+30310400 ./tests/data/a-dnxhd.dnxhd
+3c16fca8254dcaa0efe495c45fa6bd28 *./tests/data/dnxhd.rotozoom.out.yuv
+stddev: 8.45 PSNR: 29.58 bytes: 7603200/ 7603200
7f9fbe4890bc1df67867bf03803dca48 *./tests/data/a-svq1.mov
766851 ./tests/data/a-svq1.mov
aa03471dac3f49455a33a2b19fda1098 *./tests/data/svq1.rotozoom.out.yuv
diff --git a/tests/vsynth.regression.ref b/tests/vsynth.regression.ref
index f29520e979..5a0e17692c 100644
--- a/tests/vsynth.regression.ref
+++ b/tests/vsynth.regression.ref
@@ -162,6 +162,10 @@ stddev: 30.76 PSNR: 18.36 bytes: 7603200/ 7603200
14400000 ./tests/data/a-dv50.dv
a2ff093e93ffed10f730fa21df02fc50 *./tests/data/dv50.vsynth.out.yuv
stddev: 1.72 PSNR: 43.37 bytes: 7603200/ 7603200
+f361f3755373325551ac8d639531a8f0 *./tests/data/a-dnxhd.dnxhd
+30310400 ./tests/data/a-dnxhd.dnxhd
+321cf0d7223bfbb0bd7c431d94ef3867 *./tests/data/dnxhd.vsynth.out.yuv
+stddev: 21.37 PSNR: 21.52 bytes: 7603200/ 7603200
595fc4e38734521356b60e67b813f0fa *./tests/data/a-svq1.mov
1334367 ./tests/data/a-svq1.mov
9cc35c54b2c77d36bd7e308b393c1f81 *./tests/data/svq1.vsynth.out.yuv