From 83630f79eca40e0d662ce157585a6f4c961c5c14 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 11 May 2011 23:58:17 +0200 Subject: [PATCH] regtests: add grayscale qtrle Signed-off-by: Michael Niedermayer --- tests/codec-regression.sh | 5 +++++ tests/ref/vsynth1/qtrlegray | 4 ++++ tests/ref/vsynth2/qtrlegray | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 tests/ref/vsynth1/qtrlegray create mode 100644 tests/ref/vsynth2/qtrlegray diff --git a/tests/codec-regression.sh b/tests/codec-regression.sh index 95b99e351a..5f4e539381 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 0000000000..686611394e --- /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 0000000000..8c7b98a4bd --- /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