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