g722: Add a fate test for the encoder
[ffmpeg.git] / tests / fate2.mak
1 FATE_TESTS += fate-twinvq
2 fate-twinvq: CMD = pcm -i $(SAMPLES)/vqf/achterba.vqf
3 fate-twinvq: CMP = oneoff
4 fate-twinvq: REF = $(SAMPLES)/vqf/achterba.pcm
5
6 FATE_TESTS += fate-sipr-16k
7 fate-sipr-16k: CMD = pcm -i $(SAMPLES)/sipr/sipr_16k.rm
8 fate-sipr-16k: CMP = oneoff
9 fate-sipr-16k: REF = $(SAMPLES)/sipr/sipr_16k.pcm
10
11 FATE_TESTS += fate-sipr-8k5
12 fate-sipr-8k5: CMD = pcm -i $(SAMPLES)/sipr/sipr_8k5.rm
13 fate-sipr-8k5: CMP = oneoff
14 fate-sipr-8k5: REF = $(SAMPLES)/sipr/sipr_8k5.pcm
15
16 FATE_TESTS += fate-sipr-6k5
17 fate-sipr-6k5: CMD = pcm -i $(SAMPLES)/sipr/sipr_6k5.rm
18 fate-sipr-6k5: CMP = oneoff
19 fate-sipr-6k5: REF = $(SAMPLES)/sipr/sipr_6k5.pcm
20
21 FATE_TESTS += fate-sipr-5k0
22 fate-sipr-5k0: CMD = pcm -i $(SAMPLES)/sipr/sipr_5k0.rm
23 fate-sipr-5k0: CMP = oneoff
24 fate-sipr-5k0: REF = $(SAMPLES)/sipr/sipr_5k0.pcm
25
26 FATE_TESTS += fate-ra-288
27 fate-ra-288: CMD = pcm -i $(SAMPLES)/real/ra_288.rm
28 fate-ra-288: CMP = oneoff
29 fate-ra-288: REF = $(SAMPLES)/real/ra_288.pcm
30 fate-ra-288: FUZZ = 2
31
32 FATE_TESTS += fate-ra-cook
33 fate-ra-cook: CMD = pcm -i $(SAMPLES)/real/ra_cook.rm
34 fate-ra-cook: CMP = oneoff
35 fate-ra-cook: REF = $(SAMPLES)/real/ra_cook.pcm
36
37 FATE_TESTS += fate-mpeg2-field-enc
38 fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an
39
40 FATE_TESTS += fate-qcelp
41 fate-qcelp: CMD = pcm -i $(SAMPLES)/qcp/0036580847.QCP
42 fate-qcelp: CMP = oneoff
43 fate-qcelp: REF = $(SAMPLES)/qcp/0036580847.pcm
44
45 FATE_TESTS += fate-qdm2
46 fate-qdm2: CMD = pcm -i $(SAMPLES)/qt-surge-suite/surge-2-16-B-QDM2.mov
47 fate-qdm2: CMP = oneoff
48 fate-qdm2: REF = $(SAMPLES)/qt-surge-suite/surge-2-16-B-QDM2.pcm
49 fate-qdm2: FUZZ = 2
50
51 FATE_TESTS += fate-imc
52 fate-imc: CMD = pcm -i $(SAMPLES)/imc/imc.avi
53 fate-imc: CMP = oneoff
54 fate-imc: REF = $(SAMPLES)/imc/imc.pcm
55
56 FATE_TESTS += fate-yop
57 fate-yop: CMD = framecrc -i $(SAMPLES)/yop/test1.yop -pix_fmt rgb24 -an
58
59 FATE_TESTS += fate-pictor
60 fate-pictor: CMD = framecrc -i $(SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24 -an
61
62 FATE_TESTS += fate-dts
63 fate-dts: CMD = pcm -i $(SAMPLES)/dts/dts.ts
64 fate-dts: CMP = oneoff
65 fate-dts: REF = $(SAMPLES)/dts/dts.pcm
66
67 FATE_TESTS += fate-nellymoser
68 fate-nellymoser: CMD = pcm -i $(SAMPLES)/nellymoser/nellymoser.flv
69 fate-nellymoser: CMP = oneoff
70 fate-nellymoser: REF = $(SAMPLES)/nellymoser/nellymoser.pcm
71
72 FATE_TESTS += fate-truespeech
73 fate-truespeech: CMD = pcm -i $(SAMPLES)/truespeech/a6.wav
74 fate-truespeech: CMP = oneoff
75 fate-truespeech: REF = $(SAMPLES)/truespeech/a6.pcm
76
77 FATE_TESTS += fate-ac3-2.0
78 fate-ac3-2.0: CMD = pcm -i $(SAMPLES)/ac3/monsters_inc_2.0_192_small.ac3
79 fate-ac3-2.0: CMP = oneoff
80 fate-ac3-2.0: REF = $(SAMPLES)/ac3/monsters_inc_2.0_192_small.pcm
81
82 FATE_TESTS += fate-ac3-5.1
83 fate-ac3-5.1: CMD = pcm -i $(SAMPLES)/ac3/monsters_inc_5.1_448_small.ac3
84 fate-ac3-5.1: CMP = oneoff
85 fate-ac3-5.1: REF = $(SAMPLES)/ac3/monsters_inc_5.1_448_small.pcm
86
87 FATE_TESTS += fate-eac3-1
88 fate-eac3-1: CMD = pcm -i $(SAMPLES)/eac3/csi_miami_5.1_256_spx_small.eac3
89 fate-eac3-1: CMP = oneoff
90 fate-eac3-1: REF = $(SAMPLES)/eac3/csi_miami_5.1_256_spx_small.pcm
91
92 FATE_TESTS += fate-eac3-2
93 fate-eac3-2: CMD = pcm -i $(SAMPLES)/eac3/csi_miami_stereo_128_spx_small.eac3
94 fate-eac3-2: CMP = oneoff
95 fate-eac3-2: REF = $(SAMPLES)/eac3/csi_miami_stereo_128_spx_small.pcm
96
97 FATE_TESTS += fate-eac3-3
98 fate-eac3-3: CMD = pcm -i $(SAMPLES)/eac3/matrix2_commentary1_stereo_192_small.eac3
99 fate-eac3-3: CMP = oneoff
100 fate-eac3-3: REF = $(SAMPLES)/eac3/matrix2_commentary1_stereo_192_small.pcm
101
102 FATE_TESTS += fate-eac3-4
103 fate-eac3-4: CMD = pcm -i $(SAMPLES)/eac3/serenity_english_5.1_1536_small.eac3
104 fate-eac3-4: CMP = oneoff
105 fate-eac3-4: REF = $(SAMPLES)/eac3/serenity_english_5.1_1536_small.pcm
106
107 FATE_TESTS += fate-atrac1
108 fate-atrac1: CMD = pcm -i $(SAMPLES)/atrac1/test_tones_small.aea
109 fate-atrac1: CMP = oneoff
110 fate-atrac1: REF = $(SAMPLES)/atrac1/test_tones_small.pcm
111
112 FATE_TESTS += fate-atrac3-1
113 fate-atrac3-1: CMD = pcm -i $(SAMPLES)/atrac3/mc_sich_at3_066_small.wav
114 fate-atrac3-1: CMP = oneoff
115 fate-atrac3-1: REF = $(SAMPLES)/atrac3/mc_sich_at3_066_small.pcm
116
117 FATE_TESTS += fate-atrac3-2
118 fate-atrac3-2: CMD = pcm -i $(SAMPLES)/atrac3/mc_sich_at3_105_small.wav
119 fate-atrac3-2: CMP = oneoff
120 fate-atrac3-2: REF = $(SAMPLES)/atrac3/mc_sich_at3_105_small.pcm
121
122 FATE_TESTS += fate-atrac3-3
123 fate-atrac3-3: CMD = pcm -i $(SAMPLES)/atrac3/mc_sich_at3_132_small.wav
124 fate-atrac3-3: CMP = oneoff
125 fate-atrac3-3: REF = $(SAMPLES)/atrac3/mc_sich_at3_132_small.pcm
126
127 FATE_TESTS += fate-gsm
128 fate-gsm: CMD = framecrc -i $(SAMPLES)/gsm/sample-gsm-8000.mov -t 10
129
130 FATE_TESTS += fate-gsm-ms
131 fate-gsm-ms: CMD = framecrc -i $(SAMPLES)/gsm/ciao.wav
132
133 FATE_TESTS += fate-g722dec-1
134 fate-g722dec-1: CMD = framecrc -i $(SAMPLES)/g722/conf-adminmenu-162.g722
135
136 FATE_TESTS += fate-g722enc
137 fate-g722enc: tests/data/asynth-16000-1.sw
138 fate-g722enc: CMD = md5 -ar 16000 -ac 1 -f s16le -i $(TARGET_PATH)/tests/data/asynth-16000-1.sw -acodec g722 -ac 1 -f g722
139
140 FATE_TESTS += fate-msmpeg4v1
141 fate-msmpeg4v1: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/msmpeg4v1/mpg4.avi -an
142
143 FATE_TESTS += fate-wmavoice-7k
144 fate-wmavoice-7k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-7K.wma
145 fate-wmavoice-7k: CMP = stddev
146 fate-wmavoice-7k: REF = $(SAMPLES)/wmavoice/streaming_CBR-7K.pcm
147 fate-wmavoice-7k: FUZZ = 3
148
149 FATE_TESTS += fate-wmavoice-11k
150 fate-wmavoice-11k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-11K.wma
151 fate-wmavoice-11k: CMP = stddev
152 fate-wmavoice-11k: REF = $(SAMPLES)/wmavoice/streaming_CBR-11K.pcm
153 fate-wmavoice-11k: FUZZ = 3
154
155 FATE_TESTS += fate-wmavoice-19k
156 fate-wmavoice-19k: CMD = pcm -i $(SAMPLES)/wmavoice/streaming_CBR-19K.wma
157 fate-wmavoice-19k: CMP = stddev
158 fate-wmavoice-19k: REF = $(SAMPLES)/wmavoice/streaming_CBR-19K.pcm
159 fate-wmavoice-19k: FUZZ = 3
160
161 FATE_TESTS += fate-wmapro-5.1
162 fate-wmapro-5.1: CMD = pcm -i $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.wma
163 fate-wmapro-5.1: CMP = oneoff
164 fate-wmapro-5.1: REF = $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.pcm
165
166 FATE_TESTS += fate-wmapro-2ch
167 fate-wmapro-2ch: CMD = pcm -i $(SAMPLES)/wmapro/Beethovens_9th-1_small.wma
168 fate-wmapro-2ch: CMP = oneoff
169 fate-wmapro-2ch: REF = $(SAMPLES)/wmapro/Beethovens_9th-1_small.pcm
170
171 FATE_TESTS += fate-ansi
172 fate-ansi: CMD = framecrc -chars_per_frame 44100 -i $(SAMPLES)/ansi/TRE-IOM5.ANS -pix_fmt rgb24
173
174 FATE_TESTS += fate-wmv8-drm
175 # discard last packet to avoid fails due to overread of VC-1 decoder
176 fate-wmv8-drm: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(SAMPLES)/wmv8/wmv_drm.wmv -an -vframes 162
177
178 FATE_TESTS += fate-wmv8-drm-nodec
179 fate-wmv8-drm-nodec: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(SAMPLES)/wmv8/wmv_drm.wmv -acodec copy -vcodec copy
180
181 FATE_TESTS += fate-binkaudio-dct
182 fate-binkaudio-dct: CMD = pcm -i $(SAMPLES)/bink/binkaudio_dct.bik
183 fate-binkaudio-dct: CMP = oneoff
184 fate-binkaudio-dct: REF = $(SAMPLES)/bink/binkaudio_dct.pcm
185 fate-binkaudio-dct: FUZZ = 2
186
187 FATE_TESTS += fate-binkaudio-rdft
188 fate-binkaudio-rdft: CMD = pcm -i $(SAMPLES)/bink/binkaudio_rdft.bik
189 fate-binkaudio-rdft: CMP = oneoff
190 fate-binkaudio-rdft: REF = $(SAMPLES)/bink/binkaudio_rdft.pcm
191 fate-binkaudio-rdft: FUZZ = 2
192
193 FATE_TESTS += fate-txd-pal8
194 fate-txd-pal8: CMD = framecrc -i $(SAMPLES)/txd/outro.txd -pix_fmt rgb24 -an
195
196 FATE_TESTS += fate-txd-16bpp
197 fate-txd-16bpp: CMD = framecrc -i $(SAMPLES)/txd/misc.txd -pix_fmt bgra -an
198
199 FATE_TESTS += fate-vp3
200 fate-vp3: CMD = framecrc -i $(SAMPLES)/vp3/vp31.avi
201
202 FATE_TESTS += fate-fax-g3
203 fate-fax-g3: CMD = framecrc -i $(SAMPLES)/CCITT_fax/G31D.TIF
204
205 FATE_TESTS += fate-fax-g3s
206 fate-fax-g3s: CMD = framecrc -i $(SAMPLES)/CCITT_fax/G31DS.TIF
207
208 FATE_TESTS += fate-ws_snd
209 fate-ws_snd: CMD = md5  -i $(SAMPLES)/vqa/ws_snd.vqa -f s16le
210
211 FATE_TESTS += fate-dxa-scummvm
212 fate-dxa-scummvm: CMD = framecrc -i $(SAMPLES)/dxa/scummvm.dxa -pix_fmt rgb24
213
214 FATE_TESTS += fate-mjpegb
215 fate-mjpegb: CMD = framecrc -idct simple -flags +bitexact -i $(SAMPLES)/mjpegb/mjpegb_part.mov -an
216
217 FATE_TESTS += fate-rv30
218 fate-rv30: CMD = framecrc -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/real/rv30.rm -an
219
220 FATE_TESTS += fate-musepack7
221 fate-musepack7: CMD = pcm -i $(SAMPLES)/musepack/inside-mp7.mpc
222 fate-musepack7: CMP = oneoff
223 fate-musepack7: REF = $(SAMPLES)/musepack/inside-mp7.pcm
224 fate-musepack7: FUZZ = 1
225
226 FATE_TESTS += fate-iirfilter
227 fate-iirfilter: libavcodec/iirfilter-test$(EXESUF)
228 fate-iirfilter: CMD = run libavcodec/iirfilter-test