summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-03-14 20:15:34 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2012-03-14 13:24:17 -0700
commit92a02d935bb73b3d5e5dcae990ffdafc7262bbd6 (patch)
treee10ef18231ca0a00875fc660d8dda5a7c339afca
parent5b4d026a030a775f0bd287e3a27188e8b5c9009f (diff)
Add ffvhuff encoding and decoding regression test
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-rwxr-xr-xtests/codec-regression.sh5
-rw-r--r--tests/ref/vsynth1/ffvhuff4
-rw-r--r--tests/ref/vsynth2/ffvhuff4
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 6a1dee6e2d..cef3d443a2 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 0000000000..4a1ebdb1a3
--- /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 0000000000..47fc6597d7
--- /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