From 96773dddf8a468caf9bc73d9ea886dda21db1f8f Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 17 Sep 2009 18:06:03 +0000 Subject: [PATCH] Add dnxhd test to regression tests. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19895 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- Makefile | 1 + tests/codec-regression.sh | 5 +++++ tests/rotozoom.regression.ref | 4 ++++ tests/vsynth.regression.ref | 4 ++++ 4 files changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 9e1933970d..1d8705580b 100644 --- a/Makefile +++ b/Makefile @@ -179,6 +179,7 @@ CODEC_TESTS = $(addprefix regtest-, \ snowll \ dv \ dv50 \ + dnxhd \ svq1 \ flashsv \ mp2 \ 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 -- 2.11.4.GIT