Module: libav
Branch: master
Commit: d81fb63d87692765c004c19934b49427df434a07

Author:    Vittorio Giovara <[email protected]>
Committer: Vittorio Giovara <[email protected]>
Date:      Sat Apr 18 17:25:22 2015 +0100

fate: Add a PICT test

This stimulates the direct pixel mode in Quickdraw decoder.

---

 tests/fate/image.mak |    3 +++
 tests/ref/fate/pict  |    2 ++
 2 files changed, 5 insertions(+)

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index f652fea..807b118 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 0000000..0b764fc
--- /dev/null
+++ b/tests/ref/fate/pict
@@ -0,0 +1,2 @@
+#tb 0: 1/25
+0,          0,          0,        1,    49152, 0x144804b0

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to