diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-07-23 21:04:50 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-08-04 12:57:39 +0100 |
commit | 086a541857812b2e0435db38fbabfddc7d19e53c (patch) | |
tree | fe48c9102bef2b7c0e8120caafb70f1b0c111bc6 /tests/fate/image.mak | |
parent | 60cbd6ad84de0931314030b81df87b69d6196587 (diff) | |
download | ffmpeg-086a541857812b2e0435db38fbabfddc7d19e53c.tar.gz |
fate: png-suite
Every supported format is converted to RGB.
Diffstat (limited to 'tests/fate/image.mak')
-rw-r--r-- | tests/fate/image.mak | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/fate/image.mak b/tests/fate/image.mak index b1ddce1ed2..f91ee6996f 100644 --- a/tests/fate/image.mak +++ b/tests/fate/image.mak @@ -59,6 +59,18 @@ fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24 FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/libav_4x_concat.png -pix_fmt rgba +define FATE_IMGSUITE_PNG +FATE_PNG += fate-png-$(1) +fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/libav_$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24 +endef + +PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba ya8 ya16 +$(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP)))) + +FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG) +FATE_SAMPLES_AVCONV += $(FATE_PNG-yes) +fate-png: $(FATE_PNG-yes) + FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PTX) += fate-ptx fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24 |