[FFmpeg-devel] [PATCH] add dnxhd regression test

Reimar Döffinger Reimar.Doeffinger
Mon Sep 14 23:56:56 CEST 2009


flags are probably suboptimal, given the scarily high stddev...
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 19846)
+++ Makefile	(working copy)
@@ -179,6 +179,7 @@
         snowll                                  \
         dv                                      \
         dv50                                    \
+        dnxhd                                   \
         svq1                                    \
         flashsv                                 \
         mp2                                     \
Index: tests/rotozoom.regression.ref
===================================================================
--- tests/rotozoom.regression.ref	(revision 19846)
+++ tests/rotozoom.regression.ref	(working copy)
@@ -162,6 +162,10 @@
 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: tests/vsynth.regression.ref
===================================================================
--- tests/vsynth.regression.ref	(revision 19846)
+++ tests/vsynth.regression.ref	(working copy)
@@ -162,6 +162,10 @@
 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
Index: tests/codec-regression.sh
===================================================================
--- tests/codec-regression.sh	(revision 19846)
+++ tests/codec-regression.sh	(working copy)
@@ -370,6 +370,11 @@
 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"



More information about the ffmpeg-devel mailing list