1 fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
2 fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
3 fate-vsynth%: CODEC = $(word 3, $(subst -, ,$(@)))
4 fate-vsynth%: FMT = avi
5 fate-vsynth%: CMD = enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p $(RAWDECOPTS)" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s 352x288 -pix_fmt yuv420p -vsync 0 $(DECOPTS)" -keep "$(DECINOPTS)"
6 fate-vsynth%: CMP_UNIT = 1
7 fate-vsynth%: REF = $(SRC_PATH)/tests/ref/vsynth/$(@:fate-%=%)
9 FATE_VCODEC-$(call ENCDEC, AMV, AVI) += amv
11 FATE_VCODEC-$(call ENCDEC, ASV1, AVI) += asv1
12 fate-vsynth%-asv1: ENCOPTS = -qscale 10
14 FATE_VCODEC-$(call ENCDEC, ASV2, AVI) += asv2
15 fate-vsynth%-asv2: ENCOPTS = -qscale 10
17 FATE_VCODEC-$(call ENCDEC, CLJR, AVI) += cljr
19 FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \
23 fate-vsynth%-dnxhd-720p: ENCOPTS = -s hd720 -b 90M \
24 -pix_fmt yuv422p -frames 5 -qmax 8
25 fate-vsynth%-dnxhd-720p: FMT = dnxhd
27 fate-vsynth%-dnxhd-720p-rd: ENCOPTS = -s hd720 -b 90M -threads 4 -mbd rd \
28 -pix_fmt yuv422p -frames 5 -qmax 8
29 fate-vsynth%-dnxhd-720p-rd: FMT = dnxhd
31 fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \
32 -pix_fmt yuv422p10 -frames 5 -qmax 8
33 fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd
35 FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i
36 fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \
37 -pix_fmt yuv422p -frames 5 -qmax 8
38 fate-vsynth%-dnxhd-1080i: FMT = mov
40 FATE_VCODEC-$(call ENCDEC, DVVIDEO, DV) += dv dv-411 dv-50
41 fate-vsynth%-dv: CODEC = dvvideo
42 fate-vsynth%-dv: ENCOPTS = -dct int -s pal
43 fate-vsynth%-dv: FMT = dv
45 fate-vsynth%-dv-411: CODEC = dvvideo
46 fate-vsynth%-dv-411: ENCOPTS = -dct int -s pal -pix_fmt yuv411p \
48 fate-vsynth%-dv-411: DECOPTS = -sws_flags area
49 fate-vsynth%-dv-411: FMT = dv
51 fate-vsynth%-dv-50: CODEC = dvvideo
52 fate-vsynth%-dv-50: ENCOPTS = -dct int -s pal -pix_fmt yuv422p \
54 fate-vsynth%-dv-50: DECOPTS = -sws_flags neighbor
55 fate-vsynth%-dv-50: FMT = dv
57 FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1.0
58 fate-vsynth%-ffv1: ENCOPTS = -slices 4 -strict -2
59 fate-vsynth%-ffv1.0: CODEC = ffv1
61 FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff
63 FATE_VCODEC-$(call ENCDEC, FLASHSV, FLV) += flashsv
64 fate-vsynth%-flashsv: ENCOPTS = -sws_flags neighbor+full_chroma_int
65 fate-vsynth%-flashsv: DECOPTS = -sws_flags area
66 fate-vsynth%-flashsv: FMT = flv
68 FATE_VCODEC-$(call ENCDEC, FLASHSV2, FLV) += flashsv2
69 fate-vsynth%-flashsv2: ENCOPTS = -sws_flags neighbor+full_chroma_int -strict experimental -compression_level 0
70 fate-vsynth%-flashsv2: DECOPTS = -sws_flags area
71 fate-vsynth%-flashsv2: FMT = flv
73 FATE_VCODEC-$(call ENCDEC, FLV, FLV) += flv
74 fate-vsynth%-flv: ENCOPTS = -qscale 10
75 fate-vsynth%-flv: FMT = flv
77 FATE_VCODEC-$(call ENCDEC, H261, AVI) += h261
78 fate-vsynth%-h261: ENCOPTS = -qscale 11
80 FATE_VCODEC-$(call ENCDEC, H263, AVI) += h263 h263-obmc h263p
81 fate-vsynth%-h263: ENCOPTS = -qscale 10
82 fate-vsynth%-h263-obmc: ENCOPTS = -qscale 10 -obmc 1
83 fate-vsynth%-h263p: ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -ps 300
85 FATE_VCODEC-$(call ENCDEC, HUFFYUV, AVI) += huffyuv
86 fate-vsynth%-huffyuv: ENCOPTS = -pix_fmt yuv422p -sws_flags neighbor
87 fate-vsynth%-huffyuv: DECOPTS = -strict -2 -sws_flags neighbor
89 FATE_VCODEC-$(call ENCDEC, JPEGLS, AVI) += jpegls
90 fate-vsynth%-jpegls: ENCOPTS = -sws_flags neighbor+full_chroma_int
91 fate-vsynth%-jpegls: DECOPTS = -sws_flags area
93 FATE_VCODEC-$(call ENCDEC, JPEG2000, AVI) += jpeg2000 jpeg2000-97
94 fate-vsynth%-jpeg2000: ENCOPTS = -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24
95 fate-vsynth%-jpeg2000: DECINOPTS = -vcodec jpeg2000
96 fate-vsynth%-jpeg2000-97: ENCOPTS = -qscale 7 -strict experimental -pix_fmt rgb24
97 fate-vsynth%-jpeg2000-97: DECINOPTS = -vcodec jpeg2000
99 FATE_VCODEC-$(call ENCDEC, LJPEG MJPEG, AVI) += ljpeg
100 fate-vsynth%-ljpeg: ENCOPTS = -strict -1
102 FATE_VCODEC-$(call ENCDEC, MJPEG, AVI) += mjpeg mjpeg-422 mjpeg-444
103 fate-vsynth%-mjpeg: ENCOPTS = -qscale 9 -pix_fmt yuvj420p
104 fate-vsynth%-mjpeg-422: ENCOPTS = -qscale 9 -pix_fmt yuvj422p
105 fate-vsynth%-mjpeg-444: ENCOPTS = -qscale 9 -pix_fmt yuvj444p
107 FATE_VCODEC-$(call ENCDEC, MPEG1VIDEO, MPEG1VIDEO MPEGVIDEO) += mpeg1 mpeg1b
108 fate-vsynth%-mpeg1: FMT = mpeg1video
109 fate-vsynth%-mpeg1: CODEC = mpeg1video
110 fate-vsynth%-mpeg1: ENCOPTS = -qscale 10
112 fate-vsynth%-mpeg1b: CODEC = mpeg1video
113 fate-vsynth%-mpeg1b: ENCOPTS = -qscale 8 -bf 3 -ps 200
114 fate-vsynth%-mpeg1b: FMT = mpeg1video
124 FATE_VCODEC-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
126 $(FATE_MPEG2:%=fate-vsynth\%-%): FMT = mpeg2video
127 $(FATE_MPEG2:%=fate-vsynth\%-%): CODEC = mpeg2video
129 fate-vsynth%-mpeg2: ENCOPTS = -qscale 10
130 fate-vsynth%-mpeg2-422: ENCOPTS = -b:v 1000k \
133 -flags +mv0+ildct+ilme \
138 fate-vsynth%-mpeg2-idct-int: ENCOPTS = -qscale 10 -idct int -dct int
139 fate-vsynth%-mpeg2-ilace: ENCOPTS = -qscale 10 -flags +ildct+ilme
140 fate-vsynth%-mpeg2-ivlc-qprd: ENCOPTS = -b:v 500k \
148 fate-vsynth%-mpeg2-thread: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
150 fate-vsynth%-mpeg2-thread-ivlc: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
151 -intra_vlc 1 -threads 2 -slices 2
153 FATE_MPEG4_MP4 = mpeg4
154 FATE_MPEG4_AVI = mpeg4-rc \
163 FATE_VCODEC-$(call ENCDEC, MPEG4, MP4 MOV) += $(FATE_MPEG4_MP4)
164 FATE_VCODEC-$(call ENCDEC, MPEG4, AVI) += $(FATE_MPEG4_AVI)
166 fate-vsynth%-mpeg4: ENCOPTS = -qscale 10 -flags +mv4 -mbd bits
167 fate-vsynth%-mpeg4: FMT = mp4
169 fate-vsynth%-mpeg4-adap: ENCOPTS = -b 550k -bf 2 -flags +mv4+mv0 \
170 -trellis 1 -cmp 1 -subcmp 2 \
171 -mbd rd -scplx_mask 0.3
173 fate-vsynth%-mpeg4-adv: ENCOPTS = -qscale 9 -flags +mv4+aic \
174 -data_partitioning 1 -trellis 1 \
177 fate-vsynth%-mpeg4-error: ENCOPTS = -qscale 7 -flags +mv4+aic \
178 -data_partitioning 1 -mbd rd \
181 fate-vsynth%-mpeg4-nr: ENCOPTS = -qscale 8 -flags +mv4 -mbd rd -nr 200
183 fate-vsynth%-mpeg4-qpel: ENCOPTS = -qscale 7 -flags +mv4+qpel -mbd 2 \
184 -bf 2 -cmp 1 -subcmp 2
186 fate-vsynth%-mpeg4-qprd: ENCOPTS = -b 450k -bf 2 -trellis 1 \
187 -flags +mv4+mv0 -mpv_flags +qp_rd \
188 -cmp 2 -subcmp 2 -mbd rd
190 fate-vsynth%-mpeg4-rc: ENCOPTS = -b 400k -bf 2
192 fate-vsynth%-mpeg4-thread: ENCOPTS = -b 500k -flags +mv4+aic \
193 -data_partitioning 1 -trellis 1 \
194 -mbd bits -ps 200 -bf 2 \
197 FATE_VCODEC-$(call ENCDEC, MSMPEG4V3, AVI) += msmpeg4
198 fate-vsynth%-msmpeg4: ENCOPTS = -qscale 10
200 FATE_VCODEC-$(call ENCDEC, MSMPEG4V2, AVI) += msmpeg4v2
201 fate-vsynth%-msmpeg4v2: ENCOPTS = -qscale 10
203 FATE_VCODEC-$(call ENCDEC, PNG, AVI) += mpng
204 fate-vsynth%-mpng: CODEC = png
206 FATE_VCODEC-$(call ENCDEC, MSVIDEO1, AVI) += msvideo1
208 FATE_VCODEC-$(call ENCDEC, PRORES, MOV) += prores prores_ks
209 fate-vsynth%-prores: FMT = mov
211 fate-vsynth%-prores_ks: ENCOPTS = -profile hq
212 fate-vsynth%-prores_ks: FMT = mov
214 FATE_VCODEC-$(call ENCDEC, QTRLE, MOV) += qtrle qtrlegray
215 fate-vsynth%-qtrle: FMT = mov
217 fate-vsynth%-qtrlegray: CODEC = qtrle
218 fate-vsynth%-qtrlegray: ENCOPTS = -pix_fmt gray
219 fate-vsynth%-qtrlegray: FMT = mov
221 FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += rgb
222 fate-vsynth%-rgb: CODEC = rawvideo
223 fate-vsynth%-rgb: ENCOPTS = -pix_fmt bgr24
225 FATE_VCODEC-$(call ENCDEC, ROQ, ROQ) += roqvideo
226 fate-vsynth%-roqvideo: CODEC = roqvideo
227 fate-vsynth%-roqvideo: ENCOPTS = -frames 5
228 fate-vsynth%-roqvideo: RAWDECOPTS = -r 30
229 fate-vsynth%-roqvideo: FMT = roq
231 FATE_VCODEC-$(call ENCDEC, RV10, RM) += rv10
232 fate-vsynth%-rv10: ENCOPTS = -qscale 10
233 fate-vsynth%-rv10: FMT = rm
235 FATE_VCODEC-$(call ENCDEC, RV20, RM) += rv20
236 fate-vsynth%-rv20: ENCOPTS = -qscale 10
237 fate-vsynth%-rv20: FMT = rm
239 FATE_VCODEC-$(call ENCDEC, SNOW, AVI) += snow snow-hpel snow-ll
240 fate-vsynth%-snow: ENCOPTS = -strict -2 -qscale 2 -flags +qpel \
241 -me_method iter -dia_size 2 \
242 -cmp 12 -subcmp 12 -s 128x64
244 fate-vsynth%-snow-hpel: ENCOPTS = -strict -2 -qscale 2 \
245 -me_method iter -dia_size 2 \
246 -cmp 12 -subcmp 12 -s 128x64
248 fate-vsynth%-snow-ll: ENCOPTS = -strict -2 -qscale .001 -pred 1 \
251 FATE_VCODEC-$(call ENCDEC, SVQ1, MOV) += svq1
252 fate-vsynth%-svq1: ENCOPTS = -qscale 3 -pix_fmt yuv410p
253 fate-vsynth%-svq1: FMT = mov
255 FATE_VCODEC-$(call ENCDEC, R210, AVI) += r210
257 FATE_VCODEC-$(call ENCDEC, V210, AVI) += v210
259 FATE_VCODEC-$(call ENCDEC, V308, AVI) += v308
261 FATE_VCODEC-$(call ENCDEC, V408, AVI) += v408
262 fate-vsynth%-v408: ENCOPTS = -sws_flags neighbor+bitexact
263 fate-vsynth%-v408: DECOPTS = -sws_flags neighbor+bitexact
265 FATE_VCODEC-$(call ENCDEC, AVUI, MOV) += avui
266 fate-vsynth%-avui: ENCOPTS = -s pal -strict experimental -sws_flags neighbor+bitexact
267 fate-vsynth%-avui: DECOPTS = -sws_flags neighbor+bitexact
268 fate-vsynth%-avui: FMT = mov
270 FATE_VCODEC-$(call ENCDEC, WMV1, AVI) += wmv1
271 fate-vsynth%-wmv1: ENCOPTS = -qscale 10
273 FATE_VCODEC-$(call ENCDEC, WMV2, AVI) += wmv2
274 fate-vsynth%-wmv2: ENCOPTS = -qscale 10
276 FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += yuv
277 fate-vsynth%-yuv: CODEC = rawvideo
279 FATE_VCODEC-$(call ENCDEC, YUV4, AVI) += yuv4
281 FATE_VCODEC-$(call ENCDEC, Y41P, AVI) += y41p
283 FATE_VCODEC-$(call ENCDEC, ZLIB, AVI) += zlib
285 FATE_VCODEC += $(FATE_VCODEC-yes)
286 FATE_VSYNTH1 = $(FATE_VCODEC:%=fate-vsynth1-%)
287 FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%)
289 $(FATE_VSYNTH1): tests/data/vsynth1.yuv
290 $(FATE_VSYNTH2): tests/data/vsynth2.yuv
292 FATE_AVCONV += $(FATE_VSYNTH1) $(FATE_VSYNTH2)
294 fate-vsynth1: $(FATE_VSYNTH1)
295 fate-vsynth2: $(FATE_VSYNTH2)
296 fate-vcodec: fate-vsynth1 fate-vsynth2