aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-16 14:02:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-16 14:02:41 +0000
commit7f8038ce8848ea6be9150fdf9d6d99e81a8f11f0 (patch)
tree5bafa1c314c25466be62dd884b60192f5162fcec
parent096c3b7e9023f0f3b29c5aef7e32868ee1e729ea (diff)
downloadffmpeg-7f8038ce8848ea6be9150fdf9d6d99e81a8f11f0.tar.gz
mv/mb reuse regression test
Originally committed as revision 3686 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/ffmpeg.regression.ref4
-rwxr-xr-xtests/regression.sh9
-rw-r--r--tests/rotozoom.regression.ref4
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index c087d89103..6ea270f71a 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -19,6 +19,10 @@ d3d2fd4dd186d8c9de7666398d5af13a *./data/a-mpeg2thread.mpg
816506 ./data/a-mpeg2thread.mpg
9db3aca554bb8ee337a109a3b8629575 *./data/out.yuv
stddev: 7.64 PSNR:30.45 bytes:7602176
+052bcdb13286f4f7137a50c4db032104 *./data/a-mpeg2reuse.mpg
+2115703 ./data/a-mpeg2reuse.mpg
+526e6e6818296a1b63d91fc165e0bda8 *./data/out.yuv
+stddev: 7.68 PSNR:30.41 bytes:7602176
e7ff3a8780ebdc6687352646c8fbe876 *./data/a-msmpeg4v2.avi
642666 ./data/a-msmpeg4v2.avi
7646e5cc93452b5fb380c8c4c5f535f4 *./data/out.yuv
diff --git a/tests/regression.sh b/tests/regression.sh
index a8e3d4be08..8c65453606 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -34,6 +34,8 @@ elif [ "$1" = "ac3" ] ; then
do_ac3=y
elif [ "$1" = "huffyuv" ] ; then
do_huffyuv=y
+elif [ "$1" = "mpeg2thread" ] ; then
+ do_mpeg2thread=y
elif [ "$1" = "libavtest" ] ; then
do_libav=y
logfile="$datadir/libav.regression"
@@ -184,6 +186,13 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1v
# mpeg2 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
+
+# mpeg2 encoding interlaced
+file=${outfile}mpeg2reuse.mpg
+do_ffmpeg $file -y -sameq -me_threshold 256 -mb_threshold 1024 -i ${outfile}mpeg2thread.mpg -vcodec mpeg2video -f mpeg1video -bf 2 -ildct -ilme -threads 4 $file
+
+# mpeg2 decoding
+do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 05e3693258..5182102ceb 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -19,6 +19,10 @@ df6924f747ea4355f9072e7ab0fe776d *./data/a-mpeg2thread.mpg
184101 ./data/a-mpeg2thread.mpg
abc276d30f874cb36d2fa113dabc67a8 *./data/out.yuv
stddev: 4.76 PSNR:34.56 bytes:7602176
+339be26f8e88f27c8a7811c427e24492 *./data/a-mpeg2reuse.mpg
+397244 ./data/a-mpeg2reuse.mpg
+caa7723366dd267a5a14775565f2df2e *./data/out.yuv
+stddev: 4.77 PSNR:34.54 bytes:7602176
fe0779aa87f6e30c450944c807afb13a *./data/a-msmpeg4v2.avi
129504 ./data/a-msmpeg4v2.avi
25b5ba0b024fcd4028e707ffbeb80f55 *./data/out.yuv