[FFmpeg-cvslog] regtests: add grayscale qtrle

Michael Niedermayer git at videolan.org
Thu May 12 00:22:18 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May 11 23:58:17 2011 +0200| [83630f79eca40e0d662ce157585a6f4c961c5c14] | committer: Michael Niedermayer

regtests: add grayscale qtrle

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh
index 95b99e3..5f4e539 100755
--- a/tests/codec-regression.sh
+++ b/tests/codec-regression.sh
@@ -263,6 +263,11 @@ do_video_encoding qtrle.mov "-an -vcodec qtrle"
 do_video_decoding "" "-pix_fmt yuv420p"
 fi
 
+if [ -n "$do_qtrlegray" ] ; then
+do_video_encoding qtrlegray.mov "-an -vcodec qtrle -pix_fmt gray"
+do_video_decoding "" "-pix_fmt yuv420p"
+fi
+
 if [ -n "$do_rgb" ] ; then
 do_video_encoding rgb.avi "-an -vcodec rawvideo -pix_fmt bgr24"
 do_video_decoding "" "-pix_fmt yuv420p"
diff --git a/tests/ref/vsynth1/qtrlegray b/tests/ref/vsynth1/qtrlegray
new file mode 100644
index 0000000..6866113
--- /dev/null
+++ b/tests/ref/vsynth1/qtrlegray
@@ -0,0 +1,4 @@
+0544350c00f33f21e29b5edd965c3f03 *./tests/data/vsynth1/qtrlegray.mov
+5113428 ./tests/data/vsynth1/qtrlegray.mov
+29def4aed035ed65d3a89f7d382fccbe *./tests/data/qtrlegray.vsynth1.out.yuv
+stddev:   25.95 PSNR: 19.85 MAXDIFF:  122 bytes:  7603200/  7603200
diff --git a/tests/ref/vsynth2/qtrlegray b/tests/ref/vsynth2/qtrlegray
new file mode 100644
index 0000000..8c7b98a
--- /dev/null
+++ b/tests/ref/vsynth2/qtrlegray
@@ -0,0 +1,4 @@
+55c6e5af44ece0621d1d4c91b282a544 *./tests/data/vsynth2/qtrlegray.mov
+5111417 ./tests/data/vsynth2/qtrlegray.mov
+f63b5ebdfdba750e547c25131b0a3fd1 *./tests/data/qtrlegray.vsynth2.out.yuv
+stddev:   19.42 PSNR: 22.36 MAXDIFF:   72 bytes:  7603200/  7603200



More information about the ffmpeg-cvslog mailing list