From 9a27dc1cbda2bc6482db461ca99149dfd79fb327 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 25 Sep 2011 06:47:53 +0200 Subject: [PATCH] regtests: amv video encoder test Signed-off-by: Michael Niedermayer --- tests/codec-regression.sh | 5 +++++ tests/ref/vsynth1/amv/vsynth1-amv | 4 ++++ tests/ref/vsynth2/amv/vsynth2-amv | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 tests/ref/vsynth1/amv/vsynth1-amv create mode 100644 tests/ref/vsynth2/amv/vsynth2-amv 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