tests/fate/vcodec: add dnxhr edge tests
[ffmpeg.git] / tests / fate / vcodec.mak
1 fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
2 fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
3 fate-vsynth_lena-%: SRC = tests/data/vsynth_lena.yuv
4 fate-vsynth3-%: SRC = tests/data/vsynth3.yuv
5 fate-vsynth%: CODEC = $(word 3, $(subst -, ,$(@)))
6 fate-vsynth%: FMT = avi
7 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)"
8 fate-vsynth3-%: CMD = enc_dec "rawvideo -s $(FATEW)x$(FATEH) -pix_fmt yuv420p $(RAWDECOPTS)" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s $(FATEW)x$(FATEH) -pix_fmt yuv420p -vsync 0 $(DECOPTS)" -keep "$(DECINOPTS)"
9 fate-vsynth%: CMP_UNIT = 1
10 fate-vsynth%: REF = $(SRC_PATH)/tests/ref/vsynth/$(@:fate-%=%)
11
12 FATE_VCODEC-$(call ENCDEC, AMV, AVI) += amv
13 fate-vsynth%-amv:                ENCOPTS = -strict -1
14
15 FATE_VCODEC-$(call ENCDEC, ASV1, AVI)   += asv1
16 fate-vsynth%-asv1:               ENCOPTS = -qscale 10
17
18 FATE_VCODEC-$(call ENCDEC, ASV2, AVI)   += asv2
19 fate-vsynth%-asv2:               ENCOPTS = -qscale 10
20
21 FATE_VCODEC-$(call ENCDEC, CINEPAK, MOV) += cinepak
22 fate-vsynth%-cinepak:            ENCOPTS  = -vcodec cinepak -frames 3
23 fate-vsynth%-cinepak:            FMT      = mov
24
25 FATE_VCODEC-$(call ENCDEC, CLJR, AVI)   += cljr
26 fate-vsynth%-cljr:               ENCOPTS = -strict -1
27
28 FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p                  \
29                                             dnxhd-720p-rd               \
30                                             dnxhd-720p-10bit            \
31                                             dnxhd-720p-hr-lb            \
32                                             dnxhd-4k-hr-lb              \
33                                             dnxhd-uhd-hr-sq             \
34                                             dnxhd-2k-hr-hq              \
35                                             dnxhd-edge1-hr              \
36                                             dnxhd-edge2-hr              \
37                                             dnxhd-edge3-hr
38
39 FATE_VCODEC-$(call ENCDEC, VC2 DIRAC, MOV) += vc2-420p vc2-420p10 vc2-420p12 \
40                                               vc2-422p vc2-422p10 vc2-422p12 \
41                                               vc2-444p vc2-444p10 vc2-444p12
42 fate-vsynth1-vc2-%:              FMT      = mov
43 fate-vsynth1-vc2-%:              ENCOPTS = -pix_fmt yuv$(@:fate-vsynth1-vc2-%=%) \
44                                            -vcodec vc2 -frames 5 -strict -1
45 fate-vsynth2-vc2-%:              FMT      = mov
46 fate-vsynth2-vc2-%:              ENCOPTS = -pix_fmt yuv$(@:fate-vsynth2-vc2-%=%) \
47                                            -vcodec vc2 -frames 5 -strict -1
48 fate-vsynth_lena-vc2-%:          FMT      = mov
49 fate-vsynth_lena-vc2-%:          ENCOPTS = -pix_fmt yuv$(@:fate-vsynth_lena-vc2-%=%) \
50                                            -vcodec vc2 -frames 5 -strict -1
51
52 fate-vsynth%-dnxhd-720p:         ENCOPTS = -s hd720 -b 90M              \
53                                            -pix_fmt yuv422p -frames 5 -qmax 8
54 fate-vsynth%-dnxhd-720p:         FMT     = dnxhd
55
56 fate-vsynth%-dnxhd-720p-rd:      ENCOPTS = -s hd720 -b 90M -threads 4 -mbd rd \
57                                            -pix_fmt yuv422p -frames 5 -qmax 8
58 fate-vsynth%-dnxhd-720p-rd:      FMT     = dnxhd
59
60 fate-vsynth%-dnxhd-720p-10bit:   ENCOPTS = -s hd720 -b 90M              \
61                                            -pix_fmt yuv422p10 -frames 5 -qmax 8
62 fate-vsynth%-dnxhd-720p-10bit:   FMT     = dnxhd
63
64 fate-vsynth%-dnxhd-720p-hr-lb: ENCOPTS   = -s hd720 -profile:v dnxhr_lb \
65                                            -pix_fmt yuv422p -frames 5
66 fate-vsynth%-dnxhd-720p-hr-lb: DECOPTS    = -sws_flags area+accurate_rnd+bitexact
67 fate-vsynth%-dnxhd-720p-hr-lb: FMT       = dnxhd
68
69 fate-vsynth%-dnxhd-4k-hr-lb:  ENCOPTS    = -s 4k -profile:v dnxhr_lb \
70                                            -pix_fmt yuv422p -frames 5
71 fate-vsynth%-dnxhd-4k-hr-lb:  DECOPTS    = -sws_flags area+accurate_rnd+bitexact
72 fate-vsynth%-dnxhd-4k-hr-lb:  FMT        = dnxhd
73
74 fate-vsynth%-dnxhd-uhd-hr-sq: ENCOPTS    = -s uhd2160 -profile:v dnxhr_sq \
75                                            -pix_fmt yuv422p -frames 5
76 fate-vsynth%-dnxhd-uhd-hr-sq: DECOPTS    = -sws_flags area+accurate_rnd+bitexact
77 fate-vsynth%-dnxhd-uhd-hr-sq: FMT        = dnxhd
78
79 fate-vsynth%-dnxhd-2k-hr-hq:  ENCOPTS    = -s 2k -profile:v dnxhr_hq \
80                                          -pix_fmt yuv422p -frames 5
81 fate-vsynth%-dnxhd-2k-hr-hq:  DECOPTS    = -sws_flags area+accurate_rnd+bitexact
82 fate-vsynth%-dnxhd-2k-hr-hq:  FMT        = dnxhd
83
84 fate-vsynth%-dnxhd-edge1-hr:  ENCOPTS    = -s 264x128 -profile:v dnxhr_hq \
85                                            -pix_fmt yuv422p -frames 5
86 fate-vsynth%-dnxhd-edge1-hr:  DECOPTS    = -sws_flags area+accurate_rnd+bitexact
87 fate-vsynth%-dnxhd-edge1-hr:  FMT        = dnxhd
88
89 fate-vsynth%-dnxhd-edge2-hr:  ENCOPTS    = -s 271x135 -profile:v dnxhr_hq \
90                                            -pix_fmt yuv422p -frames 5
91 fate-vsynth%-dnxhd-edge2-hr:  DECOPTS    = -sws_flags area+accurate_rnd+bitexact
92 fate-vsynth%-dnxhd-edge2-hr:  FMT        = dnxhd
93
94 fate-vsynth%-dnxhd-edge3-hr:  ENCOPTS    = -s 257x121 -profile:v dnxhr_hq \
95                                            -pix_fmt yuv422p -frames 5
96 fate-vsynth%-dnxhd-edge3-hr:  DECOPTS    = -sws_flags area+accurate_rnd+bitexact
97 fate-vsynth%-dnxhd-edge3-hr:  FMT        = dnxhd
98
99 FATE_VCODEC-$(call ENCDEC, DNXHD, MOV)  += dnxhd-1080i dnxhd-1080i-10bit dnxhd-1080i-colr
100 fate-vsynth%-dnxhd-1080i:        ENCOPTS = -s hd1080 -b 120M -flags +ildct \
101                                            -pix_fmt yuv422p -frames 5 -qmax 8
102 fate-vsynth%-dnxhd-1080i:        FMT     = mov
103
104 fate-vsynth%-dnxhd-1080i-10bit:  ENCOPTS = -s hd1080 -b 185M -flags +ildct \
105                                            -pix_fmt yuv422p10 -frames 5 -qmax 8
106 fate-vsynth%-dnxhd-1080i-10bit:  DECOPTS = -sws_flags area+accurate_rnd+bitexact
107 fate-vsynth%-dnxhd-1080i-10bit:  FMT     = mov
108
109 fate-vsynth%-dnxhd-1080i-colr:   ENCOPTS = -s hd1080 -b 120M -flags +ildct -movflags write_colr \
110                                            -pix_fmt yuv422p -frames 5 -qmax 8
111 fate-vsynth%-dnxhd-1080i-colr:   DECOPTS = -sws_flags area+accurate_rnd+bitexact
112 fate-vsynth%-dnxhd-1080i-colr:   FMT     = mov
113
114 FATE_VCODEC-$(call ENCDEC, DVVIDEO, DV) += dv dv-411 dv-50
115 fate-vsynth%-dv:                 CODEC   = dvvideo
116 fate-vsynth%-dv:                 ENCOPTS = -dct int -s pal
117 fate-vsynth%-dv:                 FMT     = dv
118
119 fate-vsynth%-dv-411:             CODEC   = dvvideo
120 fate-vsynth%-dv-411:             ENCOPTS = -dct int -s pal -pix_fmt yuv411p \
121                                            -sws_flags area
122 fate-vsynth%-dv-411:             DECOPTS = -sws_flags area
123 fate-vsynth%-dv-411:             FMT     = dv
124
125 fate-vsynth%-dv-50:              CODEC   = dvvideo
126 fate-vsynth%-dv-50:              ENCOPTS = -dct int -s pal -pix_fmt yuv422p \
127                                            -sws_flags neighbor
128 fate-vsynth%-dv-50:              DECOPTS = -sws_flags neighbor
129 fate-vsynth%-dv-50:              FMT     = dv
130
131 FATE_VCODEC-$(call ENCDEC, FFV1, AVI)   += ffv1 ffv1-v0 \
132                                            ffv1-v3-yuv420p ffv1-v3-yuv422p10 ffv1-v3-yuv444p16 \
133                                            ffv1-v3-bgr0
134 fate-vsynth%-ffv1:               ENCOPTS = -slices 4
135 fate-vsynth%-ffv1-v0:            CODEC   = ffv1
136 fate-vsynth%-ffv1-v3-yuv420p:    ENCOPTS = -level 3 -pix_fmt yuv420p
137 fate-vsynth%-ffv1-v3-yuv422p10:  ENCOPTS = -level 3 -pix_fmt yuv422p10 \
138                                            -sws_flags neighbor+bitexact
139 fate-vsynth%-ffv1-v3-yuv422p10:  DECOPTS = -sws_flags neighbor+bitexact
140 fate-vsynth%-ffv1-v3-yuv444p16:  ENCOPTS = -level 3 -pix_fmt yuv444p16 \
141                                            -sws_flags neighbor+bitexact
142 fate-vsynth%-ffv1-v3-yuv444p16:  DECOPTS = -sws_flags neighbor+bitexact
143 fate-vsynth%-ffv1-v3-bgr0:       ENCOPTS = -level 3 -pix_fmt bgr0 \
144                                            -sws_flags neighbor+bitexact
145 fate-vsynth%-ffv1-v3-bgr0:       DECOPTS = -sws_flags neighbor+bitexact
146
147 FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16
148 fate-vsynth%-ffvhuff444:         ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p
149 fate-vsynth%-ffvhuff420p12:      ENCOPTS = -vcodec ffvhuff -pix_fmt yuv420p12le
150 fate-vsynth%-ffvhuff422p10left:  ENCOPTS = -vcodec ffvhuff -pix_fmt yuv422p10le -pred left
151 fate-vsynth%-ffvhuff444p16:      ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p16le -pred plane
152
153 FATE_VCODEC-$(call ENCDEC, FLASHSV, FLV) += flashsv
154 fate-vsynth%-flashsv:            ENCOPTS = -sws_flags neighbor+full_chroma_int
155 fate-vsynth%-flashsv:            DECOPTS = -sws_flags area
156 fate-vsynth%-flashsv:            FMT     = flv
157
158 FATE_VCODEC-$(call ENCDEC, FLASHSV2, FLV) += flashsv2
159 fate-vsynth%-flashsv2:           ENCOPTS = -sws_flags neighbor+full_chroma_int -strict experimental -compression_level 0
160 fate-vsynth%-flashsv2:           DECOPTS = -sws_flags area
161 fate-vsynth%-flashsv2:           FMT     = flv
162
163 FATE_VCODEC-$(call ENCDEC, FLV, FLV)    += flv
164 fate-vsynth%-flv:                ENCOPTS = -qscale 10
165 fate-vsynth%-flv:                FMT     = flv
166
167 FATE_VCODEC-$(call ENCDEC, H261, AVI)   += h261 h261-trellis
168 fate-vsynth%-h261:               ENCOPTS = -qscale 11
169 fate-vsynth%-h261-trellis:       ENCOPTS = -qscale 12 -trellis 1 -mbd rd
170
171 FATE_VCODEC-$(call ENCDEC, H263, AVI)   += h263 h263-obmc h263p
172 fate-vsynth%-h263:               ENCOPTS = -qscale 10
173 fate-vsynth%-h263-obmc:          ENCOPTS = -qscale 10 -obmc 1
174 fate-vsynth%-h263p:              ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -ps 300
175
176 FATE_VCODEC-$(call ENCDEC, HUFFYUV, AVI) += huffyuv huffyuvbgr24 huffyuvbgra
177 fate-vsynth%-huffyuv:            ENCOPTS = -vcodec huffyuv -pix_fmt yuv422p -sws_flags neighbor
178 fate-vsynth%-huffyuv:            DECOPTS = -sws_flags neighbor
179 fate-vsynth%-huffyuvbgr24:       ENCOPTS = -vcodec huffyuv -pix_fmt bgr24 -sws_flags neighbor
180 fate-vsynth%-huffyuvbgr24:       DECOPTS = -sws_flags neighbor
181 fate-vsynth%-huffyuvbgra:        ENCOPTS = -vcodec huffyuv -pix_fmt bgr32 -sws_flags neighbor
182 fate-vsynth%-huffyuvbgra:        DECOPTS = -sws_flags neighbor
183
184 FATE_VCODEC-$(call ENCDEC, JPEGLS, AVI) += jpegls
185 fate-vsynth%-jpegls:             ENCOPTS = -sws_flags neighbor+full_chroma_int
186 fate-vsynth%-jpegls:             DECOPTS = -sws_flags area
187
188 FATE_VCODEC-$(call ENCDEC, JPEG2000, AVI) += jpeg2000 jpeg2000-97
189 fate-vsynth%-jpeg2000:                ENCOPTS = -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24
190 fate-vsynth%-jpeg2000:                DECINOPTS = -vcodec jpeg2000
191 fate-vsynth%-jpeg2000-97:             ENCOPTS = -qscale 7 -strict experimental -pix_fmt rgb24
192 fate-vsynth%-jpeg2000-97:             DECINOPTS = -vcodec jpeg2000
193
194 FATE_VCODEC-$(call ENCDEC, LJPEG MJPEG, AVI) += ljpeg
195 fate-vsynth%-ljpeg:              ENCOPTS = -strict -1
196
197 FATE_VCODEC-$(call ENCDEC, MJPEG, AVI)  += mjpeg mjpeg-422 mjpeg-444 mjpeg-trell
198 fate-vsynth%-mjpeg:              ENCOPTS = -qscale 9 -pix_fmt yuvj420p
199 fate-vsynth%-mjpeg-422:          ENCOPTS = -qscale 9 -pix_fmt yuvj422p
200 fate-vsynth%-mjpeg-444:          ENCOPTS = -qscale 9 -pix_fmt yuvj444p
201 fate-vsynth%-mjpeg-trell:        ENCOPTS = -qscale 9 -pix_fmt yuvj420p -trellis 1
202
203 FATE_VCODEC-$(call ENCDEC, MPEG1VIDEO, MPEG1VIDEO MPEGVIDEO) += mpeg1 mpeg1b
204 fate-vsynth%-mpeg1:              FMT     = mpeg1video
205 fate-vsynth%-mpeg1:              CODEC   = mpeg1video
206 fate-vsynth%-mpeg1:              ENCOPTS = -qscale 10
207
208 fate-vsynth%-mpeg1b:             CODEC   = mpeg1video
209 fate-vsynth%-mpeg1b:             ENCOPTS = -qscale 8 -bf 3 -ps 200
210 fate-vsynth%-mpeg1b:             FMT     = mpeg1video
211
212 FATE_MPEG2 = mpeg2                                                      \
213              mpeg2-422                                                  \
214              mpeg2-idct-int                                             \
215              mpeg2-ilace                                                \
216              mpeg2-ivlc-qprd                                            \
217              mpeg2-thread                                               \
218              mpeg2-thread-ivlc
219
220 FATE_VCODEC-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
221
222 $(FATE_MPEG2:%=fate-vsynth\%-%): FMT    = mpeg2video
223 $(FATE_MPEG2:%=fate-vsynth\%-%): CODEC  = mpeg2video
224
225 fate-vsynth%-mpeg2:              ENCOPTS = -qscale 10
226 fate-vsynth%-mpeg2-422:          ENCOPTS = -b:v 1000k                   \
227                                            -bf 2                        \
228                                            -trellis 1                   \
229                                            -flags +ildct+ilme           \
230                                            -mpv_flags +qp_rd+mv0        \
231                                            -intra_vlc 1                 \
232                                            -mbd rd                      \
233                                            -pix_fmt yuv422p
234 fate-vsynth%-mpeg2-idct-int:     ENCOPTS = -qscale 10 -idct int -dct int
235 fate-vsynth%-mpeg2-ilace:        ENCOPTS = -qscale 10 -flags +ildct+ilme
236 fate-vsynth%-mpeg2-ivlc-qprd:    ENCOPTS = -b:v 500k                    \
237                                            -bf 2                        \
238                                            -trellis 1                   \
239                                            -mpv_flags +qp_rd+mv0        \
240                                            -intra_vlc 1                 \
241                                            -cmp 2 -subcmp 2             \
242                                            -mbd rd
243 fate-vsynth%-mpeg2-thread:       ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
244                                            -threads 2 -slices 2
245 fate-vsynth%-mpeg2-thread-ivlc:  ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
246                                            -intra_vlc 1 -threads 2 -slices 2
247
248 FATE_MPEG4_MP4 = mpeg4
249 FATE_MPEG4_AVI = mpeg4-rc                                               \
250                  mpeg4-adv                                              \
251                  mpeg4-qprd                                             \
252                  mpeg4-adap                                             \
253                  mpeg4-qpel                                             \
254                  mpeg4-thread                                           \
255                  mpeg4-error                                            \
256                  mpeg4-nr                                               \
257                  mpeg4-nsse
258
259 FATE_VCODEC-$(call ENCDEC, MPEG4, MP4 MOV) += $(FATE_MPEG4_MP4)
260 FATE_VCODEC-$(call ENCDEC, MPEG4, AVI)     += $(FATE_MPEG4_AVI)
261
262 fate-vsynth%-mpeg4:              ENCOPTS = -qscale 10 -flags +mv4 -mbd bits
263 fate-vsynth%-mpeg4:              FMT     = mp4
264
265 fate-vsynth%-mpeg4-adap:         ENCOPTS = -b 550k -bf 2 -flags +mv4     \
266                                            -trellis 1 -cmp 1 -subcmp 2   \
267                                            -mbd rd -scplx_mask 0.3       \
268                                            -mpv_flags +mv0
269
270 fate-vsynth%-mpeg4-adv:          ENCOPTS = -qscale 9 -flags +mv4+aic       \
271                                            -data_partitioning 1 -trellis 1 \
272                                            -mbd bits -ps 200
273
274 fate-vsynth%-mpeg4-error:        ENCOPTS = -qscale 7 -flags +mv4+aic    \
275                                            -data_partitioning 1 -mbd rd \
276                                            -ps 250 -error_rate 10
277
278 fate-vsynth%-mpeg4-nr:           ENCOPTS = -qscale 8 -flags +mv4 -mbd rd \
279                                            -noise_reduction 200
280
281 fate-vsynth%-mpeg4-nsse:         ENCOPTS = -qscale 7 -cmp nsse -subcmp nsse \
282                                            -mbcmp nsse -precmp nsse         \
283                                            -skipcmp nsse
284
285 fate-vsynth%-mpeg4-qpel:         ENCOPTS = -qscale 7 -flags +mv4+qpel -mbd 2 \
286                                            -bf 2 -cmp 1 -subcmp 2
287
288 fate-vsynth%-mpeg4-qprd:         ENCOPTS = -b 450k -bf 2 -trellis 1          \
289                                            -flags +mv4 -mpv_flags +qp_rd+mv0 \
290                                            -cmp 2 -subcmp 2 -mbd rd
291
292 fate-vsynth%-mpeg4-rc:           ENCOPTS = -b 400k -bf 2
293
294 fate-vsynth%-mpeg4-thread:       ENCOPTS = -b 500k -flags +mv4+aic         \
295                                            -data_partitioning 1 -trellis 1 \
296                                            -mbd bits -ps 200 -bf 2         \
297                                            -threads 2 -slices 2
298
299 FATE_VCODEC-$(call ENCDEC, MSMPEG4V3, AVI) += msmpeg4
300 fate-vsynth%-msmpeg4:            ENCOPTS = -qscale 10
301
302 FATE_VCODEC-$(call ENCDEC, MSMPEG4V2, AVI) += msmpeg4v2
303 fate-vsynth%-msmpeg4v2:          ENCOPTS = -qscale 10
304
305 FATE_VCODEC-$(call ENCDEC, PNG, AVI)    += mpng
306 fate-vsynth%-mpng:               CODEC   = png
307
308 FATE_VCODEC-$(call ENCDEC, MSVIDEO1, AVI) += msvideo1
309
310 FATE_VCODEC-$(call ENCDEC, PRORES, MOV) += prores prores_ks
311 fate-vsynth%-prores:             FMT     = mov
312
313 fate-vsynth%-prores_ks:          ENCOPTS = -profile hq
314 fate-vsynth%-prores_ks:          FMT     = mov
315
316 FATE_VCODEC-$(call ENCDEC, QTRLE, MOV)  += qtrle qtrlegray
317 fate-vsynth%-qtrle:              FMT     = mov
318
319 fate-vsynth%-qtrlegray:          CODEC   = qtrle
320 fate-vsynth%-qtrlegray:          ENCOPTS = -pix_fmt gray
321 fate-vsynth%-qtrlegray:          FMT     = mov
322
323 FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += rgb bpp1 bpp15
324 fate-vsynth%-rgb:                CODEC   = rawvideo
325 fate-vsynth%-rgb:                ENCOPTS = -pix_fmt bgr24
326 fate-vsynth%-bpp1:               CODEC   = rawvideo
327 fate-vsynth%-bpp1:               ENCOPTS = -pix_fmt monow
328 fate-vsynth%-bpp15:              CODEC   = rawvideo
329 fate-vsynth%-bpp15:              ENCOPTS = -pix_fmt bgr555le
330
331 FATE_VCODEC-$(call ENCDEC, RAWVIDEO, MOV) += mov-bgr24 mov-bpp15 mov-bpp16
332 fate-vsynth%-mov-bgr24:          CODEC   = rawvideo
333 fate-vsynth%-mov-bgr24:          ENCOPTS = -pix_fmt bgr24
334 fate-vsynth%-mov-bgr24:          FMT      = mov
335 fate-vsynth%-mov-bpp15:          CODEC   = rawvideo
336 fate-vsynth%-mov-bpp15:          ENCOPTS = -pix_fmt rgb555le
337 fate-vsynth%-mov-bpp15:          FMT      = mov
338 fate-vsynth%-mov-bpp16:          CODEC   = rawvideo
339 fate-vsynth%-mov-bpp16:          ENCOPTS = -pix_fmt rgb565le
340 fate-vsynth%-mov-bpp16:          FMT      = mov
341
342 FATE_VCODEC-$(call ENCDEC, ROQ, ROQ)    += roqvideo
343 fate-vsynth%-roqvideo:           CODEC   = roqvideo
344 fate-vsynth%-roqvideo:           ENCOPTS = -frames 5
345 fate-vsynth%-roqvideo:           RAWDECOPTS = -r 30
346 fate-vsynth%-roqvideo:           FMT     = roq
347
348 FATE_VCODEC-$(call ENCDEC, RV10, RM)    += rv10
349 fate-vsynth%-rv10:               ENCOPTS = -qscale 10
350 fate-vsynth%-rv10:               FMT     = rm
351
352 FATE_VCODEC-$(call ENCDEC, RV20, RM)    += rv20
353 fate-vsynth%-rv20:               ENCOPTS = -qscale 10
354 fate-vsynth%-rv20:               FMT     = rm
355
356 FATE_VCODEC-$(call ENCDEC, SNOW, AVI)   += snow snow-hpel snow-ll
357 fate-vsynth%-snow:               ENCOPTS = -qscale 2 -flags +qpel \
358                                            -me_method iter -dia_size 2       \
359                                            -cmp 12 -subcmp 12 -s 128x64
360
361 fate-vsynth%-snow-hpel:          ENCOPTS = -qscale 2              \
362                                            -me_method iter -dia_size 2       \
363                                            -cmp 12 -subcmp 12 -s 128x64
364
365 fate-vsynth%-snow-ll:            ENCOPTS = -qscale .001 -pred 1 \
366                                            -flags +mv4+qpel
367
368 FATE_VCODEC-$(call ENCDEC, SVQ1, MOV)   += svq1
369 fate-vsynth%-svq1:               ENCOPTS = -qscale 3 -pix_fmt yuv410p
370 fate-vsynth%-svq1:               FMT     = mov
371
372 FATE_VCODEC-$(call ENCDEC, R210, AVI)   += r210
373
374 FATE_VCODEC-$(call ENCDEC, V210, AVI)   += v210 v210-10
375 fate-vsynth%-v210-10:            ENCOPTS = -pix_fmt yuv422p10
376
377 FATE_VCODEC-$(call ENCDEC, V308, AVI)   += v308
378
379 FATE_VCODEC-$(call ENCDEC, V408, AVI)   += v408
380 fate-vsynth%-v408:               ENCOPTS = -sws_flags neighbor+bitexact
381 fate-vsynth%-v408:               DECOPTS = -sws_flags neighbor+bitexact
382
383 FATE_VCODEC-$(call ENCDEC, AVUI, MOV)   += avui
384 fate-vsynth%-avui:               ENCOPTS = -s pal -strict experimental -sws_flags neighbor+bitexact
385 fate-vsynth%-avui:               DECOPTS = -sws_flags neighbor+bitexact
386 fate-vsynth%-avui:               FMT     = mov
387
388 FATE_VCODEC-$(call ENCDEC, WMV1, AVI)   += wmv1
389 fate-vsynth%-wmv1:               ENCOPTS = -qscale 10
390
391 FATE_VCODEC-$(call ENCDEC, WMV2, AVI)   += wmv2
392 fate-vsynth%-wmv2:               ENCOPTS = -qscale 10
393
394 FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += yuv
395 fate-vsynth%-yuv:                CODEC = rawvideo
396
397 FATE_VCODEC-$(call ENCDEC, XFACE, NUT) += xface
398 fate-vsynth%-xface:              ENCOPTS = -s 48x48 -sws_flags neighbor+bitexact
399 fate-vsynth%-xface:              DECOPTS = -sws_flags neighbor+bitexact
400 fate-vsynth%-xface:              FMT = nut
401
402 FATE_VCODEC-$(call ENCDEC, YUV4, AVI) += yuv4
403
404 FATE_VCODEC-$(call ENCDEC, Y41P, AVI) += y41p
405
406 FATE_VCODEC-$(call ENCDEC, ZLIB, AVI) += zlib
407
408 FATE_VCODEC += $(FATE_VCODEC-yes)
409 FATE_VSYNTH1 = $(FATE_VCODEC:%=fate-vsynth1-%)
410 FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%)
411 FATE_VSYNTH_LENA = $(FATE_VCODEC:%=fate-vsynth_lena-%)
412 # Redundant tests because they just resize the input
413 RESIZE_OFF   = dnxhd-720p dnxhd-720p-rd dnxhd-720p-10bit dnxhd-1080i \
414                dv dv-411 dv-50 avui snow snow-hpel snow-ll vc2-420p \
415                vc2-420p10 vc2-420p12 vc2-422p vc2-422p10 vc2-422p12 \
416                vc2-444p vc2-444p10 vc2-444p12
417 # Incorrect parameters - usually size or color format restrictions
418 INC_PAR_OFF  = cinepak h261 h261-trellis h263 h263p h263-obmc msvideo1 \
419                roqvideo rv10 rv20 y41p qtrlegray
420 VSYNTH3_OFF  = $(RESIZE_OFF) $(INC_PAR_OFF)
421
422 FATE_VCODEC3 = $(filter-out $(VSYNTH3_OFF),$(FATE_VCODEC))
423 FATE_VSYNTH3 = $(FATE_VCODEC3:%=fate-vsynth3-%)
424
425 $(FATE_VSYNTH1): tests/data/vsynth1.yuv
426 $(FATE_VSYNTH2): tests/data/vsynth2.yuv
427 $(FATE_VSYNTH_LENA): tests/data/vsynth_lena.yuv
428 $(FATE_VSYNTH3): tests/data/vsynth3.yuv
429
430 FATE_AVCONV += $(FATE_VSYNTH1) $(FATE_VSYNTH2) $(FATE_VSYNTH3)
431 FATE_SAMPLES_AVCONV += $(FATE_VSYNTH_LENA)
432
433 fate-vsynth1: $(FATE_VSYNTH1)
434 fate-vsynth2: $(FATE_VSYNTH2)
435 fate-vsynth_lena: $(FATE_VSYNTH_LENA)
436 fate-vsynth3: $(FATE_VSYNTH3)
437 fate-vcodec:  fate-vsynth1 fate-vsynth_lena fate-vsynth2 fate-vsynth3