summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-12 03:33:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-12 03:33:40 +0000
commitb86bd1f137b7e3d14b210ee822563edd0e01814c (patch)
tree8d27115d6729019084e90082d5f87fb0e0138d7b /tests
parent270f8784472a47c2e7801464af3eb2f5f221378a (diff)
svq1 regression test
Originally committed as revision 3129 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rw-r--r--tests/ffmpeg.regression.ref4
-rwxr-xr-xtests/regression.sh11
-rw-r--r--tests/rotozoom.regression.ref4
3 files changed, 19 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index 8f501a5f69..f1a000c155 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -107,6 +107,10 @@ stddev: 8.09 PSNR:29.96 bytes:7602176
2653690 ./data/a-ffv1.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
+4f19ea77c558be4773e81f6753bf0312 *./data/a-svq1.mov
+1985787 ./data/a-svq1.mov
+63ce98457dad973db89ed87ac2cb9392 *./data/out.yuv
+stddev: 10.83 PSNR:27.43 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
95712 ./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav
diff --git a/tests/regression.sh b/tests/regression.sh
index d0690aba01..8f5d2463fe 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -66,6 +66,7 @@ else
do_flv=y
do_ffv1=y
do_error=y
+ do_svq1=y
fi
@@ -403,6 +404,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
+if [ -n "$do_svq1" ] ; then
+# svq1 encoding
+file=${outfile}svq1.mov
+do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec svq1 -pix_fmt yuv410p $file
+
+# svq1 decoding
+do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
+fi
+
+###################################
if [ -n "$do_mp2" ] ; then
# mp2 encoding
file=${outfile}mp2.mp2
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index b7e496e83a..b693866c5a 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -107,6 +107,10 @@ stddev: 5.44 PSNR:33.41 bytes:7602176
3524824 ./data/a-ffv1.avi
dde5895817ad9d219f79a52d0bdfb001 *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
+a9d289b2272969b7d59dcf7f8cfa5fc5 *./data/a-svq1.mov
+1587819 ./data/a-svq1.mov
+fc35c02e4d3b27f2a83d8fcebaa6ab1b *./data/out.yuv
+stddev: 2.89 PSNR:38.90 bytes:7602176
21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
95712 ./data/a-mp2.mp2
624d9789f3ac193bbae4af3bd8cb02b7 *./data/out.wav