aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-02-12 17:48:49 +0000
committerJanne Grunau <janne-libav@jannau.net>2012-02-13 22:29:22 +0100
commit186dcbcb50653a7e7c49e7eda3b44734e074db3c (patch)
tree1f8a2ffc45e5d9e20aee1f66461e2ba8dcfa9d0b
parent7dfe8f55575a3ae0fdd6f0678fa9627122580b07 (diff)
downloadffmpeg-186dcbcb50653a7e7c49e7eda3b44734e074db3c.tar.gz
sunrast: Add fate test for gray8.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-rw-r--r--tests/fate/image.mak3
-rw-r--r--tests/ref/fate/sunraster-8bit_gray-raw2
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 1d3dbc10e9..dc78302e63 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -16,6 +16,9 @@ fate-sunraster-1bit-rle: CMD = framecrc -i $(SAMPLES)/sunraster/lena-1bit-rle.su
FATE_SUNRASTER += fate-sunraster-8bit-raw
fate-sunraster-8bit-raw: CMD = framecrc -i $(SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
+FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
+fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(SAMPLES)/sunraster/gray.ras
+
FATE_SUNRASTER += fate-sunraster-8bit-rle
fate-sunraster-8bit-rle: CMD = framecrc -i $(SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
diff --git a/tests/ref/fate/sunraster-8bit_gray-raw b/tests/ref/fate/sunraster-8bit_gray-raw
new file mode 100644
index 0000000000..455af5f612
--- /dev/null
+++ b/tests/ref/fate/sunraster-8bit_gray-raw
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 786432, 0x5859b48e