1FATE_ALIASPIX += fate-aliaspix-bgr 2fate-aliaspix-bgr: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/first.pix -pix_fmt bgr24 3 4FATE_ALIASPIX += fate-aliaspix-gray 5fate-aliaspix-gray: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/firstgray.pix -pix_fmt gray 6 7FATE_ALIASPIX-$(call DEMDEC, IMAGE2, ALIAS_PIX) += $(FATE_ALIASPIX) 8FATE_IMAGE += $(FATE_ALIASPIX-yes) 9fate-aliaspix: $(FATE_ALIASPIX-yes) 10 11FATE_BRENDERPIX += fate-brenderpix-24 12fate-brenderpix-24: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/sbwheel.pix 13 14FATE_BRENDERPIX += fate-brenderpix-565 15fate-brenderpix-565: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/maximafront.pix 16 17FATE_BRENDERPIX += fate-brenderpix-defpal 18fate-brenderpix-defpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/rivrock1.pix -pix_fmt rgb24 19 20FATE_BRENDERPIX += fate-brenderpix-intpal 21fate-brenderpix-intpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/testtex.pix -pix_fmt rgb24 22 23FATE_BRENDERPIX += fate-brenderpix-y400a 24fate-brenderpix-y400a: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/gears.pix 25 26FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX) += $(FATE_BRENDERPIX) 27FATE_IMAGE += $(FATE_BRENDERPIX-yes) 28fate-brenderpix: $(FATE_BRENDERPIX-yes) 29 30FATE_IMAGE-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser 31fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/numbers.bmp -pix_fmt rgb24 32 33define FATE_IMGSUITE_DDS 34FATE_DDS += fate-dds-$(1) 35fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/fate_$(1).dds $(DDS_OPTS_$(1)) 36endef 37 38DDS_OPTS_pal = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba 39DDS_OPTS_pal-ati = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba 40DDS_FMT = alpha8 \ 41 argb \ 42 argb-aexp \ 43 dx10-bc1 \ 44 dx10-bc1a \ 45 dx10-bc2 \ 46 dx10-bc3 \ 47 dx10-bc4 \ 48 dx10-bc5 \ 49 dxt1 \ 50 dxt1a \ 51 dxt1-normalmap \ 52 dxt2 \ 53 dxt3 \ 54 dxt4 \ 55 dxt5 \ 56 dxt5-aexp \ 57 dxt5-normalmap \ 58 dxt5-normalmap-ati \ 59 dxt5-rbxg \ 60 dxt5-rgxb \ 61 dxt5-rxbg \ 62 dxt5-rxgb \ 63 dxt5-xgbr \ 64 dxt5-xgxr \ 65 dxt5-xrbg \ 66 dxt5-ycocg \ 67 dxt5-ycocg-scaled \ 68 monob \ 69 pal \ 70 pal-ati \ 71 rgb1555 \ 72 rgb16 \ 73 rgb24 \ 74 rgb555 \ 75 rgba \ 76 rgtc1s \ 77 rgtc1u \ 78 rgtc2s \ 79 rgtc2u \ 80 rgtc2u-xy \ 81 uyvy \ 82 xbgr \ 83 xrgb \ 84 y \ 85 ya \ 86 ycocg \ 87 yuyv 88$(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT)))) 89 90FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS) 91FATE_IMAGE += $(FATE_DDS-yes) 92fate-dds: $(FATE_DDS-yes) 93 94FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx 95fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx 96 97FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser 98fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact 99 100FATE_EXR += fate-exr-slice-raw 101fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le 102 103FATE_EXR += fate-exr-slice-rle 104fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le 105 106FATE_EXR += fate-exr-slice-zip1 107fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le 108 109FATE_EXR += fate-exr-slice-zip16 110fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le 111 112FATE_EXR += fate-exr-slice-pxr24 113fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le 114 115FATE_EXR += fate-exr-rgb-scanline-pxr24-float-12x8 116fate-exr-rgb-scanline-pxr24-float-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_12x8.exr -pix_fmt rgb48le 117 118FATE_EXR += fate-exr-rgba-multiscanline-half-b44 119fate-exr-rgba-multiscanline-half-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_multiscanline_half_b44.exr -pix_fmt rgba64le 120 121FATE_EXR += fate-exr-rgb-scanline-float-b44 122fate-exr-rgb-scanline-float-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_b44.exr -pix_fmt rgb48le 123 124FATE_EXR += fate-exr-rgb-scanline-half-b44-12x8 125fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_12x8.exr -pix_fmt rgb48le 126 127FATE_EXR += fate-exr-rgb-scanline-half-b44-13x9 128fate-exr-rgb-scanline-half-b44-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_13x9.exr -pix_fmt rgb48le 129 130FATE_EXR += fate-exr-rgb-tile-float-raw-12x8 131fate-exr-rgb-tile-float-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_12x8.exr -pix_fmt rgb48le 132 133FATE_EXR += fate-exr-rgb-tile-float-raw-150x130 134fate-exr-rgb-tile-float-raw-150x130: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_150x130.exr -pix_fmt rgb48le 135 136FATE_EXR += fate-exr-rgb-tile-half-raw-12x8 137fate-exr-rgb-tile-half-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_raw_12x8.exr -pix_fmt rgb48le 138 139FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l1 140fate-exr-rgba-scanline-float-half-b44-13x9-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_13x9.exr -pix_fmt rgba64le 141 142FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l2 143fate-exr-rgba-scanline-float-half-b44-13x9-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_13x9.exr -pix_fmt rgba64le 144 145FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l1 146fate-exr-rgba-scanline-float-half-b44-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_12x8.exr -pix_fmt rgba64le 147 148FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l2 149fate-exr-rgba-scanline-float-half-b44-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_12x8.exr -pix_fmt rgba64le 150 151FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l1 152fate-exr-rgba-scanline-float-half-b44a-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_12x8.exr -pix_fmt rgba64le 153 154FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l2 155fate-exr-rgba-scanline-float-half-b44a-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_12x8.exr -pix_fmt rgba64le 156 157FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l1 158fate-exr-rgba-scanline-float-half-b44a-13x9-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_13x9.exr -pix_fmt rgba64le 159 160FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l2 161fate-exr-rgba-scanline-float-half-b44a-13x9-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_13x9.exr -pix_fmt rgba64le 162 163FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l1 164fate-exr-rgb-tile-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float_half.exr -pix_fmt rgb48le 165 166FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l2 167fate-exr-rgb-tile-pxr24-float-half-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float_half.exr -pix_fmt rgba64le 168 169FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l1 170fate-exr-rgb-tile-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_half_float.exr -pix_fmt rgb48le 171 172FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l2 173fate-exr-rgb-tile-pxr24-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_half_float.exr -pix_fmt rgba64le 174 175FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l1 176fate-exr-rgb-tile-half-float-b44-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_float_b44_12x8.exr -pix_fmt rgb48le 177 178FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l2 179fate-exr-rgb-tile-half-float-b44-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_half_float_b44_12x8.exr -pix_fmt rgba64le 180 181FATE_EXR += fate-exr-rgb-tile-zip-half-float-l1 182fate-exr-rgb-tile-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip_half_float.exr -pix_fmt rgb48le 183 184FATE_EXR += fate-exr-rgb-tile-zip-half-float-l2 185fate-exr-rgb-tile-zip-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_zip_half_float.exr -pix_fmt rgba64le 186 187FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l1 188fate-exr-rgb-tile-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip1_half_float.exr -pix_fmt rgb48le 189 190FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l2 191fate-exr-rgb-tile-zip1-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_zip1_half_float.exr -pix_fmt rgba64le 192 193FATE_EXR += fate-exr-rgb-tile-rle-half-float-l1 194fate-exr-rgb-tile-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_rle_half_float.exr -pix_fmt rgb48le 195 196FATE_EXR += fate-exr-rgb-tile-rle-half-float-l2 197fate-exr-rgb-tile-rle-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_rle_half_float.exr -pix_fmt rgba64le 198 199FATE_EXR += fate-exr-rgb-tile-raw-half-float-l1 200fate-exr-rgb-tile-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_raw_half_float.exr -pix_fmt rgb48le 201 202FATE_EXR += fate-exr-rgb-tile-raw-half-float-l2 203fate-exr-rgb-tile-raw-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_raw_half_float.exr -pix_fmt rgba64le 204 205FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l1 206fate-exr-rgb-scanline-b44-half-float-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_half_float_12x8.exr -pix_fmt rgb48le 207 208FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l2 209fate-exr-rgb-scanline-b44-half-float-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_half_float_12x8.exr -pix_fmt rgba64le 210 211FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l1 212fate-exr-rgb-scanline-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_float.exr -pix_fmt rgb48le 213 214FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l2 215fate-exr-rgb-scanline-pxr24-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_float.exr -pix_fmt rgba64le 216 217FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l1 218fate-exr-rgb-scanline-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_half.exr -pix_fmt rgb48le 219 220FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l2 221fate-exr-rgb-scanline-pxr24-float-half-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_half.exr -pix_fmt rgba64le 222 223FATE_EXR += fate-exr-rgb-scanline-pxr24-half-uint32-13x9 224fate-exr-rgb-scanline-pxr24-half-uint32-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_uint32_13x9.exr -pix_fmt rgb48le 225 226FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l1 227fate-exr-rgb-scanline-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float.exr -pix_fmt rgb48le 228 229FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l2 230fate-exr-rgb-scanline-zip-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float.exr -pix_fmt rgba64le 231 232FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1 233fate-exr-rgb-scanline-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float.exr -pix_fmt rgb48le 234 235FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l2 236fate-exr-rgb-scanline-zip1-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float.exr -pix_fmt rgba64le 237 238FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l1 239fate-exr-rgb-scanline-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_rle_half_float.exr -pix_fmt rgb48le 240 241FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l2 242fate-exr-rgb-scanline-rle-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_rle_half_float.exr -pix_fmt rgba64le 243 244FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l1 245fate-exr-rgb-scanline-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -pix_fmt rgb48le 246 247FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l2 248fate-exr-rgb-scanline-raw-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -pix_fmt rgba64le 249 250FATE_EXR += fate-exr-rgb-scanline-b44-uint32 251fate-exr-rgb-scanline-b44-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_uint32.exr -pix_fmt rgb48le 252 253FATE_EXR += fate-exr-rgb-scanline-pxr24-uint32 254fate-exr-rgb-scanline-pxr24-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_uint32.exr -pix_fmt rgb48le 255 256FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets 257fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float_zero_offsets.exr -pix_fmt rgb48le 258 259FATE_EXR += fate-exr-rgb-scanline-half-piz-bw 260fate-exr-rgb-scanline-half-piz-bw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_bw.exr -pix_fmt rgb48le 261 262FATE_EXR += fate-exr-rgb-scanline-half-piz-color 263fate-exr-rgb-scanline-half-piz-color: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_color.exr -pix_fmt rgb48le 264 265FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t01 266fate-exr-rgb-scanline-half-piz-dw-t01: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t01.exr -pix_fmt rgb48le 267 268FATE_EXR += fate-exr-rgb-scanline-float-piz-48x32 269fate-exr-rgb-scanline-float-piz-48x32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_piz_48x32.exr -pix_fmt rgb48le 270 271FATE_EXR += fate-exr-rgb-scanline-none-negative-red 272fate-exr-rgb-scanline-none-negative-red: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_none_negative_red.exr -pix_fmt rgb48le 273 274 275FATE_EXR += fate-exr-rgb-b44a-half-negative-4x4 276fate-exr-rgb-b44a-half-negative-4x4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_b44a_half_negative_4x4.exr -pix_fmt rgb48le 277 278FATE_EXR += fate-exr-y-tile-zip-half-12x8 279fate-exr-y-tile-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_tile_zip_half_12x8.exr -pix_fmt gray16le 280 281FATE_EXR += fate-exr-y-scanline-zip-half-12x8 282fate-exr-y-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_scanline_zip_half_12x8.exr -pix_fmt gray16le 283 284FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t08 285fate-exr-rgb-scanline-half-piz-dw-t08: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t08.exr -pix_fmt rgb48le 286 287FATE_EXR += fate-exr-rgba-zip16-16x32-flag4 288fate-exr-rgba-zip16-16x32-flag4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_zip16_16x32_flag4.exr -pix_fmt rgba64le 289 290FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR) 291 292FATE_IMAGE += $(FATE_EXR-yes) 293fate-exr: $(FATE_EXR-yes) 294 295FATE_JPG += fate-jpg-12bpp 296fate-jpg-12bpp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/12bpp.jpg -f rawvideo -pix_fmt gray16le -vf setsar=sar=sar 297 298FATE_JPG += fate-jpg-jfif 299fate-jpg-jfif: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/20242.jpg 300 301FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG) += $(FATE_JPG) 302FATE_IMAGE += $(FATE_JPG-yes) 303fate-jpg: $(FATE_JPG-yes) 304 305FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict 306fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24 307 308FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor 309fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24 310 311FATE_IMAGE-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser 312fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba 313 314define FATE_IMGSUITE_PNG 315FATE_PNG += fate-png-$(1) 316fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24 317endef 318 319PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16 320$(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP)))) 321 322FATE_PNG += fate-png-int-rgb24 323fate-png-int-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-int_rgb24.png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24 324 325FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG) 326FATE_IMAGE += $(FATE_PNG-yes) 327fate-png: $(FATE_PNG-yes) 328 329FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx 330fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24 331 332define FATE_IMGSUITE_PSD 333FATE_PSD += fate-psd-$(1) 334fate-psd-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-$(1).psd -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24 335endef 336 337PSD_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16 338$(foreach CLSP,$(PSD_COLORSPACES),$(eval $(call FATE_IMGSUITE_PSD,$(CLSP)))) 339 340FATE_PSD += fate-psd-lena-127x127-rgb24 341fate-psd-lena-127x127-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-127x127_rgb24.psd 342 343FATE_PSD += fate-psd-lena-rgb-rle-127x127-16b 344fate-psd-lena-rgb-rle-127x127-16b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_16b.psd 345 346FATE_PSD += fate-psd-lena-rgb-rle-127x127-8b 347fate-psd-lena-rgb-rle-127x127-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_8b.psd 348 349FATE_PSD += fate-psd-lena-rgba-rle-128x128-8b 350fate-psd-lena-rgba-rle-128x128-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgba_rle_128x128_8b.psd 351 352FATE_PSD += fate-psd-lena-256c 353fate-psd-lena-256c: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-256c.psd 354 355FATE_PSD += fate-psd-lena-bitmap 356fate-psd-lena-bitmap: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-bitmap.psd 357 358FATE_PSD += fate-psd-duo-tone-color 359fate-psd-duo-tone-color: CMD = framecrc -i $(TARGET_SAMPLES)/psd/duotone-color.psd 360 361FATE_PSD-$(call DEMDEC, IMAGE2, PSD) += $(FATE_PSD) 362 363FATE_IMAGE += $(FATE_PSD-yes) 364fate-psd: $(FATE_PSD-yes) 365 366define FATE_IMGSUITE_SGI 367FATE_SGI += fate-sgi-$(1) fate-sgi-$(1)-rle 368fate-sgi-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1).sgi -sws_flags +accurate_rnd+bitexact 369fate-sgi-$(1)-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1)_rle.sgi -sws_flags +accurate_rnd+bitexact 370endef 371 372SGI_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 373$(foreach CLSP,$(SGI_COLORSPACES),$(eval $(call FATE_IMGSUITE_SGI,$(CLSP)))) 374 375FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI) 376FATE_IMAGE += $(FATE_SGI-yes) 377fate-sgi: $(FATE_SGI-yes) 378 379FATE_SUNRASTER += fate-sunraster-1bit-raw 380fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun 381 382FATE_SUNRASTER += fate-sunraster-1bit-rle 383fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun 384 385FATE_SUNRASTER += fate-sunraster-8bit-raw 386fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24 387 388FATE_SUNRASTER += fate-sunraster-8bit_gray-raw 389fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras 390 391FATE_SUNRASTER += fate-sunraster-8bit-rle 392fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24 393 394FATE_SUNRASTER += fate-sunraster-24bit-raw 395fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun 396 397FATE_SUNRASTER += fate-sunraster-24bit-rle 398fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun 399 400FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER) 401 402FATE_IMAGE += $(FATE_SUNRASTER-yes) 403fate-sunraster: $(FATE_SUNRASTER-yes) 404 405FATE_TARGA = CBW8 \ 406 CCM8 \ 407 CTC16 \ 408 CTC24 \ 409 CTC32 \ 410 UBW8 \ 411 UCM8 \ 412 UTC16 \ 413 UTC24 \ 414 UTC32 415 416FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%) \ 417 fate-targa-top-to-bottom 418 419FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA) 420 421FATE_IMAGE += $(FATE_TARGA-yes) 422fate-targa: $(FATE_TARGA-yes) 423 424fate-targa-conformance-CBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA 425fate-targa-conformance-CCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA -pix_fmt rgba 426fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le 427fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA 428fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra 429fate-targa-conformance-UBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA 430fate-targa-conformance-UCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA -pix_fmt rgba 431fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le 432fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA 433fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra 434 435fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga 436 437FATE_TIFF += fate-tiff-fax-g3 438fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF 439 440FATE_TIFF += fate-tiff-fax-g3s 441fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF 442 443FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF) 444 445FATE_IMAGE += $(FATE_TIFF-yes) 446fate-tiff: $(FATE_TIFF-yes) 447 448FATE_WEBP += fate-webp-rgb-lossless 449fate-webp-rgb-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lossless.webp 450 451FATE_WEBP += fate-webp-rgb-lena-lossless 452fate-webp-rgb-lena-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp 453 454FATE_WEBP += fate-webp-rgb-lena-lossless-rgb24 455fate-webp-rgb-lena-lossless-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp -pix_fmt rgb24 456 457FATE_WEBP += fate-webp-rgba-lossless 458fate-webp-rgba-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_lossless.webp 459 460FATE_WEBP += fate-webp-rgb-lossy-q80 461fate-webp-rgb-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_q80.webp 462 463FATE_WEBP += fate-webp-rgba-lossy-q80 464fate-webp-rgba-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_q80.webp 465 466FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP) 467FATE_IMAGE += $(FATE_WEBP-yes) 468fate-webp: $(FATE_WEBP-yes) 469 470FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface 471fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface 472 473FATE_XBM += fate-xbm10 474fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm 475 476FATE_XBM += fate-xbm11 477fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm 478 479FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM) 480FATE_IMAGE += $(FATE_XBM-yes) 481fate-xbm: $(FATE_XBM-yes) 482 483FATE_IMAGE += $(FATE_IMAGE-yes) 484 485FATE_SAMPLES_FFMPEG += $(FATE_IMAGE) 486fate-image: $(FATE_IMAGE) 487