Browse Source

fate/psd : add test for bitmap and duotone

The duotone file is interpreted as gray

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Martin Vignali Michael Niedermayer 9 years ago
parent
commit
1412e5a004
3 changed files with 18 additions and 0 deletions
  1. +6
    -0
      tests/fate/image.mak
  2. +6
    -0
      tests/ref/fate/psd-duo-tone-color
  3. +6
    -0
      tests/ref/fate/psd-lena-bitmap

+ 6
- 0
tests/fate/image.mak View 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)


+ 6
- 0
tests/ref/fate/psd-duo-tone-color View File

@@ -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

+ 6
- 0
tests/ref/fate/psd-lena-bitmap View File

@@ -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

Loading…
Cancel
Save