]> git.sesse.net Git - ffmpeg/commitdiff
fate/psd : add test for bitmap and duotone
authorMartin Vignali <martin.vignali@gmail.com>
Wed, 11 Jan 2017 20:51:36 +0000 (21:51 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Jan 2017 03:52:43 +0000 (04:52 +0100)
The duotone file is interpreted as gray

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/image.mak
tests/ref/fate/psd-duo-tone-color [new file with mode: 0644]
tests/ref/fate/psd-lena-bitmap [new file with mode: 0644]

index e9a3f28844d5c2bf8799dacef55da626284d00d7..b299ea642d4189d1b520ef134ebeb8aa534f2436 100644 (file)
@@ -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 (file)
index 0000000..3490e00
--- /dev/null
@@ -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 (file)
index 0000000..03725d5
--- /dev/null
@@ -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