[FFmpeg-cvslog] fate/psd : add test for bitmap and duotone

Martin Vignali git at videolan.org
Sat Jan 14 05:53:25 EET 2017


ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Wed Jan 11 21:51:36 2017 +0100| [1412e5a004eaa62f7ce4e222b0cb9e921ee233e2] | committer: Michael Niedermayer

fate/psd : add test for bitmap and duotone

The duotone file is interpreted as gray

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1412e5a004eaa62f7ce4e222b0cb9e921ee233e2
---

 tests/fate/image.mak              | 6 ++++++
 tests/ref/fate/psd-duo-tone-color | 6 ++++++
 tests/ref/fate/psd-lena-bitmap    | 6 ++++++
 3 files changed, 18 insertions(+)

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index e9a3f28..b299ea6 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 0000000..3490e00
--- /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 0000000..03725d5
--- /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



More information about the ffmpeg-cvslog mailing list