]> git.sesse.net Git - ffmpeg/blob - tests/fate/image.mak
Merge commit '434b44cd6fb4bb9a2bf2bb29ef55ce1a315314b8'
[ffmpeg] / 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 += fate-exr-rgb-scanline-half-piz-bw
260 fate-exr-rgb-scanline-half-piz-bw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_bw.exr -pix_fmt rgb48le
261
262 FATE_EXR += fate-exr-rgb-scanline-half-piz-color
263 fate-exr-rgb-scanline-half-piz-color: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_color.exr -pix_fmt rgb48le
264
265 FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t01
266 fate-exr-rgb-scanline-half-piz-dw-t01: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t01.exr -pix_fmt rgb48le
267
268 FATE_EXR += fate-exr-rgb-scanline-float-piz-48x32
269 fate-exr-rgb-scanline-float-piz-48x32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_piz_48x32.exr -pix_fmt rgb48le
270
271 FATE_EXR += fate-exr-rgb-scanline-none-negative-red
272 fate-exr-rgb-scanline-none-negative-red: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_none_negative_red.exr -pix_fmt rgb48le
273
274
275 FATE_EXR += fate-exr-rgb-b44a-half-negative-4x4
276 fate-exr-rgb-b44a-half-negative-4x4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_b44a_half_negative_4x4.exr -pix_fmt rgb48le
277
278 FATE_EXR += fate-exr-y-tile-zip-half-12x8
279 fate-exr-y-tile-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_tile_zip_half_12x8.exr -pix_fmt gray16le
280
281 FATE_EXR += fate-exr-y-scanline-zip-half-12x8
282 fate-exr-y-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_scanline_zip_half_12x8.exr -pix_fmt gray16le
283
284 FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t08
285 fate-exr-rgb-scanline-half-piz-dw-t08: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t08.exr -pix_fmt rgb48le
286
287 FATE_EXR += fate-exr-rgba-zip16-16x32-flag4
288 fate-exr-rgba-zip16-16x32-flag4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_zip16_16x32_flag4.exr -pix_fmt rgba64le
289
290 FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
291
292 FATE_IMAGE += $(FATE_EXR-yes)
293 fate-exr: $(FATE_EXR-yes)
294
295 FATE_JPG += fate-jpg-12bpp
296 fate-jpg-12bpp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/12bpp.jpg -f rawvideo -pix_fmt gray16le -vf setsar=sar=sar
297
298 FATE_JPG += fate-jpg-jfif
299 fate-jpg-jfif: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/20242.jpg
300
301 FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG) += $(FATE_JPG)
302 FATE_IMAGE += $(FATE_JPG-yes)
303 fate-jpg: $(FATE_JPG-yes)
304
305 FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
306 fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
307
308 FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
309 fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
310
311 FATE_IMAGE-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
312 fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba
313
314 define FATE_IMGSUITE_PNG
315 FATE_PNG += fate-png-$(1)
316 fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
317 endef
318
319 PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
320 $(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
321
322 FATE_PNG += fate-png-int-rgb24
323 fate-png-int-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-int_rgb24.png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
324
325 FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
326 FATE_IMAGE += $(FATE_PNG-yes)
327 fate-png: $(FATE_PNG-yes)
328
329 FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
330 fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
331
332 define FATE_IMGSUITE_PSD
333 FATE_PSD += fate-psd-$(1)
334 fate-psd-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-$(1).psd -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
335 endef
336
337 PSD_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
338 $(foreach CLSP,$(PSD_COLORSPACES),$(eval $(call FATE_IMGSUITE_PSD,$(CLSP))))
339
340 FATE_PSD += fate-psd-lena-127x127-rgb24
341 fate-psd-lena-127x127-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-127x127_rgb24.psd
342
343 FATE_PSD += fate-psd-lena-rgb-rle-127x127-16b
344 fate-psd-lena-rgb-rle-127x127-16b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_16b.psd
345
346 FATE_PSD += fate-psd-lena-rgb-rle-127x127-8b
347 fate-psd-lena-rgb-rle-127x127-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_8b.psd
348
349 FATE_PSD += fate-psd-lena-rgba-rle-128x128-8b
350 fate-psd-lena-rgba-rle-128x128-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgba_rle_128x128_8b.psd
351
352 FATE_PSD += fate-psd-lena-256c
353 fate-psd-lena-256c: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-256c.psd
354
355 FATE_PSD += fate-psd-lena-bitmap
356 fate-psd-lena-bitmap: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-bitmap.psd
357
358 FATE_PSD += fate-psd-duo-tone-color
359 fate-psd-duo-tone-color: CMD = framecrc -i $(TARGET_SAMPLES)/psd/duotone-color.psd
360
361 FATE_PSD-$(call DEMDEC, IMAGE2, PSD) += $(FATE_PSD)
362
363 FATE_IMAGE += $(FATE_PSD-yes)
364 fate-psd: $(FATE_PSD-yes)
365
366 define FATE_IMGSUITE_SGI
367 FATE_SGI += fate-sgi-$(1) fate-sgi-$(1)-rle
368 fate-sgi-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1).sgi -sws_flags +accurate_rnd+bitexact
369 fate-sgi-$(1)-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1)_rle.sgi -sws_flags +accurate_rnd+bitexact
370 endef
371
372 SGI_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64
373 $(foreach CLSP,$(SGI_COLORSPACES),$(eval $(call FATE_IMGSUITE_SGI,$(CLSP))))
374
375 FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
376 FATE_IMAGE += $(FATE_SGI-yes)
377 fate-sgi: $(FATE_SGI-yes)
378
379 FATE_SUNRASTER += fate-sunraster-1bit-raw
380 fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
381
382 FATE_SUNRASTER += fate-sunraster-1bit-rle
383 fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
384
385 FATE_SUNRASTER += fate-sunraster-8bit-raw
386 fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
387
388 FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
389 fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
390
391 FATE_SUNRASTER += fate-sunraster-8bit-rle
392 fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
393
394 FATE_SUNRASTER += fate-sunraster-24bit-raw
395 fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
396
397 FATE_SUNRASTER += fate-sunraster-24bit-rle
398 fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
399
400 FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
401
402 FATE_IMAGE += $(FATE_SUNRASTER-yes)
403 fate-sunraster: $(FATE_SUNRASTER-yes)
404
405 FATE_TARGA = CBW8       \
406              CCM8       \
407              CTC16      \
408              CTC24      \
409              CTC32      \
410              UBW8       \
411              UCM8       \
412              UTC16      \
413              UTC24      \
414              UTC32
415
416 FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%)  \
417               fate-targa-top-to-bottom
418
419 FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
420
421 FATE_IMAGE += $(FATE_TARGA-yes)
422 fate-targa: $(FATE_TARGA-yes)
423
424 fate-targa-conformance-CBW8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA
425 fate-targa-conformance-CCM8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA  -pix_fmt rgba
426 fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le
427 fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA
428 fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra
429 fate-targa-conformance-UBW8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA
430 fate-targa-conformance-UCM8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA  -pix_fmt rgba
431 fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le
432 fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA
433 fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
434
435 fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
436
437 FATE_TIFF += fate-tiff-fax-g3
438 fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
439
440 FATE_TIFF += fate-tiff-fax-g3s
441 fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
442
443 FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
444
445 FATE_IMAGE += $(FATE_TIFF-yes)
446 fate-tiff: $(FATE_TIFF-yes)
447
448 FATE_WEBP += fate-webp-rgb-lossless
449 fate-webp-rgb-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lossless.webp
450
451 FATE_WEBP += fate-webp-rgb-lena-lossless
452 fate-webp-rgb-lena-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp
453
454 FATE_WEBP += fate-webp-rgb-lena-lossless-rgb24
455 fate-webp-rgb-lena-lossless-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp -pix_fmt rgb24
456
457 FATE_WEBP += fate-webp-rgba-lossless
458 fate-webp-rgba-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_lossless.webp
459
460 FATE_WEBP += fate-webp-rgb-lossy-q80
461 fate-webp-rgb-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_q80.webp
462
463 FATE_WEBP += fate-webp-rgba-lossy-q80
464 fate-webp-rgba-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_q80.webp
465
466 FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP)
467 FATE_IMAGE += $(FATE_WEBP-yes)
468 fate-webp: $(FATE_WEBP-yes)
469
470 FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
471 fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
472
473 FATE_XBM += fate-xbm10
474 fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
475
476 FATE_XBM += fate-xbm11
477 fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
478
479 FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
480 FATE_IMAGE += $(FATE_XBM-yes)
481 fate-xbm: $(FATE_XBM-yes)
482
483 FATE_IMAGE += $(FATE_IMAGE-yes)
484
485 FATE_SAMPLES_FFMPEG += $(FATE_IMAGE)
486 fate-image: $(FATE_IMAGE)