diff mbox

[FFmpeg-devel] fate/psd : add test for 256 color psd file

Message ID CAJiLW2P71ikVUtps2fiDXqpJ9X1=qXzP9+S6tAcJwhjM3i2bfg@mail.gmail.com
State Accepted
Headers show

Commit Message

Martin Vignali Jan. 9, 2017, 10:08 p.m. UTC
Hello,

Sample can be found here :
https://we.tl/CX9svvyEdI

Patch in attach

Martin

Comments

Michael Niedermayer Jan. 10, 2017, 2:41 p.m. UTC | #1
On Mon, Jan 09, 2017 at 11:08:00PM +0100, Martin Vignali wrote:
> Hello,
> 
> Sample can be found here :
> https://we.tl/CX9svvyEdI

file uploaded

[...]
Michael Niedermayer Jan. 11, 2017, 10:50 p.m. UTC | #2
On Tue, Jan 10, 2017 at 03:41:19PM +0100, Michael Niedermayer wrote:
> On Mon, Jan 09, 2017 at 11:08:00PM +0100, Martin Vignali wrote:
> > Hello,
> > 
> > Sample can be found here :
> > https://we.tl/CX9svvyEdI
> 
> file uploaded

applied

thx

[...]
diff mbox

Patch

From bcf22f647ad41f3cbf1a8411dec0faf1ee5f933d Mon Sep 17 00:00:00 2001
From: Martin Vignali <martin.vignali@gmail.com>
Date: Mon, 9 Jan 2017 23:03:42 +0100
Subject: [PATCH] fate/psd : add test for 256 color

---
 tests/fate/image.mak         | 3 +++
 tests/ref/fate/psd-lena-256c | 6 ++++++
 2 files changed, 9 insertions(+)
 create mode 100644 tests/ref/fate/psd-lena-256c

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index 17c9245..e9a3f28 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -309,6 +309,9 @@  fate-psd-lena-rgb-rle-127x127-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-r
 FATE_PSD += fate-psd-lena-rgba-rle-128x128-8b
 fate-psd-lena-rgba-rle-128x128-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgba_rle_128x128_8b.psd
 
+FATE_PSD += fate-psd-lena-256c
+fate-psd-lena-256c: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-256c.psd
+
 FATE_PSD-$(call DEMDEC, IMAGE2, PSD) += $(FATE_PSD)
 
 FATE_IMAGE += $(FATE_PSD-yes)
diff --git a/tests/ref/fate/psd-lena-256c b/tests/ref/fate/psd-lena-256c
new file mode 100644
index 0000000..fdf1390
--- /dev/null
+++ b/tests/ref/fate/psd-lena-256c
@@ -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,    17408, 0x4d80bf4f
-- 
1.9.3 (Apple Git-50)