summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-18 17:25:22 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-05-06 14:36:01 +0100
commitd81fb63d87692765c004c19934b49427df434a07 (patch)
treec8c70ba868a4a4fe95735eb51e5e54140563352c /tests
parent7b734ee55dbb8476d7ad63c7daf55c534cf82d5d (diff)
fate: Add a PICT test
This stimulates the direct pixel mode in Quickdraw decoder.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/image.mak3
-rw-r--r--tests/ref/fate/pict2
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index f652fea250..807b118aeb 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -56,6 +56,9 @@ FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
FATE_SAMPLES_AVCONV += $(FATE_EXR-yes)
fate-exr: $(FATE_EXR-yes)
+FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
+fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
+
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
fate-pictor: CMD = framecrc -c pictor -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
diff --git a/tests/ref/fate/pict b/tests/ref/fate/pict
new file mode 100644
index 0000000000..0b764fc41f
--- /dev/null
+++ b/tests/ref/fate/pict
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0, 0, 0, 1, 49152, 0x144804b0