aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-12-07 13:48:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-12-07 13:48:25 +0000
commitc50cd09dd5326e6a6907adcb2aad2e149c4921a9 (patch)
tree3efaf01dbaa5f1fc3be5846ed08ef56e1286c860 /tests
parentd0271e8a3aa6eff7640e5fb59ad56671d50142a5 (diff)
downloadffmpeg-c50cd09dd5326e6a6907adcb2aad2e149c4921a9.tar.gz
rv20 regression test
Originally committed as revision 3740 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 be1cba54ac..be92ab2b68 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -99,6 +99,10 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
677483 ./data/a-rv10.rm
f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv
stddev: 8.08 PSNR:29.97 bytes:7602176
+a00fbb82c030fe41febe1d03eacb338e *./data/a-rv20.rm
+652897 ./data/a-rv20.rm
+203e9790cb25b1d308fd602275afbb0e *./data/out.yuv
+stddev: 8.27 PSNR:29.76 bytes:7602176
89ad858355f9b0a92d024c5ba6e369dd *./data/a-asv1.avi
2292416 ./data/a-asv1.avi
b3e1696d73071c8f7f0ff4e10c1677ca *./data/out.yuv
diff --git a/tests/regression.sh b/tests/regression.sh
index fff692a59f..c3d24f30ce 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -56,6 +56,7 @@ else
do_mjpeg=y
do_ljpeg=y
do_rv10=y
+ do_rv20=y
do_mp2=y
do_ac3=y
do_g726=y
@@ -386,6 +387,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
+if [ -n "$do_rv20" ] ; then
+# rv20 encoding
+file=${outfile}rv20.rm
+do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec rv20 -an $file
+
+# rv20 decoding
+do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
+fi
+
+###################################
if [ -n "$do_asv1" ] ; then
# asv1 encoding
file=${outfile}asv1.avi
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 59f3242763..8487b6612a 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -99,6 +99,10 @@ stddev: 0.00 PSNR:99.99 bytes:7602176
154850 ./data/a-rv10.rm
7ec66fb7dd4e5dddd3820c668d6636aa *./data/out.yuv
stddev: 5.44 PSNR:33.41 bytes:7602176
+d4a6977b0162d8c1cfea5ffd0a3d5f56 *./data/a-rv20.rm
+133224 ./data/a-rv20.rm
+fce5eda7118cbb0bd60da60e827842ee *./data/out.yuv
+stddev: 5.42 PSNR:33.43 bytes:7602176
9c4f5a4613a5595c90c6b99bf143b6a9 *./data/a-asv1.avi
1433376 ./data/a-asv1.avi
4251d7f496bbf362251b065e840a1b73 *./data/out.yuv