Change DNxHD regression tests to test both 720p and 1080i instead of just 1080i
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 19 Sep 2009 10:20:47 +0000 (10:20 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 19 Sep 2009 10:20:47 +0000 (10:20 +0000)
for better test coverage.

Originally committed as revision 19921 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/codec-regression.sh

index 32f5e5a..64e3f36 100755 (executable)
@@ -371,7 +371,11 @@ do_video_decoding "" "-s cif -pix_fmt yuv420p -sws_flags neighbor+bitexact"
 fi
 
 if [ -n "$do_dnxhd" ] ; then
 fi
 
 if [ -n "$do_dnxhd" ] ; then
-do_video_encoding dnxhd.dnxhd "" "-s hd1080 -b 120Mb -pix_fmt yuv422p -an -sws_flags neighbor+bitexact"
+# FIXME: interlaced raw DNxHD decoding is broken
+do_video_encoding dnxhd-1080i.mov "" "-vcodec dnxhd -flags +ildct -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"
+
+do_video_encoding dnxhd-720p.dnxhd "" "-s hd720 -b 90Mb -pix_fmt yuv422p -an -sws_flags neighbor+bitexact"
 do_video_decoding "-r 25" "-s cif -pix_fmt yuv420p -sws_flags neighbor+bitexact"
 fi
 
 do_video_decoding "-r 25" "-s cif -pix_fmt yuv420p -sws_flags neighbor+bitexact"
 fi