2014-03-20 03:12:18 +01: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)
|
2014-03-27 01:59:32 +01:00
|
|
|
FATE_IMAGE += $(FATE_ALIASPIX-yes)
|
2014-03-20 03:12:18 +01:00
|
|
|
fate-aliaspix: $(FATE_ALIASPIX-yes)
|
|
|
|
|
2014-03-27 00:52:13 +01: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 20:27:58 +02:00
|
|
|
fate-brenderpix-defpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/rivrock1.pix -pix_fmt rgb24
|
2014-03-27 00:52:13 +01:00
|
|
|
|
|
|
|
FATE_BRENDERPIX += fate-brenderpix-intpal
|
2014-03-30 20:27:58 +02:00
|
|
|
fate-brenderpix-intpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/testtex.pix -pix_fmt rgb24
|
2014-03-27 00:52:13 +01: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)
|
2014-03-27 21:32:38 +01:00
|
|
|
FATE_IMAGE += $(FATE_BRENDERPIX-yes)
|
2014-03-27 00:52:13 +01:00
|
|
|
fate-brenderpix: $(FATE_BRENDERPIX-yes)
|
|
|
|
|
2014-03-28 11:32:51 +01:00
|
|
|
FATE_IMAGE-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser
|
|
|
|
fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/numbers.bmp -pix_fmt rgb24
|
2014-03-17 15:30:05 +01:00
|
|
|
|
2015-05-27 01:30:51 +02:00
|
|
|
define FATE_IMGSUITE_DDS
|
|
|
|
FATE_DDS += fate-dds-$(1)
|
2015-07-01 03:03:20 +02:00
|
|
|
fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/fate_$(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-07-21 00:47:14 +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 rgba rgtc1s rgtc1u rgtc2s rgtc2u rgtc2u-xy uyvy xbgr xrgb y ya ycocg yuyv
|
2015-05-27 01:30:51 +02:00
|
|
|
$(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT))))
|
|
|
|
|
|
|
|
FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS)
|
2015-06-22 23:24:10 +02:00
|
|
|
FATE_IMAGE += $(FATE_DDS-yes)
|
2015-05-27 01:30:51 +02:00
|
|
|
fate-dds: $(FATE_DDS-yes)
|
|
|
|
|
2012-12-07 15:21:41 +01:00
|
|
|
FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2014-12-01 16:20:10 +01:00
|
|
|
FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
|
2014-12-30 01:44:08 +01:00
|
|
|
fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
|
2014-12-01 16:20:10 +01:00
|
|
|
|
2013-02-24 22:51:31 +01:00
|
|
|
FATE_EXR += fate-exr-slice-raw
|
2013-05-29 04:17:29 +02:00
|
|
|
fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
|
2013-02-24 22:51:31 +01:00
|
|
|
|
|
|
|
FATE_EXR += fate-exr-slice-rle
|
2013-05-29 04:17:29 +02:00
|
|
|
fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
|
2013-02-24 22:51:31 +01:00
|
|
|
|
|
|
|
FATE_EXR += fate-exr-slice-zip1
|
2013-05-29 04:17:29 +02:00
|
|
|
fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
|
2013-02-24 22:51:31 +01:00
|
|
|
|
|
|
|
FATE_EXR += fate-exr-slice-zip16
|
2013-05-29 04:17:29 +02:00
|
|
|
fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
|
2013-02-24 22:51:31 +01:00
|
|
|
|
2013-10-13 22:37:07 +02:00
|
|
|
FATE_EXR += fate-exr-slice-pxr24
|
|
|
|
fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
|
|
|
|
|
2013-02-24 22:51:31 +01:00
|
|
|
FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
|
|
|
|
|
|
|
|
FATE_IMAGE += $(FATE_EXR-yes)
|
|
|
|
fate-exr: $(FATE_EXR-yes)
|
|
|
|
|
2015-05-06 21:21:00 +02:00
|
|
|
FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
|
2015-04-18 18:25:22 +02:00
|
|
|
fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
|
|
|
|
|
2012-12-07 15:21:41 +01:00
|
|
|
FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2013-12-17 18:16:26 +01:00
|
|
|
FATE_IMAGE-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
|
2013-12-19 03:18:07 +01:00
|
|
|
fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba
|
2013-12-11 10:40:13 +01:00
|
|
|
|
2014-07-23 22:04:50 +02:00
|
|
|
define FATE_IMGSUITE_PNG
|
|
|
|
FATE_PNG += fate-png-$(1)
|
2014-08-05 00:43:06 +02:00
|
|
|
fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
|
2014-07-23 22:04:50 +02:00
|
|
|
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)
|
2014-08-05 00:43:06 +02:00
|
|
|
FATE_IMAGE += $(FATE_PNG-yes)
|
2014-07-23 22:04:50 +02:00
|
|
|
fate-png: $(FATE_PNG-yes)
|
|
|
|
|
2012-12-07 15:21:41 +01:00
|
|
|
FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2015-11-20 02:17:35 +01:00
|
|
|
define FATE_IMGSUITE_SGI
|
|
|
|
FATE_SGI += fate-sgi-$(1) fate-sgi-$(1)-rle
|
|
|
|
fate-sgi-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1).sgi -sws_flags +accurate_rnd+bitexact
|
|
|
|
fate-sgi-$(1)-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1)_rle.sgi -sws_flags +accurate_rnd+bitexact
|
|
|
|
endef
|
2014-03-13 00:29:23 +01:00
|
|
|
|
2015-11-20 02:17:35 +01:00
|
|
|
SGI_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64
|
|
|
|
$(foreach CLSP,$(SGI_COLORSPACES),$(eval $(call FATE_IMGSUITE_SGI,$(CLSP))))
|
2014-03-13 00:29:23 +01:00
|
|
|
|
|
|
|
FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
|
2015-06-23 01:46:13 +02:00
|
|
|
FATE_IMAGE += $(FATE_SGI-yes)
|
2014-03-13 00:29:23 +01:00
|
|
|
fate-sgi: $(FATE_SGI-yes)
|
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_SUNRASTER += fate-sunraster-1bit-raw
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_SUNRASTER += fate-sunraster-1bit-rle
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_SUNRASTER += fate-sunraster-8bit-raw
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2012-02-12 18:48:49 +01:00
|
|
|
FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
|
2012-02-12 18:48:49 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_SUNRASTER += fate-sunraster-8bit-rle
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_SUNRASTER += fate-sunraster-24bit-raw
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
|
2011-12-14 16:25:00 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_SUNRASTER += fate-sunraster-24bit-rle
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
|
2012-01-12 02:06:46 +01:00
|
|
|
|
2012-11-28 19:33:19 +01:00
|
|
|
FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
|
|
|
|
|
2012-12-07 15:21:41 +01:00
|
|
|
FATE_IMAGE += $(FATE_SUNRASTER-yes)
|
2012-11-28 19:33:19 +01:00
|
|
|
fate-sunraster: $(FATE_SUNRASTER-yes)
|
2012-01-12 02:06:46 +01:00
|
|
|
|
|
|
|
FATE_TARGA = CBW8 \
|
2012-01-13 22:41:15 +01:00
|
|
|
CCM8 \
|
2012-01-12 02:06:46 +01:00
|
|
|
CTC16 \
|
|
|
|
CTC24 \
|
|
|
|
CTC32 \
|
|
|
|
UBW8 \
|
2012-01-13 22:41:15 +01:00
|
|
|
UCM8 \
|
2012-01-12 02:06:46 +01:00
|
|
|
UTC16 \
|
|
|
|
UTC24 \
|
|
|
|
UTC32
|
|
|
|
|
|
|
|
FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%) \
|
|
|
|
fate-targa-top-to-bottom
|
|
|
|
|
2012-11-28 19:33:19 +01:00
|
|
|
FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
|
|
|
|
|
2012-12-07 15:21:41 +01:00
|
|
|
FATE_IMAGE += $(FATE_TARGA-yes)
|
2012-11-28 19:33:19 +01:00
|
|
|
fate-targa: $(FATE_TARGA-yes)
|
2012-01-12 02:06:46 +01:00
|
|
|
|
2013-05-20 00:55:32 +02: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 02:06:46 +01:00
|
|
|
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
|
2012-01-11 13:37:29 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_TIFF += fate-tiff-fax-g3
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
|
2012-01-11 13:37:29 +01:00
|
|
|
|
2012-01-11 13:42:17 +01:00
|
|
|
FATE_TIFF += fate-tiff-fax-g3s
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
|
2012-01-11 13:42:17 +01:00
|
|
|
|
2012-11-28 19:33:19 +01:00
|
|
|
FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
|
|
|
|
|
2012-12-07 15:21:41 +01:00
|
|
|
FATE_IMAGE += $(FATE_TIFF-yes)
|
2012-11-28 19:33:19 +01:00
|
|
|
fate-tiff: $(FATE_TIFF-yes)
|
2012-01-20 02:14:54 +01:00
|
|
|
|
2013-03-05 12:39:55 +01:00
|
|
|
FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
|
2013-05-29 04:17:29 +02:00
|
|
|
fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
|
2012-10-13 18:43:39 +02:00
|
|
|
|
2014-03-17 01:24:30 +01: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)
|
2014-03-28 05:49:22 +01:00
|
|
|
FATE_IMAGE += $(FATE_XBM-yes)
|
2014-03-17 01:24:30 +01:00
|
|
|
fate-xbm: $(FATE_XBM-yes)
|
2014-03-28 05:49:22 +01:00
|
|
|
|
2012-12-07 15:21:41 +01:00
|
|
|
FATE_IMAGE += $(FATE_IMAGE-yes)
|
|
|
|
|
2012-05-20 00:25:36 +02:00
|
|
|
FATE_SAMPLES_FFMPEG += $(FATE_IMAGE)
|
2012-01-20 02:14:54 +01:00
|
|
|
fate-image: $(FATE_IMAGE)
|