From 92a02d935bb73b3d5e5dcae990ffdafc7262bbd6 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 14 Mar 2012 20:15:34 +0000 Subject: [PATCH] Add ffvhuff encoding and decoding regression test Signed-off-by: Paul B Mahol Signed-off-by: Ronald S. Bultje --- tests/codec-regression.sh | 5 +++++ tests/ref/vsynth1/ffvhuff | 4 ++++ tests/ref/vsynth2/ffvhuff | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 tests/ref/vsynth1/ffvhuff create mode 100644 tests/ref/vsynth2/ffvhuff diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh index 6a1dee6..cef3d44 100755 --- a/tests/codec-regression.sh +++ b/tests/codec-regression.sh @@ -207,6 +207,11 @@ do_video_encoding ffv1.avi "-strict -2 -an -vcodec ffv1" do_video_decoding fi +if [ -n "$do_ffvhuff" ] ; then +do_video_encoding ffvhuff.avi "-an -vcodec ffvhuff" +do_video_decoding "" +fi + if [ -n "$do_snow" ] ; then do_video_encoding snow.avi "-strict -2 -an -vcodec snow -qscale 2 -flags +qpel -me_method iter -dia_size 2 -cmp 12 -subcmp 12 -s 128x64" do_video_decoding "" "-s 352x288" diff --git a/tests/ref/vsynth1/ffvhuff b/tests/ref/vsynth1/ffvhuff new file mode 100644 index 0000000..4a1ebdb --- /dev/null +++ b/tests/ref/vsynth1/ffvhuff @@ -0,0 +1,4 @@ +da0c0bd12ac141c976ffa6a71832ab4b *./tests/data/vsynth1/ffvhuff.avi + 5987208 ./tests/data/vsynth1/ffvhuff.avi +c5ccac874dbf808e9088bc3107860042 *./tests/data/ffvhuff.vsynth1.out.yuv +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth2/ffvhuff b/tests/ref/vsynth2/ffvhuff new file mode 100644 index 0000000..47fc659 --- /dev/null +++ b/tests/ref/vsynth2/ffvhuff @@ -0,0 +1,4 @@ +d31aab445b24f738df45fdd7479d6dd7 *./tests/data/vsynth2/ffvhuff.avi + 4988056 ./tests/data/vsynth2/ffvhuff.avi +dde5895817ad9d219f79a52d0bdfb001 *./tests/data/ffvhuff.vsynth2.out.yuv +stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200 -- 2.7.4