[FFmpeg-cvslog] fate: Add a PICT test
Vittorio Giovara
git at videolan.org
Wed May 6 21:46:05 CEST 2015
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Sat Apr 18 17:25:22 2015 +0100| [d81fb63d87692765c004c19934b49427df434a07] | committer: Vittorio Giovara
fate: Add a PICT test
This stimulates the direct pixel mode in Quickdraw decoder.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d81fb63d87692765c004c19934b49427df434a07
---
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
More information about the ffmpeg-cvslog
mailing list