[FFmpeg-cvslog] Add ffvhuff encoding and decoding regression test

Paul B Mahol git at videolan.org
Thu Mar 15 01:40:47 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Mar 14 20:15:34 2012 +0000| [92a02d935bb73b3d5e5dcae990ffdafc7262bbd6] | committer: Ronald S. Bultje

Add ffvhuff encoding and decoding regression test

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=92a02d935bb73b3d5e5dcae990ffdafc7262bbd6
---

 tests/codec-regression.sh |    5 +++++
 tests/ref/vsynth1/ffvhuff |    4 ++++
 tests/ref/vsynth2/ffvhuff |    4 ++++
 3 files changed, 13 insertions(+), 0 deletions(-)

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



More information about the ffmpeg-cvslog mailing list