dnxhd: add regression test for 10-bit
authorMans Rullgard <mans@mansr.com>
Wed, 20 Jul 2011 23:55:24 +0000 (00:55 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 21 Jul 2011 17:44:46 +0000 (18:44 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
tests/codec-regression.sh
tests/ref/vsynth1/dnxhd_720p_10bit [new file with mode: 0644]
tests/ref/vsynth2/dnxhd_720p_10bit [new file with mode: 0644]

index ccedbdb..a420c57 100755 (executable)
@@ -230,6 +230,11 @@ do_video_encoding dnxhd-720p-rd.dnxhd "-threads 4 -mbd rd -s hd720 -b 90M -pix_f
 do_video_decoding "" "-s cif -pix_fmt yuv420p"
 fi
 
+if [ -n "$do_dnxhd_720p_10bit" ] ; then
+do_video_encoding dnxhd-720p-10bit.dnxhd "-s hd720 -b 90M -pix_fmt yuv422p10 -vframes 5 -an"
+do_video_decoding "" "-s cif -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/dnxhd_720p_10bit b/tests/ref/vsynth1/dnxhd_720p_10bit
new file mode 100644 (file)
index 0000000..4a815a9
--- /dev/null
@@ -0,0 +1,4 @@
+3ed972af47641d39a19916b0cd119120 *./tests/data/vsynth1/dnxhd-720p-10bit.dnxhd
+2293760 ./tests/data/vsynth1/dnxhd-720p-10bit.dnxhd
+b64efb0b4eb934bb66f4530c12d5d7fa *./tests/data/dnxhd_720p_10bit.vsynth1.out.yuv
+stddev:    6.27 PSNR: 32.18 MAXDIFF:   65 bytes:   760320/  7603200
diff --git a/tests/ref/vsynth2/dnxhd_720p_10bit b/tests/ref/vsynth2/dnxhd_720p_10bit
new file mode 100644 (file)
index 0000000..734df4f
--- /dev/null
@@ -0,0 +1,4 @@
+0b8389955cce583bd2db7d2e727a6f15 *./tests/data/vsynth2/dnxhd-720p-10bit.dnxhd
+2293760 ./tests/data/vsynth2/dnxhd-720p-10bit.dnxhd
+bde04e992df2473e89aef4460265332d *./tests/data/dnxhd_720p_10bit.vsynth2.out.yuv
+stddev:    1.45 PSNR: 44.89 MAXDIFF:   22 bytes:   760320/  7603200