aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-01-02 21:26:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-01-02 21:26:51 +0000
commitbe408b67e6cb817318d841d693a5b60a07f2508d (patch)
tree92f8cf05c9fc73747942b7e30ca39b3484dc4660
parentfbb898067ff94323b758b70cae9377be9e810d64 (diff)
downloadffmpeg-be408b67e6cb817318d841d693a5b60a07f2508d.tar.gz
noise reduction regression test
Originally committed as revision 2656 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/ffmpeg.regression.ref3
-rwxr-xr-xtests/regression.sh11
-rw-r--r--tests/rotozoom.regression.ref3
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index 8f82e300f9..5ccc1da356 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -41,6 +41,9 @@ stddev: 10.23 PSNR:27.92 bytes:7602176
f863f4198521bd76930ea33991b47273 *./data/a-error-mpeg4-adv.avi
ba7fcd126c7c9fead5a5de71aaaf0624 *./data/out.yuv
stddev: 16.80 PSNR:23.61 bytes:7602176
+198ad515da4f330d780c54fd8d6186ab *./data/a-error-mpeg4-nr.avi
+ebdb326e19aeab8e3c70d7050dc3b240 *./data/out.yuv
+stddev: 7.02 PSNR:31.19 bytes:7602176
328ebd044362116e274739e23c482ee7 *./data/a-mpeg1b.mpg
788a9d500dc8986231a18076fc80fd73 *./data/out.yuv
stddev: 10.07 PSNR:28.06 bytes:7145472
diff --git a/tests/regression.sh b/tests/regression.sh
index c242bcbb10..b3796d765e 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -48,6 +48,7 @@ else
do_ac3=y
do_rc=y
do_mpeg4adv=y
+ do_mpeg4nr=y
do_mpeg1b=y
do_asv1=y
do_asv2=y
@@ -255,6 +256,16 @@ do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
fi
###################################
+if [ -n "$do_mpeg4nr" ] ; then
+# noise reduction
+file=${outfile}error-mpeg4-nr.avi
+do_ffmpeg $file -y -qscale 8 -4mv -mbd 2 -nr 200 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file
+
+# mpeg4 decoding
+do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
+fi
+
+###################################
if [ -n "$do_mpeg1b" ] ; then
# mpeg1
file=${outfile}mpeg1b.mpg
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 998ed6a45e..f9ced39800 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -41,6 +41,9 @@ stddev: 4.77 PSNR:34.54 bytes:7602176
03ff35856faefb4882eaf4d86d95bea7 *./data/a-error-mpeg4-adv.avi
8550acff0851ee915bd5800f1e20f37c *./data/out.yuv
stddev: 9.66 PSNR:28.42 bytes:7602176
+74dbbba19d250a712702b1893c003461 *./data/a-error-mpeg4-nr.avi
+81b985840c03bf101302abde131e3900 *./data/out.yuv
+stddev: 4.67 PSNR:34.73 bytes:7602176
671802a2c5078e69f7f422765ea87f2a *./data/a-mpeg1b.mpg
d3d5876cef34b728602d5a22eee9249f *./data/out.yuv
stddev: 5.93 PSNR:32.66 bytes:7145472