aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer2006-01-14 01:58:38 +0000
committerMichael Niedermayer2006-01-14 01:58:38 +0000
commite03c822afdc04a885daab3dd0c8a6f3e37824039 (patch)
treecbb4e2cab64a11a7069ae16776600693aabdf860
parent45e63d13d5a6fb80374d1ac893f85b63ec086c2d (diff)
split snow53 test out
Originally committed as revision 4850 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/Makefile2
-rwxr-xr-xtests/regression.sh6
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 396573c846..4bcad531a7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -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
diff --git a/tests/regression.sh b/tests/regression.sh
index 7dac151d04..d586eecc71 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -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