OSDN Git Service

split snow53 test out
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Jan 2006 01:58:38 +0000 (01:58 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Jan 2006 01:58:38 +0000 (01:58 +0000)
Originally committed as revision 4850 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/Makefile
tests/regression.sh

index 396573c..4bcad53 100644 (file)
@@ -21,7 +21,7 @@ test-server: vsynth1/0.pgm asynth1.sw
        @$(SRC_PATH)/tests/server-regression.sh $(SERVER_REFFILE) $(SRC_PATH)/tests/test.conf
 
 # fast regression tests for all codecs
-codectest mpeg4 mpeg ac3 snow: vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr
+codectest mpeg4 mpeg ac3 snow snowll: vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr
        @$(SRC_PATH)/tests/regression.sh $@ $(REFFILE1) vsynth1
        @$(SRC_PATH)/tests/regression.sh $@ $(REFFILE2) vsynth2
 
index 7dac151..d586eec 100755 (executable)
@@ -38,6 +38,8 @@ elif [ "$1" = "mpeg2thread" ] ; then
     do_mpeg2thread=y
 elif [ "$1" = "snow" ] ; then
     do_snow=y
+elif [ "$1" = "snowll" ] ; then
+    do_snowll=y
 elif [ "$1" = "libavtest" ] ; then
     do_libav=y
     logfile="$datadir/libav.regression"
@@ -76,6 +78,7 @@ else
     do_error=y
     do_svq1=y
     do_snow=y
+    do_snowll=y
     do_adpcm_yam=y
     do_dv=y
 fi
@@ -453,7 +456,10 @@ do_ffmpeg $file -y -strict -2 -f pgmyuv -i $raw_src -an -vcodec snow -qscale 2 -
 
 # snow decoding
 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
+fi
 
+###################################
+if [ -n "$do_snowll" ] ; then
 # snow encoding
 file=${outfile}snow53.avi
 do_ffmpeg $file -y -strict -2 -f pgmyuv -i $raw_src -an -vcodec snow -pred 1 -flags +mv4+qpel $file