[Ffmpeg-cvslog] r7211 - trunk/tests/regression.sh

diego subversion
Sat Dec 2 15:55:11 CET 2006


Author: diego
Date: Sat Dec  2 15:55:11 2006
New Revision: 7211

Modified:
   trunk/tests/regression.sh

Log:
Make do_video_decoding general enough to accomodate all cases.


Modified: trunk/tests/regression.sh
==============================================================================
--- trunk/tests/regression.sh	(original)
+++ trunk/tests/regression.sh	Sat Dec  2 15:55:11 2006
@@ -157,7 +157,7 @@
 
 do_video_decoding()
 {
-    do_ffmpeg $raw_dst -y -i $file -f rawvideo $@ $raw_dst
+    do_ffmpeg $raw_dst -y $1 -i $file -f rawvideo $2 $raw_dst
 }
 
 do_video_encoding()
@@ -242,7 +242,7 @@
 do_video_encoding mpeg2.mpg "-qscale 10" "-vcodec mpeg2video -idct int -dct int -f mpeg1video"
 
 # mpeg2 decoding
-do_ffmpeg $raw_dst -y -idct int -i $file -f rawvideo $raw_dst
+do_video_decoding "-idct int"
 
 # mpeg2 encoding interlaced
 do_video_encoding mpeg2i.mpg "-qscale 10" "-vcodec mpeg2video -f mpeg1video -flags +ildct+ilme"
@@ -351,7 +351,7 @@
 do_video_encoding huffyuv.avi "" "-an -vcodec huffyuv -pix_fmt yuv422p"
 
 # huffyuv decoding
-do_video_decoding -strict -2 -pix_fmt yuv420p
+do_video_decoding "" "-strict -2 -pix_fmt yuv420p"
 fi
 
 ###################################
@@ -430,7 +430,7 @@
 do_video_encoding mjpeg.avi "-qscale 10" "-an -vcodec mjpeg -pix_fmt yuvj420p"
 
 # mjpeg decoding
-do_video_decoding -pix_fmt yuv420p
+do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
 ###################################
@@ -448,7 +448,7 @@
 do_video_encoding jpegls.avi "" "-an -vcodec jpegls -vtag MJPG"
 
 # jpeg ls decoding
-do_video_decoding -pix_fmt yuv420p
+do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
 ###################################
@@ -511,7 +511,7 @@
 do_video_encoding snow.avi "-strict -2" "-an -vcodec snow -qscale 2 -flags +qpel -me iter -dia_size 2 -cmp 12 -subcmp 12 -s 128x64"
 
 # snow decoding
-do_video_decoding -s 352x288
+do_video_decoding "" "-s 352x288"
 fi
 
 ###################################
@@ -529,7 +529,7 @@
 do_video_encoding dv.dv "-dct int" "-s pal -an"
 
 # dv decoding
-do_video_decoding -s cif
+do_video_decoding "" "-s cif"
 fi
 
 ###################################
@@ -538,7 +538,7 @@
 do_video_encoding dv.dv "-dct int" "-s pal -pix_fmt yuv422p -an"
 
 # dv50 decoding
-do_video_decoding -s cif -pix_fmt yuv420p
+do_video_decoding "" "-s cif -pix_fmt yuv420p"
 fi
 
 
@@ -548,7 +548,7 @@
 do_video_encoding svq1.mov "" "-an -vcodec svq1 -qscale 3 -pix_fmt yuv410p"
 
 # svq1 decoding
-do_video_decoding -pix_fmt yuv420p
+do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
 ###################################




More information about the ffmpeg-cvslog mailing list