b1ddce1ed2a1fef906ad9e5aa7b07eb00cdd8883
[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_SAMPLES_AVCONV += $(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_SAMPLES_AVCONV += $(FATE_BRENDERPIX-yes)
28 fate-brenderpix: $(FATE_BRENDERPIX-yes)
29
30 FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser
31 fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/libav_4x_concat.bmp -pix_fmt rgb24
32
33 FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
34 fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
35
36 FATE_EXR += fate-exr-slice-raw
37 fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
38
39 FATE_EXR += fate-exr-slice-rle
40 fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
41
42 FATE_EXR += fate-exr-slice-zip1
43 fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
44
45 FATE_EXR += fate-exr-slice-zip16
46 fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
47
48 FATE_EXR += fate-exr-slice-pxr24
49 fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
50
51 FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
52
53 FATE_SAMPLES_AVCONV += $(FATE_EXR-yes)
54 fate-exr: $(FATE_EXR-yes)
55
56 FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
57 fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
58
59 FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
60 fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/libav_4x_concat.png -pix_fmt rgba
61
62 FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
63 fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
64
65 FATE_SGI += fate-sgi-gray
66 fate-sgi-gray: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_gray.sgi -pix_fmt gray
67
68 FATE_SGI += fate-sgi-gray16
69 fate-sgi-gray16: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_gray16.sgi -pix_fmt gray16le
70
71 FATE_SGI += fate-sgi-rgb24
72 fate-sgi-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgb24.sgi -pix_fmt rgb24
73
74 FATE_SGI += fate-sgi-rgb24-rle
75 fate-sgi-rgb24-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb24_rle.sgi -pix_fmt rgb24
76
77 FATE_SGI += fate-sgi-rgb48
78 fate-sgi-rgb48: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgb48.sgi -pix_fmt rgb48be
79
80 FATE_SGI += fate-sgi-rgb48-rle
81 fate-sgi-rgb48-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb48_rle.sgi -pix_fmt rgb48be
82
83 FATE_SGI += fate-sgi-rgba
84 fate-sgi-rgba: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgba.sgi -pix_fmt rgba
85
86 FATE_SGI += fate-sgi-rgba64
87 fate-sgi-rgba64: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/vulap_rgba64.sgi -pix_fmt rgba64be
88
89 FATE_SGI += fate-sgi-rgba64-rle
90 fate-sgi-rgba64-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/maya_rgba64_rle.sgi -pix_fmt rgba64be
91
92 FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
93
94 FATE_SAMPLES_AVCONV += $(FATE_SGI-yes)
95 fate-sgi: $(FATE_SGI-yes)
96
97 FATE_SUNRASTER += fate-sunraster-1bit-raw
98 fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
99
100 FATE_SUNRASTER += fate-sunraster-1bit-rle
101 fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
102
103 FATE_SUNRASTER += fate-sunraster-8bit-raw
104 fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
105
106 FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
107 fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
108
109 FATE_SUNRASTER += fate-sunraster-8bit-rle
110 fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
111
112 FATE_SUNRASTER += fate-sunraster-24bit-raw
113 fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
114
115 FATE_SUNRASTER += fate-sunraster-24bit-rle
116 fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
117
118 FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
119
120 FATE_SAMPLES_AVCONV += $(FATE_SUNRASTER-yes)
121 fate-sunraster: $(FATE_SUNRASTER-yes)
122
123 FATE_TARGA = CBW8       \
124              CCM8       \
125              CTC16      \
126              CTC24      \
127              CTC32      \
128              UBW8       \
129              UCM8       \
130              UTC16      \
131              UTC24      \
132              UTC32
133
134 FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%)  \
135               fate-targa-top-to-bottom
136
137 FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
138
139 FATE_SAMPLES_AVCONV += $(FATE_TARGA-yes)
140 fate-targa: $(FATE_TARGA-yes)
141
142 fate-targa-conformance-CBW8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA
143 fate-targa-conformance-CCM8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA  -pix_fmt rgba
144 fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le
145 fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA
146 fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra
147 fate-targa-conformance-UBW8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA
148 fate-targa-conformance-UCM8:  CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA  -pix_fmt rgba
149 fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le
150 fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA
151 fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
152
153 fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
154
155 FATE_TIFF += fate-tiff-fax-g3
156 fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
157
158 FATE_TIFF += fate-tiff-fax-g3s
159 fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
160
161 FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
162
163 FATE_SAMPLES_AVCONV += $(FATE_TIFF-yes)
164 fate-tiff: $(FATE_TIFF-yes)
165
166 FATE_XBM += fate-xbm10
167 fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
168
169 FATE_XBM += fate-xbm11
170 fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
171
172 FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
173 FATE_SAMPLES_AVCONV += $(FATE_XBM-yes)
174 fate-xbm: $(FATE_XBM-yes)