]> git.sesse.net Git - ffmpeg/commitdiff
fate/psd : add test for 256 color
authorMartin Vignali <martin.vignali@gmail.com>
Mon, 9 Jan 2017 22:03:42 +0000 (23:03 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Jan 2017 21:25:21 +0000 (22:25 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/image.mak
tests/ref/fate/psd-lena-256c [new file with mode: 0644]

index 17c9245f497a1d3a59ac5ef50c9a2eb660f3caa9..e9a3f28844d5c2bf8799dacef55da626284d00d7 100644 (file)
@@ -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-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)
 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 (file)
index 0000000..fdf1390
--- /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,    17408, 0x4d80bf4f