Add dnxhd test to regression tests.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 17 Sep 2009 18:06:03 +0000 (18:06 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 17 Sep 2009 18:06:03 +0000 (18:06 +0000)
Originally committed as revision 19895 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile
tests/codec-regression.sh
tests/rotozoom.regression.ref
tests/vsynth.regression.ref

index 9e19339..1d87055 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -179,6 +179,7 @@ CODEC_TESTS = $(addprefix regtest-,             \
         snowll                                  \
         dv                                      \
         dv50                                    \
+        dnxhd                                   \
         svq1                                    \
         flashsv                                 \
         mp2                                     \
index d795459..32f5e5a 100755 (executable)
@@ -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"
index d706063..7ef76b0 100644 (file)
@@ -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
index f29520e..5a0e176 100644 (file)
@@ -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