aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-12-21 13:03:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-12-21 13:03:07 +0000
commit2d1e5071e221738c666adf9f5d25c1a2606e1e90 (patch)
treeb3f2982a3f4dfd0c629cfb95cd8fb82e44423b7e
parent4a49d9b2f890dc2e923863b7554729815750145c (diff)
downloadffmpeg-2d1e5071e221738c666adf9f5d25c1a2606e1e90.tar.gz
QPRD & adaptive quantization regression tests
Originally committed as revision 7340 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/ffmpeg.regression.ref8
-rwxr-xr-xtests/regression.sh12
-rw-r--r--tests/rotozoom.regression.ref8
3 files changed, 28 insertions, 0 deletions
diff --git a/tests/ffmpeg.regression.ref b/tests/ffmpeg.regression.ref
index 4a43f6adeb..bd55822896 100644
--- a/tests/ffmpeg.regression.ref
+++ b/tests/ffmpeg.regression.ref
@@ -75,6 +75,14 @@ stddev: 10.40 PSNR:27.78 bytes:7602176
600188 ./data/a-mpeg4-adv.avi
60edc5a67271e425d0a2a52981895b81 *./data/out.yuv
stddev: 10.25 PSNR:27.91 bytes:7602176
+e8387041071301c4527377e1666136b0 *./data/a-mpeg4-qprd.avi
+658496 ./data/a-mpeg4-qprd.avi
+d2fa3fecdf033e70590e948a3c88976b *./data/out.yuv
+stddev: 12.13 PSNR:26.44 bytes:7602176
+cf202860731f8a85d07dae559417f330 *./data/a-mpeg4-adap.avi
+400830 ./data/a-mpeg4-adap.avi
+e9fb8b8e8bef48085d19c4969b012f36 *./data/out.yuv
+stddev: 14.68 PSNR:24.78 bytes:7602176
5fff534f0b958547dfdb811d4f289931 *./data/a-mpeg4-thread.avi
761170 ./data/a-mpeg4-thread.avi
fe1d119938f8a26174b38eeaa18dff85 *./data/out.yuv
diff --git a/tests/regression.sh b/tests/regression.sh
index 9b410d7562..85c9e28ee1 100755
--- a/tests/regression.sh
+++ b/tests/regression.sh
@@ -370,6 +370,18 @@ do_video_encoding mpeg4-adv.avi "-qscale 9 -flags +mv4+part+aic+trell -mbd bits
# mpeg4 decoding
do_video_decoding
+
+# mpeg4
+do_video_encoding mpeg4-qprd.avi "-b 450k -bf 2 -flags +mv4+trell+qprd+mv0 -cmp 2 -subcmp 2 -mbd rd" pgmyuv "-an -vcodec mpeg4"
+
+# mpeg4 decoding
+do_video_decoding
+
+# mpeg4
+do_video_encoding mpeg4-adap.avi "-b 550k -bf 2 -flags +mv4+trell+mv0 -cmp 1 -subcmp 2 -mbd rd -scplx_mask 0.3" pgmyuv "-an -vcodec mpeg4"
+
+# mpeg4 decoding
+do_video_decoding
fi
###################################
diff --git a/tests/rotozoom.regression.ref b/tests/rotozoom.regression.ref
index 711bd2784b..01581a8dae 100644
--- a/tests/rotozoom.regression.ref
+++ b/tests/rotozoom.regression.ref
@@ -75,6 +75,14 @@ stddev: 4.24 PSNR:35.56 bytes:7602176
173590 ./data/a-mpeg4-adv.avi
699edf05648fdc42196b7bebef9be269 *./data/out.yuv
stddev: 4.84 PSNR:34.41 bytes:7602176
+a5dca818743c7871287160c5834a7536 *./data/a-mpeg4-qprd.avi
+235794 ./data/a-mpeg4-qprd.avi
+2cd225619e34fe8c12d10e7a28bb6cca *./data/out.yuv
+stddev: 4.27 PSNR:35.50 bytes:7602176
+c43ef40b07d77347beedd4ee16be0646 *./data/a-mpeg4-adap.avi
+206290 ./data/a-mpeg4-adap.avi
+ac55933a03c32f3941dfc8b71d738cd0 *./data/out.yuv
+stddev: 4.10 PSNR:35.85 bytes:7602176
8cd8940d7451925784536fe9b2f2a5e3 *./data/a-mpeg4-thread.avi
254260 ./data/a-mpeg4-thread.avi
d160a4224ea1af66c85178912f8d3a7c *./data/out.yuv