FATE: enable multiple slices in the ffv1 vsynth test
[libav.git] / tests / fate / vcodec.mak
CommitLineData
f919cc7d
MR
1fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
2fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
3fate-vsynth%: CODEC = $(word 3, $(subst -, ,$(@)))
4fate-vsynth%: FMT = avi
9146e872 5fate-vsynth%: CMD = enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s 352x288 -pix_fmt yuv420p $(DECOPTS)" -keep
f919cc7d 6fate-vsynth%: CMP_UNIT = 1
c8148e5c 7fate-vsynth%: REF = $(SRC_PATH)/tests/ref/vsynth/$(@:fate-%=%)
f919cc7d 8
b262e455 9FATE_VCODEC-$(call ENCDEC, ASV1, AVI) += asv1
7263cd55
MR
10fate-vsynth%-asv1: ENCOPTS = -qscale 10
11
b262e455 12FATE_VCODEC-$(call ENCDEC, ASV2, AVI) += asv2
7263cd55
MR
13fate-vsynth%-asv2: ENCOPTS = -qscale 10
14
b262e455
MR
15FATE_VCODEC-$(call ENCDEC, CLJR, AVI) += cljr
16
17FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \
18 dnxhd-720p-rd \
19 dnxhd-720p-10bit
7263cd55 20
7263cd55
MR
21fate-vsynth%-dnxhd-720p: ENCOPTS = -s hd720 -b 90M \
22 -pix_fmt yuv422p -frames 5
23fate-vsynth%-dnxhd-720p: FMT = dnxhd
24
7263cd55
MR
25fate-vsynth%-dnxhd-720p-rd: ENCOPTS = -s hd720 -b 90M -threads 4 -mbd rd \
26 -pix_fmt yuv422p -frames 5
27fate-vsynth%-dnxhd-720p-rd: FMT = dnxhd
28
7263cd55
MR
29fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \
30 -pix_fmt yuv422p10 -frames 5
31fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd
32
b262e455 33FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i
7263cd55
MR
34fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \
35 -pix_fmt yuv422p -frames 5
36fate-vsynth%-dnxhd-1080i: FMT = mov
37
b262e455 38FATE_VCODEC-$(call ENCDEC, DVVIDEO, DV) += dv dv-411 dv-50
7263cd55
MR
39fate-vsynth%-dv: CODEC = dvvideo
40fate-vsynth%-dv: ENCOPTS = -dct int -s pal
41fate-vsynth%-dv: FMT = dv
42
7263cd55
MR
43fate-vsynth%-dv-411: CODEC = dvvideo
44fate-vsynth%-dv-411: ENCOPTS = -dct int -s pal -pix_fmt yuv411p \
45 -sws_flags area
46fate-vsynth%-dv-411: DECOPTS = -sws_flags area
47fate-vsynth%-dv-411: FMT = dv
48
7263cd55
MR
49fate-vsynth%-dv-50: CODEC = dvvideo
50fate-vsynth%-dv-50: ENCOPTS = -dct int -s pal -pix_fmt yuv422p \
51 -sws_flags neighbor
52fate-vsynth%-dv-50: DECOPTS = -sws_flags neighbor
53fate-vsynth%-dv-50: FMT = dv
54
b262e455 55FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1
bde48aa9 56fate-vsynth%-ffv1: ENCOPTS = -slices 4 -strict -2
7263cd55 57
b262e455 58FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff
7263cd55 59
b262e455 60FATE_VCODEC-$(call ENCDEC, FLASHSV, FLV) += flashsv
7263cd55
MR
61fate-vsynth%-flashsv: ENCOPTS = -sws_flags neighbor+full_chroma_int
62fate-vsynth%-flashsv: DECOPTS = -sws_flags area
63fate-vsynth%-flashsv: FMT = flv
64
b262e455 65FATE_VCODEC-$(call ENCDEC, FLV, FLV) += flv
7263cd55
MR
66fate-vsynth%-flv: ENCOPTS = -qscale 10
67fate-vsynth%-flv: FMT = flv
68
b262e455 69FATE_VCODEC-$(call ENCDEC, H261, AVI) += h261
7263cd55
MR
70fate-vsynth%-h261: ENCOPTS = -qscale 11
71
b262e455 72FATE_VCODEC-$(call ENCDEC, H263, AVI) += h263 h263-obmc h263p
7263cd55 73fate-vsynth%-h263: ENCOPTS = -qscale 10
b404c660 74fate-vsynth%-h263-obmc: ENCOPTS = -qscale 10 -obmc 1
7263cd55
MR
75fate-vsynth%-h263p: ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -ps 300
76
b262e455 77FATE_VCODEC-$(call ENCDEC, HUFFYUV, AVI) += huffyuv
7263cd55
MR
78fate-vsynth%-huffyuv: ENCOPTS = -pix_fmt yuv422p -sws_flags neighbor
79fate-vsynth%-huffyuv: DECOPTS = -strict -2 -sws_flags neighbor
80
b262e455 81FATE_VCODEC-$(call ENCDEC, JPEGLS, AVI) += jpegls
7263cd55
MR
82fate-vsynth%-jpegls: ENCOPTS = -sws_flags neighbor+full_chroma_int
83fate-vsynth%-jpegls: DECOPTS = -sws_flags area
84
b262e455 85FATE_VCODEC-$(call ENCDEC, LJPEG MJPEG, AVI) += ljpeg
7263cd55
MR
86fate-vsynth%-ljpeg: ENCOPTS = -strict -1
87
b262e455 88FATE_VCODEC-$(call ENCDEC, MJPEG, AVI) += mjpeg
7263cd55
MR
89fate-vsynth%-mjpeg: ENCOPTS = -qscale 9 -pix_fmt yuvj420p
90
b262e455 91FATE_VCODEC-$(call ENCDEC, MPEG1VIDEO, MPEG1VIDEO MPEGVIDEO) += mpeg1 mpeg1b
7263cd55
MR
92fate-vsynth%-mpeg1: FMT = mpeg1video
93fate-vsynth%-mpeg1: CODEC = mpeg1video
94fate-vsynth%-mpeg1: ENCOPTS = -qscale 10
95
7263cd55
MR
96fate-vsynth%-mpeg1b: CODEC = mpeg1video
97fate-vsynth%-mpeg1b: ENCOPTS = -qscale 8 -bf 3 -ps 200
98fate-vsynth%-mpeg1b: FMT = mpeg1video
99
100FATE_MPEG2 = mpeg2 \
101 mpeg2-422 \
102 mpeg2-idct-int \
103 mpeg2-ilace \
104 mpeg2-ivlc-qprd \
105 mpeg2-thread \
106 mpeg2-thread-ivlc
107
b262e455 108FATE_VCODEC-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
7263cd55
MR
109
110$(FATE_MPEG2:%=fate-vsynth\%-%): FMT = mpeg2video
111$(FATE_MPEG2:%=fate-vsynth\%-%): CODEC = mpeg2video
112
113fate-vsynth%-mpeg2: ENCOPTS = -qscale 10
114fate-vsynth%-mpeg2-422: ENCOPTS = -vb 1000k \
115 -bf 2 \
116 -trellis 1 \
117 -flags +mv0+ildct+ilme \
118 -mpv_flags +qp_rd \
119 -intra_vlc 1 \
120 -mbd rd \
121 -pix_fmt yuv422p
122fate-vsynth%-mpeg2-idct-int: ENCOPTS = -qscale 10 -idct int -dct int
123fate-vsynth%-mpeg2-ilace: ENCOPTS = -qscale 10 -flags +ildct+ilme
124fate-vsynth%-mpeg2-ivlc-qprd: ENCOPTS = -vb 500k \
125 -bf 2 \
126 -trellis 1 \
127 -flags +mv0 \
128 -mpv_flags +qp_rd \
129 -intra_vlc 1 \
130 -cmp 2 -subcmp 2 \
131 -mbd rd
132fate-vsynth%-mpeg2-thread: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
133 -threads 2 -slices 2
134fate-vsynth%-mpeg2-thread-ivlc: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
135 -intra_vlc 1 -threads 2 -slices 2
136
b262e455
MR
137FATE_MPEG4_MP4 = mpeg4
138FATE_MPEG4_AVI = mpeg4-rc \
139 mpeg4-adv \
140 mpeg4-qprd \
141 mpeg4-adap \
142 mpeg4-qpel \
143 mpeg4-thread \
144 mpeg4-error \
145 mpeg4-nr
146
147FATE_VCODEC-$(call ENCDEC, MPEG4, MP4 MOV) += $(FATE_MPEG4_MP4)
148FATE_VCODEC-$(call ENCDEC, MPEG4, AVI) += $(FATE_MPEG4_AVI)
149
7263cd55
MR
150fate-vsynth%-mpeg4: ENCOPTS = -qscale 10 -flags +mv4 -mbd bits
151fate-vsynth%-mpeg4: FMT = mp4
152
4d3b144c
DB
153fate-vsynth%-mpeg4-adap: ENCOPTS = -b 550k -bf 2 -flags +mv4+mv0 \
154 -trellis 1 -cmp 1 -subcmp 2 \
155 -mbd rd -scplx_mask 0.3
7263cd55 156
7263cd55
MR
157fate-vsynth%-mpeg4-adv: ENCOPTS = -qscale 9 -flags +mv4+aic \
158 -data_partitioning 1 -trellis 1 \
159 -mbd bits -ps 200
160
4d3b144c
DB
161fate-vsynth%-mpeg4-error: ENCOPTS = -qscale 7 -flags +mv4+aic \
162 -data_partitioning 1 -mbd rd \
163 -ps 250 -error 10
7263cd55 164
4d3b144c 165fate-vsynth%-mpeg4-nr: ENCOPTS = -qscale 8 -flags +mv4 -mbd rd -nr 200
7263cd55 166
7263cd55
MR
167fate-vsynth%-mpeg4-qpel: ENCOPTS = -qscale 7 -flags +mv4+qpel -mbd 2 \
168 -bf 2 -cmp 1 -subcmp 2
169
4d3b144c
DB
170fate-vsynth%-mpeg4-qprd: ENCOPTS = -b 450k -bf 2 -trellis 1 \
171 -flags +mv4+mv0 -mpv_flags +qp_rd \
172 -cmp 2 -subcmp 2 -mbd rd
173
174fate-vsynth%-mpeg4-rc: ENCOPTS = -b 400k -bf 2
175
7263cd55
MR
176fate-vsynth%-mpeg4-thread: ENCOPTS = -b 500k -flags +mv4+aic \
177 -data_partitioning 1 -trellis 1 \
178 -mbd bits -ps 200 -bf 2 \
179 -threads 2 -slices 2
180
b262e455 181FATE_VCODEC-$(call ENCDEC, MSMPEG4V3, AVI) += msmpeg4
7263cd55
MR
182fate-vsynth%-msmpeg4: ENCOPTS = -qscale 10
183
b262e455 184FATE_VCODEC-$(call ENCDEC, MSMPEG4V2, AVI) += msmpeg4v2
7263cd55
MR
185fate-vsynth%-msmpeg4v2: ENCOPTS = -qscale 10
186
b262e455 187FATE_VCODEC-$(call ENCDEC, PRORES, MOV) += prores
7263cd55
MR
188fate-vsynth%-prores: ENCOPTS = -profile hq
189fate-vsynth%-prores: FMT = mov
190
b262e455 191FATE_VCODEC-$(call ENCDEC, QTRLE, MOV) += qtrle
7263cd55
MR
192fate-vsynth%-qtrle: FMT = mov
193
b262e455 194FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += rgb
7263cd55
MR
195fate-vsynth%-rgb: CODEC = rawvideo
196fate-vsynth%-rgb: ENCOPTS = -pix_fmt bgr24
197
b262e455 198FATE_VCODEC-$(call ENCDEC, ROQ, ROQ) += roqvideo
7263cd55
MR
199fate-vsynth%-roqvideo: CODEC = roqvideo
200fate-vsynth%-roqvideo: ENCOPTS = -frames 5
201fate-vsynth%-roqvideo: FMT = roq
202
b262e455 203FATE_VCODEC-$(call ENCDEC, RV10, RM) += rv10
7263cd55
MR
204fate-vsynth%-rv10: ENCOPTS = -qscale 10
205fate-vsynth%-rv10: FMT = rm
206
b262e455 207FATE_VCODEC-$(call ENCDEC, RV20, RM) += rv20
7263cd55
MR
208fate-vsynth%-rv20: ENCOPTS = -qscale 10
209fate-vsynth%-rv20: FMT = rm
210
b262e455 211FATE_VCODEC-$(call ENCDEC, SVQ1, MOV) += svq1
7263cd55
MR
212fate-vsynth%-svq1: ENCOPTS = -qscale 3 -pix_fmt yuv410p
213fate-vsynth%-svq1: FMT = mov
214
b262e455 215FATE_VCODEC-$(call ENCDEC, V210, AVI) += v210
7263cd55 216
b262e455 217FATE_VCODEC-$(call ENCDEC, WMV1, AVI) += wmv1
7263cd55
MR
218fate-vsynth%-wmv1: ENCOPTS = -qscale 10
219
b262e455 220FATE_VCODEC-$(call ENCDEC, WMV2, AVI) += wmv2
9146e872 221fate-vsynth%-wmv2: ENCOPTS = -qscale 10
7263cd55 222
b262e455 223FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += yuv
7263cd55
MR
224fate-vsynth%-yuv: CODEC = rawvideo
225
b262e455 226FATE_VCODEC += $(FATE_VCODEC-yes)
7263cd55
MR
227FATE_VSYNTH1 = $(FATE_VCODEC:%=fate-vsynth1-%)
228FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%)
229
230$(FATE_VSYNTH1): tests/data/vsynth1.yuv
231$(FATE_VSYNTH2): tests/data/vsynth2.yuv
232
233FATE_AVCONV += $(FATE_VSYNTH1) $(FATE_VSYNTH2)
234
235fate-vsynth1: $(FATE_VSYNTH1)
236fate-vsynth2: $(FATE_VSYNTH2)
237fate-vcodec: fate-vsynth1 fate-vsynth2