2b569cf256ef95306f2bd2b2f20ef36064a786a0
[ffmpeg.git] / tests / fate / image.mak
1 FATE_ALIASPIX += fate-aliaspix-bgr
2 fate-aliaspix-bgr: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/first.pix -pix_fmt bgr24
3
4 FATE_ALIASPIX += fate-aliaspix-gray
5 fate-aliaspix-gray: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/firstgray.pix -pix_fmt gray
6
7 FATE_ALIASPIX-$(call DEMDEC, IMAGE2, ALIAS_PIX) += $(FATE_ALIASPIX)
8 FATE_IMAGE += $(FATE_ALIASPIX-yes)
9 fate-aliaspix: $(FATE_ALIASPIX-yes)
10
11 FATE_BRENDERPIX += fate-brenderpix-24
12 fate-brenderpix-24: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/sbwheel.pix
13
14 FATE_BRENDERPIX += fate-brenderpix-565
15 fate-brenderpix-565: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/maximafront.pix
16
17 FATE_BRENDERPIX += fate-brenderpix-defpal
18 fate-brenderpix-defpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/rivrock1.pix -pix_fmt rgb24
19
20 FATE_BRENDERPIX += fate-brenderpix-intpal
21 fate-brenderpix-intpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/testtex.pix -pix_fmt rgb24
22
23 FATE_BRENDERPIX += fate-brenderpix-y400a
24 fate-brenderpix-y400a: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/gears.pix
25
26 FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX) += $(FATE_BRENDERPIX)
27 FATE_IMAGE += $(FATE_BRENDERPIX-yes)
28 fate-brenderpix: $(FATE_BRENDERPIX-yes)
29
30 FATE_IMAGE-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser
31 fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/numbers.bmp -pix_fmt rgb24
32
33 define FATE_IMGSUITE_DDS
34 FATE_DDS += fate-dds-$(1)
35 fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/fate_$(1).dds $(DDS_OPTS_$(1))
36 endef
37
38 DDS_OPTS_pal     = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
39 DDS_OPTS_pal-ati = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
40 DDS_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
90 FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS)
91 FATE_IMAGE += $(FATE_DDS-yes)
92 fate-dds: $(FATE_DDS-yes)
93
94 FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
95 fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
96
97 FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
98 fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
99
100 FATE_EXR += fate-exr-slice-raw
101 fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
102
103 FATE_EXR += fate-exr-slice-rle
104 fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
105
106 FATE_EXR += fate-exr-slice-zip1
107 fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
108
109 FATE_EXR += fate-exr-slice-zip16
110 fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
111
112 FATE_EXR += fate-exr-slice-pxr24
113 fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
114
115 FATE_EXR += fate-exr-rgb-scanline-pxr24-float-12x8
116 fate-exr-rgb-scanline-pxr24-float-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_12x8.exr -pix_fmt rgb48le
117
118 FATE_EXR += fate-exr-rgba-multiscanline-half-b44
119 fate-exr-rgba-multiscanline-half-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_multiscanline_half_b44.exr -pix_fmt rgba64le
120
121 FATE_EXR += fate-exr-rgb-scanline-float-b44
122 fate-exr-rgb-scanline-float-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_b44.exr -pix_fmt rgb48le
123
124 FATE_EXR += fate-exr-rgb-scanline-half-b44-12x8
125 fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_12x8.exr -pix_fmt rgb48le
126
127 FATE_EXR += fate-exr-rgb-scanline-half-b44-13x9
128 fate-exr-rgb-scanline-half-b44-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_13x9.exr -pix_fmt rgb48le
129
130 FATE_EXR += fate-exr-rgb-tile-float-raw-12x8
131 fate-exr-rgb-tile-float-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_12x8.exr -pix_fmt rgb48le
132
133 FATE_EXR += fate-exr-rgb-tile-float-raw-150x130
134 fate-exr-rgb-tile-float-raw-150x130: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_150x130.exr -pix_fmt rgb48le
135
136 FATE_EXR += fate-exr-rgb-tile-half-raw-12x8
137 fate-exr-rgb-tile-half-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_raw_12x8.exr -pix_fmt rgb48le
138
139 FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l1
140 fate-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
142 FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l2
143 fate-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
145 FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l1
146 fate-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
148 FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l2
149 fate-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
151 FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l1
152 fate-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
154 FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l2
155 fate-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
157 FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l1
158 fate-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
160 FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l2
161 fate-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
163 FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l1
164 fate-exr-rgb-tile-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float_half.exr -pix_fmt rgb48le
165
166 FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l2
167 fate-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
169 FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l1
170 fate-exr-rgb-tile-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_half_float.exr -pix_fmt rgb48le
171
172 FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l2
173 fate-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
175 FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l1
176 fate-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
178 FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l2
179 fate-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
181 FATE_EXR += fate-exr-rgb-tile-zip-half-float-l1
182 fate-exr-rgb-tile-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip_half_float.exr -pix_fmt rgb48le
183
184 FATE_EXR += fate-exr-rgb-tile-zip-half-float-l2
185 fate-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
187 FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l1
188 fate-exr-rgb-tile-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip1_half_float.exr -pix_fmt rgb48le
189
190 FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l2
191 fate-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
193 FATE_EXR += fate-exr-rgb-tile-rle-half-float-l1
194 fate-exr-rgb-tile-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_rle_half_float.exr -pix_fmt rgb48le
195
196 FATE_EXR += fate-exr-rgb-tile-rle-half-float-l2
197 fate-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
199 FATE_EXR += fate-exr-rgb-tile-raw-half-float-l1
200 fate-exr-rgb-tile-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_raw_half_float.exr -pix_fmt rgb48le
201
202 FATE_EXR += fate-exr-rgb-tile-raw-half-float-l2
203 fate-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
205 FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l1
206 fate-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
208 FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l2
209 fate-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
211 FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l1
212 fate-exr-rgb-scanline-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_float.exr -pix_fmt rgb48le
213
214 FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l2
215 fate-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
217 FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l1
218 fate-exr-rgb-scanline-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_half.exr -pix_fmt rgb48le
219
220 FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l2
221 fate-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
223 FATE_EXR += fate-exr-rgb-scanline-pxr24-half-uint32-13x9
224 fate-exr-rgb-scanline-pxr24-half-uint32-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_uint32_13x9.exr -pix_fmt rgb48le
225
226 FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l1
227 fate-exr-rgb-scanline-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float.exr -pix_fmt rgb48le
228
229 FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l2
230 fate-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
232 FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1
233 fate-exr-rgb-scanline-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float.exr -pix_fmt rgb48le
234
235 FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l2
236 fate-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
238 FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l1
239 fate-exr-rgb-scanline-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_rle_half_float.exr -pix_fmt rgb48le
240
241 FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l2
242 fate-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
244 FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l1
245 fate-exr-rgb-scanline-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -pix_fmt rgb48le
246
247 FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l2
248 fate-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
250 FATE_EXR += fate-exr-rgb-scanline-b44-uint32
251 fate-exr-rgb-scanline-b44-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_uint32.exr -pix_fmt rgb48le
252
253 FATE_EXR += fate-exr-rgb-scanline-pxr24-uint32
254 fate-exr-rgb-scanline-pxr24-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_uint32.exr -pix_fmt rgb48le
255
256 FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets
257 fate-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
259 FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
260
261 FATE_IMAGE += $(FATE_EXR-yes)
262 fate-exr: $(FATE_EXR-yes)
263
264 FATE_JPG += fate-jpg-12bpp
265 fate-jpg-12bpp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/12bpp.jpg -f rawvideo -pix_fmt gray16le -vf setsar=sar=sar
266
267 FATE_JPG += fate-jpg-jfif
268 fate-jpg-jfif: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/20242.jpg
269
270 FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG) += $(FATE_JPG)
271 FATE_IMAGE += $(FATE_JPG-yes)
272 fate-jpg: $(FATE_JPG-yes)
273
274 FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
275 fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
276
277 FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
278 fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
279
280 FATE_IMAGE-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
281 fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba
282
283 define FATE_IMGSUITE_PNG
284 FATE_PNG += fate-png-$(1)
285 fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
286 endef
287
288 PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
289 $(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
290
291 FATE_PNG += fate-png-int-rgb24
292 fate-png-int-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-int_rgb24.png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
293
294 FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
295 FATE_IMAGE += $(FATE_PNG-yes)
296 fate-png: $(FATE_PNG-yes)
297
298 FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
299 fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
300
301 define FATE_IMGSUITE_PSD
302 FATE_PSD += fate-psd-$(1)
303 fate-psd-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-$(1).psd -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
304 endef
305
306 PSD_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
307 $(foreach CLSP,$(PSD_COLORSPACES),$(eval $(call FATE_IMGSUITE_PSD,$(CLSP))))
308
309 FATE_PSD += fate-psd-lena-127x127-rgb24
310 fate-psd-lena-127x127-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-127x127_rgb24.psd
311
312 FATE_PSD += fate-psd-lena-rgb-rle-127x127-16b
313 fate-psd-lena-rgb-rle-127x127-16b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_16b.psd
314
315 FATE_PSD += fate-psd-lena-rgb-rle-127x127-8b
316 fate-psd-lena-rgb-rle-127x127-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_8b.psd
317
318 FATE_PSD += fate-psd-lena-rgba-rle-128x128-8b
319 fate-psd-lena-rgba-rle-128x128-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgba_rle_128x128_8b.psd
320
321 FATE_PSD += fate-psd-lena-256c
322 fate-psd-lena-256c: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-256c.psd
323
324 FATE_PSD += fate-psd-lena-bitmap
325 fate-psd-lena-bitmap: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-bitmap.psd
326
327 FATE_PSD += fate-psd-duo-tone-color
328 fate-psd-duo-tone-color: CMD = framecrc -i $(TARGET_SAMPLES)/psd/duotone-color.psd
329
330 FATE_PSD-$(call DEMDEC, IMAGE2, PSD) += $(FATE_PSD)
331
332 FATE_IMAGE += $(FATE_PSD-yes)
333 fate-psd: $(FATE_PSD-yes)
334
335 define FATE_IMGSUITE_SGI
336 FATE_SGI += fate-sgi-$(1) fate-sgi-$(1)-rle
337 fate-sgi-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1).sgi -sws_flags +accurate_rnd+bitexact
338 fate-sgi-$(1)-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1)_rle.sgi -sws_flags +accurate_rnd+bitexact
339 endef
340
341 SGI_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64
342 $(foreach CLSP,$(SGI_COLORSPACES),$(eval $(call FATE_IMGSUITE_SGI,$(CLSP))))
343
344 FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
345 FATE_IMAGE += $(FATE_SGI-yes)
346 fate-sgi: $(FATE_SGI-yes)
347
348 FATE_SUNRASTER += fate-sunraster-1bit-raw
349 fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
350
351 FATE_SUNRASTER += fate-sunraster-1bit-rle
352 fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
353
354 FATE_SUNRASTER += fate-sunraster-8bit-raw
355 fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
356
357 FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
358 fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
359
360 FATE_SUNRASTER += fate-sunraster-8bit-rle
361 fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
362
363 FATE_SUNRASTER += fate-sunraster-24bit-raw
364 fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
365
366 FATE_SUNRASTER += fate-sunraster-24bit-rle
367 fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
368
369 FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
370
371 FATE_IMAGE += $(FATE_SUNRASTER-yes)
372 fate-sunraster: $(FATE_SUNRASTER-yes)
373
374 FATE_TARGA = CBW8       \
375              CCM8       \
376              CTC16      \
377              CTC24      \
378              CTC32      \
379              UBW8       \
380              UCM8       \
381              UTC16      \
382              UTC24      \
383              UTC32
384
385 FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%)  \
386               fate-targa-top-to-bottom
387
388 FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
389
390 FATE_IMAGE += $(FATE_TARGA-yes)
391 fate-targa: $(FATE_TARGA-yes)
392
393 fate-targa-conformance-CBW8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA
394 fate-targa-conformance-CCM8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA  -pix_fmt rgba
395 fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le
396 fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA
397 fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra
398 fate-targa-conformance-UBW8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA
399 fate-targa-conformance-UCM8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA  -pix_fmt rgba
400 fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le
401 fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA
402 fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
403
404 fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
405
406 FATE_TIFF += fate-tiff-fax-g3
407 fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
408
409 FATE_TIFF += fate-tiff-fax-g3s
410 fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
411
412 FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
413
414 FATE_IMAGE += $(FATE_TIFF-yes)
415 fate-tiff: $(FATE_TIFF-yes)
416
417 FATE_WEBP += fate-webp-rgb-lossless
418 fate-webp-rgb-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lossless.webp
419
420 FATE_WEBP += fate-webp-rgb-lena-lossless
421 fate-webp-rgb-lena-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp
422
423 FATE_WEBP += fate-webp-rgb-lena-lossless-rgb24
424 fate-webp-rgb-lena-lossless-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp -pix_fmt rgb24
425
426 FATE_WEBP += fate-webp-rgba-lossless
427 fate-webp-rgba-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_lossless.webp
428
429 FATE_WEBP += fate-webp-rgb-lossy-q80
430 fate-webp-rgb-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_q80.webp
431
432 FATE_WEBP += fate-webp-rgba-lossy-q80
433 fate-webp-rgba-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_q80.webp
434
435 FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP)
436 FATE_IMAGE += $(FATE_WEBP-yes)
437 fate-webp: $(FATE_WEBP-yes)
438
439 FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
440 fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
441
442 FATE_XBM += fate-xbm10
443 fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
444
445 FATE_XBM += fate-xbm11
446 fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
447
448 FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
449 FATE_IMAGE += $(FATE_XBM-yes)
450 fate-xbm: $(FATE_XBM-yes)
451
452 FATE_IMAGE += $(FATE_IMAGE-yes)
453
454 FATE_SAMPLES_FFMPEG += $(FATE_IMAGE)
455 fate-image: $(FATE_IMAGE)