2014-03-20 05:12:18 +03:00
|
|
|
FATE_ALIASPIX += fate-aliaspix-bgr
|
|
|
|
fate-aliaspix-bgr: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/first.pix -pix_fmt bgr24
|
|
|
|
|
|
|
|
FATE_ALIASPIX += fate-aliaspix-gray
|
|
|
|
fate-aliaspix-gray: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/firstgray.pix -pix_fmt gray
|
|
|
|
|
|
|
|
FATE_ALIASPIX-$(call DEMDEC, IMAGE2, ALIAS_PIX) += $(FATE_ALIASPIX)
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_ALIASPIX-yes)
|
|
|
|
fate-aliaspix: $(FATE_ALIASPIX-yes)
|
|
|
|
|
2014-03-27 02:52:13 +03:00
|
|
|
FATE_BRENDERPIX += fate-brenderpix-24
|
|
|
|
fate-brenderpix-24: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/sbwheel.pix
|
|
|
|
|
|
|
|
FATE_BRENDERPIX += fate-brenderpix-565
|
|
|
|
fate-brenderpix-565: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/maximafront.pix
|
|
|
|
|
|
|
|
FATE_BRENDERPIX += fate-brenderpix-defpal
|
2014-03-30 21:27:58 +03:00
|
|
|
fate-brenderpix-defpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/rivrock1.pix -pix_fmt rgb24
|
2014-03-27 02:52:13 +03:00
|
|
|
|
|
|
|
FATE_BRENDERPIX += fate-brenderpix-intpal
|
2014-03-30 21:27:58 +03:00
|
|
|
fate-brenderpix-intpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/testtex.pix -pix_fmt rgb24
|
2014-03-27 02:52:13 +03:00
|
|
|
|
|
|
|
FATE_BRENDERPIX += fate-brenderpix-y400a
|
|
|
|
fate-brenderpix-y400a: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/gears.pix
|
|
|
|
|
|
|
|
FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX) += $(FATE_BRENDERPIX)
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_BRENDERPIX-yes)
|
|
|
|
fate-brenderpix: $(FATE_BRENDERPIX-yes)
|
|
|
|
|
2014-03-17 17:30:05 +03:00
|
|
|
FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser
|
|
|
|
fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/libav_4x_concat.bmp -pix_fmt rgb24
|
|
|
|
|
2015-05-27 01:30:51 +02:00
|
|
|
define FATE_IMGSUITE_DDS
|
|
|
|
FATE_DDS += fate-dds-$(1)
|
2015-06-30 21:35:44 +02:00
|
|
|
fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/libav_$(1).dds $(DDS_OPTS_$(1))
|
2015-05-27 01:30:51 +02:00
|
|
|
endef
|
|
|
|
|
2015-06-30 21:35:44 +02:00
|
|
|
DDS_OPTS_pal = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
|
|
|
|
DDS_OPTS_pal-ati = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
|
2015-05-27 01:30:51 +02:00
|
|
|
DDS_FMT = argb argb-aexp dx10-bc1 dx10-bc1a dx10-bc2 dx10-bc3 dx10-bc4 dx10-bc5 dxt1 dxt1a dxt1-normalmap dxt2 dxt3 dxt4 dxt5 dxt5-aexp dxt5-normalmap dxt5-normalmap-ati dxt5-rbxg dxt5-rgxb dxt5-rxbg dxt5-rxgb dxt5-xgbr dxt5-xgxr dxt5-xrbg dxt5-ycocg dxt5-ycocg-scaled pal pal-ati rgb16 rgb24 rgtc1s rgtc1u rgtc2s rgtc2u rgtc2u-xy uyvy xbgr xrgb y ya ycocg yuyv
|
|
|
|
$(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT))))
|
|
|
|
|
|
|
|
FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS)
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_DDS-yes)
|
|
|
|
fate-dds: $(FATE_DDS-yes)
|
|
|
|
|
2012-11-28 21:33:19 +03:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2014-12-01 17:20:10 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
|
2014-12-29 00:20:08 +02:00
|
|
|
fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/libav_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
|
2014-12-01 17:20:10 +02:00
|
|
|
|
2013-02-25 00:51:31 +03:00
|
|
|
FATE_EXR += fate-exr-slice-raw
|
|
|
|
fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
|
|
|
|
|
|
|
|
FATE_EXR += fate-exr-slice-rle
|
|
|
|
fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
|
|
|
|
|
|
|
|
FATE_EXR += fate-exr-slice-zip1
|
|
|
|
fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
|
|
|
|
|
|
|
|
FATE_EXR += fate-exr-slice-zip16
|
|
|
|
fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
|
|
|
|
|
|
|
|
FATE_EXR += fate-exr-slice-pxr24
|
|
|
|
fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
|
|
|
|
|
|
|
|
FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_EXR-yes)
|
|
|
|
fate-exr: $(FATE_EXR-yes)
|
|
|
|
|
2015-04-18 18:25:22 +02:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
|
|
|
|
fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
|
|
|
|
|
2012-11-28 21:33:19 +03:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
|
2015-04-18 18:25:21 +02:00
|
|
|
fate-pictor: CMD = framecrc -c pictor -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2013-12-11 12:40:13 +03:00
|
|
|
FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
|
2013-12-18 19:27:07 +03:00
|
|
|
fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/libav_4x_concat.png -pix_fmt rgba
|
2013-12-11 12:40:13 +03:00
|
|
|
|
2014-07-23 23:04:50 +03:00
|
|
|
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)
|
|
|
|
|
2012-11-28 21:33:19 +03:00
|
|
|
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2014-03-13 02:29:23 +03:00
|
|
|
FATE_SGI += fate-sgi-gray
|
|
|
|
fate-sgi-gray: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_gray.sgi -pix_fmt gray
|
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-gray16
|
2014-04-01 09:50:09 +03:00
|
|
|
fate-sgi-gray16: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_gray16.sgi -pix_fmt gray16le
|
2014-03-13 02:29:23 +03:00
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-rgb24
|
|
|
|
fate-sgi-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgb24.sgi -pix_fmt rgb24
|
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-rgb24-rle
|
|
|
|
fate-sgi-rgb24-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb24_rle.sgi -pix_fmt rgb24
|
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-rgb48
|
|
|
|
fate-sgi-rgb48: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgb48.sgi -pix_fmt rgb48be
|
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-rgb48-rle
|
|
|
|
fate-sgi-rgb48-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb48_rle.sgi -pix_fmt rgb48be
|
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-rgba
|
|
|
|
fate-sgi-rgba: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgba.sgi -pix_fmt rgba
|
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-rgba64
|
|
|
|
fate-sgi-rgba64: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgba64.sgi -pix_fmt rgba64be
|
|
|
|
|
|
|
|
FATE_SGI += fate-sgi-rgba64-rle
|
|
|
|
fate-sgi-rgba64-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/maya_rgba64_rle.sgi -pix_fmt rgba64be
|
|
|
|
|
|
|
|
FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_SGI-yes)
|
|
|
|
fate-sgi: $(FATE_SGI-yes)
|
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_SUNRASTER += fate-sunraster-1bit-raw
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_SUNRASTER += fate-sunraster-1bit-rle
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_SUNRASTER += fate-sunraster-8bit-raw
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2012-02-12 20:48:49 +03:00
|
|
|
FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
|
2012-02-12 20:48:49 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_SUNRASTER += fate-sunraster-8bit-rle
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_SUNRASTER += fate-sunraster-24bit-raw
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
|
2011-12-14 18:25:00 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_SUNRASTER += fate-sunraster-24bit-rle
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
|
2012-01-12 04:06:46 +03:00
|
|
|
|
2012-11-28 21:33:19 +03:00
|
|
|
FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_SUNRASTER-yes)
|
|
|
|
fate-sunraster: $(FATE_SUNRASTER-yes)
|
2012-01-11 15:42:17 +03:00
|
|
|
|
2012-01-12 04:06:46 +03:00
|
|
|
FATE_TARGA = CBW8 \
|
2012-01-14 00:41:15 +03:00
|
|
|
CCM8 \
|
2012-01-12 04:06:46 +03:00
|
|
|
CTC16 \
|
|
|
|
CTC24 \
|
|
|
|
CTC32 \
|
|
|
|
UBW8 \
|
2012-01-14 00:41:15 +03:00
|
|
|
UCM8 \
|
2012-01-12 04:06:46 +03:00
|
|
|
UTC16 \
|
|
|
|
UTC24 \
|
|
|
|
UTC32
|
|
|
|
|
|
|
|
FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%) \
|
|
|
|
fate-targa-top-to-bottom
|
|
|
|
|
2012-11-28 21:33:19 +03:00
|
|
|
FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_TARGA-yes)
|
|
|
|
fate-targa: $(FATE_TARGA-yes)
|
2012-01-12 04:06:46 +03:00
|
|
|
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-targa-conformance-CBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA
|
|
|
|
fate-targa-conformance-CCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA -pix_fmt rgba
|
|
|
|
fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le
|
|
|
|
fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA
|
|
|
|
fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra
|
|
|
|
fate-targa-conformance-UBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA
|
|
|
|
fate-targa-conformance-UCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA -pix_fmt rgba
|
|
|
|
fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le
|
|
|
|
fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA
|
|
|
|
fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
|
2012-01-12 04:06:46 +03:00
|
|
|
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
|
2012-01-11 15:37:29 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_TIFF += fate-tiff-fax-g3
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
|
2012-01-11 15:37:29 +03:00
|
|
|
|
2012-01-11 15:42:17 +03:00
|
|
|
FATE_TIFF += fate-tiff-fax-g3s
|
2013-05-20 01:55:32 +03:00
|
|
|
fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
|
2012-01-11 15:42:17 +03:00
|
|
|
|
2012-11-28 21:33:19 +03:00
|
|
|
FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_TIFF-yes)
|
|
|
|
fate-tiff: $(FATE_TIFF-yes)
|
2014-03-17 03:24:30 +03:00
|
|
|
|
|
|
|
FATE_XBM += fate-xbm10
|
|
|
|
fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
|
|
|
|
|
|
|
|
FATE_XBM += fate-xbm11
|
|
|
|
fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
|
|
|
|
|
|
|
|
FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_XBM-yes)
|
|
|
|
fate-xbm: $(FATE_XBM-yes)
|