aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Niedermayer2011-09-25 06:47:53 +0200
committerMichael Niedermayer2011-09-25 12:29:20 +0200
commit9a27dc1cbda2bc6482db461ca99149dfd79fb327 (patch)
tree07a1c949d01db76216760c2b40f5f1d4615fb59f /tests
parenta2eae0ffd403899e3f67f955e2ab914d16c019a0 (diff)
regtests: amv video encoder test
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/vsynth1/amv/vsynth1-amv4
-rw-r--r--tests/ref/vsynth2/amv/vsynth2-amv4
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index d89737b164..cffe2439da 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -112,6 +112,11 @@ do_video_encoding huffyuv.avi "-an -vcodec huffyuv -pix_fmt yuv422p -sws_flags n
do_video_decoding "" "-strict -2 -pix_fmt yuv420p -sws_flags neighbor+bitexact"
fi
+if [ -n "$do_amv" ] ; then
+do_video_encoding amv.avi "-an -vcodec amv"
+do_video_decoding
+fi
+
if [ -n "$do_rc" ] ; then
do_video_encoding mpeg4-rc.avi "-b 400k -bf 2 -an -vcodec mpeg4"
do_video_decoding
diff --git a/tests/ref/vsynth1/amv/vsynth1-amv b/tests/ref/vsynth1/amv/vsynth1-amv
new file mode 100644
index 0000000000..50d14a4430
--- /dev/null
+++ b/tests/ref/vsynth1/amv/vsynth1-amv
@@ -0,0 +1,4 @@
+539c26ba470de4d72279855fcf61f5a2 *./tests/data/vsynth1/amv.avi
+1365534 ./tests/data/vsynth1/amv.avi
+27bbe70dd002ec67af0bb219fbae626a *./tests/data/amv.vsynth1.out.yuv
+stddev: 12.46 PSNR: 26.21 MAXDIFF: 97 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/amv/vsynth2-amv b/tests/ref/vsynth2/amv/vsynth2-amv
new file mode 100644
index 0000000000..94010a2f8b
--- /dev/null
+++ b/tests/ref/vsynth2/amv/vsynth2-amv
@@ -0,0 +1,4 @@
+816a4226fe7640a835139f8a44286a12 *./tests/data/vsynth2/amv.avi
+761976 ./tests/data/vsynth2/amv.avi
+f1a9e46e77934d4cc5ca9f927662c4be *./tests/data/amv.vsynth2.out.yuv
+stddev: 8.14 PSNR: 29.91 MAXDIFF: 66 bytes: 7603200/ 7603200