summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Vignali <martin.vignali@gmail.com>2017-01-11 21:51:36 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2017-01-14 04:52:43 +0100
commit1412e5a004eaa62f7ce4e222b0cb9e921ee233e2 (patch)
tree549d91758b04e4810170f8db52aff199b6331244 /tests
parent31e722e9da0bab02da91eeb7a27a3a458f66aaa5 (diff)
fate/psd : add test for bitmap and duotone
The duotone file is interpreted as gray Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak6
-rw-r--r--tests/ref/fate/psd-duo-tone-color6
-rw-r--r--tests/ref/fate/psd-lena-bitmap6
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index e9a3f28844..b299ea642d 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -312,6 +312,12 @@ fate-psd-lena-rgba-rle-128x128-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-
FATE_PSD += fate-psd-lena-256c
fate-psd-lena-256c: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-256c.psd
+FATE_PSD += fate-psd-lena-bitmap
+fate-psd-lena-bitmap: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-bitmap.psd
+
+FATE_PSD += fate-psd-duo-tone-color
+fate-psd-duo-tone-color: CMD = framecrc -i $(TARGET_SAMPLES)/psd/duotone-color.psd
+
FATE_PSD-$(call DEMDEC, IMAGE2, PSD) += $(FATE_PSD)
FATE_IMAGE += $(FATE_PSD-yes)
diff --git a/tests/ref/fate/psd-duo-tone-color b/tests/ref/fate/psd-duo-tone-color
new file mode 100644
index 0000000000..3490e005ea
--- /dev/null
+++ b/tests/ref/fate/psd-duo-tone-color
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 128x128
+#sar 0: 0/1
+0, 0, 0, 1, 16384, 0xe0cfa680
diff --git a/tests/ref/fate/psd-lena-bitmap b/tests/ref/fate/psd-lena-bitmap
new file mode 100644
index 0000000000..03725d5d3b
--- /dev/null
+++ b/tests/ref/fate/psd-lena-bitmap
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 128x128
+#sar 0: 0/1
+0, 0, 0, 1, 2048, 0x40a72c4f