OSDN Git Service

regtests: add grayscale qtrle
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 11 May 2011 21:58:17 +0000 (23:58 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 11 May 2011 22:19:32 +0000 (00:19 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/codec-regression.sh
tests/ref/vsynth1/qtrlegray [new file with mode: 0644]
tests/ref/vsynth2/qtrlegray [new file with mode: 0644]

index 95b99e3..5f4e539 100755 (executable)
@@ -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 (file)
index 0000000..6866113
--- /dev/null
@@ -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 (file)
index 0000000..8c7b98a
--- /dev/null
@@ -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