checkasm : add test for losslessvideoencdsp for diff bytes and sub_left_pred
[ffmpeg.git] / tests / fate / libswresample.mak
1 CROSS_TEST = $(foreach I,$(1),                                        \
2                  $(foreach J,$(1),                                    \
3                      $(if $(filter-out $(I),$(J)),                    \
4                          $(eval $(call $(2),$(I),$(J),$(3),$(4),$(5))),    \
5                      )))
6
7
8 SAMPLERATES = 2626 8000 44100 48000 96000
9
10 SAMPLERATES_LITE = 8000 44100 48000
11
12 SAMPLERATES_NN = 8000 44100
13
14 #note that the default is ARESAMPLE_EXACT_LIN
15 define ARESAMPLE
16 FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
17 fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
18 fate-swr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):internal_sample_fmt=$(3):exact_rational=0:linear_interp=0,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=0:linear_interp=0 -f wav -c:a pcm_s16le -
19
20 fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
21 fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
22 fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
23 fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
24 endef
25
26 #below list is generated by:
27 #you can use this if you need to update it!
28 #make -k  `make fate-list | grep swr` | egrep 'TEST|stddev' | tr '\n' '@' | sed 's#TEST *\([^@]*\)@stddev: *\([0-9.]*\)[^b@]*bytes: *\([0-9]*\) */ *\([0-9]*\)@#fate-\1: CMP_TARGET = \2@fate-\1: SIZE_TOLERANCE = \3 - \4@@#g' | tr '@' '\n'
29
30 fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67
31 fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
32
33 fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.66
34 fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
35
36 fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1352.56
37 fate-swr-resample-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
38
39 fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.67
40 fate-swr-resample-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
41
42 fate-swr-resample-dblp-44100-2626: CMP_TARGET = 185.82
43 fate-swr-resample-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
44
45 fate-swr-resample-dblp-44100-48000: CMP_TARGET = 9.69
46 fate-swr-resample-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
47
48 fate-swr-resample-dblp-44100-8000: CMP_TARGET = 75.45
49 fate-swr-resample-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
50
51 fate-swr-resample-dblp-44100-96000: CMP_TARGET = 11.46
52 fate-swr-resample-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
53
54 fate-swr-resample-dblp-48000-2626: CMP_TARGET = 456.51
55 fate-swr-resample-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
56
57 fate-swr-resample-dblp-48000-44100: CMP_TARGET = 1.00
58 fate-swr-resample-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
59
60 fate-swr-resample-dblp-48000-8000: CMP_TARGET = 62.38
61 fate-swr-resample-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
62
63 fate-swr-resample-dblp-48000-96000: CMP_TARGET = 0.47
64 fate-swr-resample-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
65
66 fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2503.33
67 fate-swr-resample-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
68
69 fate-swr-resample-dblp-8000-44100: CMP_TARGET = 15.09
70 fate-swr-resample-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
71
72 fate-swr-resample-dblp-8000-48000: CMP_TARGET = 14.69
73 fate-swr-resample-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
74
75 fate-swr-resample-dblp-8000-96000: CMP_TARGET = 13.81
76 fate-swr-resample-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
77
78 fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.07
79 fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
80
81 fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.44
82 fate-swr-resample-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
83
84 fate-swr-resample-dblp-96000-48000: CMP_TARGET = 0.99
85 fate-swr-resample-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
86
87 fate-swr-resample-dblp-96000-8000: CMP_TARGET = 58.57
88 fate-swr-resample-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
89
90 fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.67
91 fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
92
93 fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.66
94 fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
95
96 fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1352.56
97 fate-swr-resample-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
98
99 fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.67
100 fate-swr-resample-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
101
102 fate-swr-resample-fltp-44100-2626: CMP_TARGET = 185.82
103 fate-swr-resample-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
104
105 fate-swr-resample-fltp-44100-48000: CMP_TARGET = 9.69
106 fate-swr-resample-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
107
108 fate-swr-resample-fltp-44100-8000: CMP_TARGET = 75.45
109 fate-swr-resample-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
110
111 fate-swr-resample-fltp-44100-96000: CMP_TARGET = 11.46
112 fate-swr-resample-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
113
114 fate-swr-resample-fltp-48000-2626: CMP_TARGET = 456.51
115 fate-swr-resample-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
116
117 fate-swr-resample-fltp-48000-44100: CMP_TARGET = 1.00
118 fate-swr-resample-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
119
120 fate-swr-resample-fltp-48000-8000: CMP_TARGET = 62.38
121 fate-swr-resample-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
122
123 fate-swr-resample-fltp-48000-96000: CMP_TARGET = 0.47
124 fate-swr-resample-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
125
126 fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2503.33
127 fate-swr-resample-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
128
129 fate-swr-resample-fltp-8000-44100: CMP_TARGET = 15.09
130 fate-swr-resample-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
131
132 fate-swr-resample-fltp-8000-48000: CMP_TARGET = 14.69
133 fate-swr-resample-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
134
135 fate-swr-resample-fltp-8000-96000: CMP_TARGET = 13.81
136 fate-swr-resample-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
137
138 fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.07
139 fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
140
141 fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.44
142 fate-swr-resample-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
143
144 fate-swr-resample-fltp-96000-48000: CMP_TARGET = 0.99
145 fate-swr-resample-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
146
147 fate-swr-resample-fltp-96000-8000: CMP_TARGET = 58.57
148 fate-swr-resample-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
149
150 fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1392.98
151 fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
152
153 fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1393.01
154 fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
155
156 fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.36
157 fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
158
159 fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.07
160 fate-swr-resample-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
161
162 fate-swr-resample-s16p-44100-2626: CMP_TARGET = 185.84
163 fate-swr-resample-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
164
165 fate-swr-resample-s16p-44100-48000: CMP_TARGET = 9.71
166 fate-swr-resample-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
167
168 fate-swr-resample-s16p-44100-8000: CMP_TARGET = 75.46
169 fate-swr-resample-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
170
171 fate-swr-resample-s16p-44100-96000: CMP_TARGET = 11.48
172 fate-swr-resample-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
173
174 fate-swr-resample-s16p-48000-2626: CMP_TARGET = 456.55
175 fate-swr-resample-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
176
177 fate-swr-resample-s16p-48000-44100: CMP_TARGET = 1.20
178 fate-swr-resample-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
179
180 fate-swr-resample-s16p-48000-8000: CMP_TARGET = 62.41
181 fate-swr-resample-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
182
183 fate-swr-resample-s16p-48000-96000: CMP_TARGET = 0.73
184 fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
185
186 fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2503.32
187 fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
188
189 fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.13
190 fate-swr-resample-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
191
192 fate-swr-resample-s16p-8000-48000: CMP_TARGET = 14.69
193 fate-swr-resample-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
194
195 fate-swr-resample-s16p-8000-96000: CMP_TARGET = 13.83
196 fate-swr-resample-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
197
198 fate-swr-resample-s16p-96000-2626: CMP_TARGET = 675.15
199 fate-swr-resample-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
200
201 fate-swr-resample-s16p-96000-44100: CMP_TARGET = 1.62
202 fate-swr-resample-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
203
204 fate-swr-resample-s16p-96000-48000: CMP_TARGET = 1.12
205 fate-swr-resample-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
206
207 fate-swr-resample-s16p-96000-8000: CMP_TARGET = 58.60
208 fate-swr-resample-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
209
210 fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1392.99
211 fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
212
213 fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1393.01
214 fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
215
216 fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.36
217 fate-swr-resample-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
218
219 fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.00
220 fate-swr-resample-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
221
222 fate-swr-resample-s32p-44100-2626: CMP_TARGET = 185.81
223 fate-swr-resample-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
224
225 fate-swr-resample-s32p-44100-48000: CMP_TARGET = 9.70
226 fate-swr-resample-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
227
228 fate-swr-resample-s32p-44100-8000: CMP_TARGET = 75.45
229 fate-swr-resample-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
230
231 fate-swr-resample-s32p-44100-96000: CMP_TARGET = 11.47
232 fate-swr-resample-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
233
234 fate-swr-resample-s32p-48000-2626: CMP_TARGET = 456.49
235 fate-swr-resample-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
236
237 fate-swr-resample-s32p-48000-44100: CMP_TARGET = 1.12
238 fate-swr-resample-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
239
240 fate-swr-resample-s32p-48000-8000: CMP_TARGET = 62.37
241 fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
242
243 fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.85
244 fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
245
246 fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2503.33
247 fate-swr-resample-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
248
249 fate-swr-resample-s32p-8000-44100: CMP_TARGET = 15.09
250 fate-swr-resample-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
251
252 fate-swr-resample-s32p-8000-48000: CMP_TARGET = 14.68
253 fate-swr-resample-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
254
255 fate-swr-resample-s32p-8000-96000: CMP_TARGET = 13.81
256 fate-swr-resample-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
257
258 fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.05
259 fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
260
261 fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.54
262 fate-swr-resample-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
263
264 fate-swr-resample-s32p-96000-48000: CMP_TARGET = 1.21
265 fate-swr-resample-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
266
267 fate-swr-resample-s32p-96000-8000: CMP_TARGET = 58.59
268 fate-swr-resample-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
269
270
271 define ARESAMPLE_LIN
272 FATE_SWR_RESAMPLE += fate-swr-resample_lin-$(3)-$(1)-$(2)
273 fate-swr-resample_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
274 fate-swr-resample_lin-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):linear_interp=1:exact_rational=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=1:exact_rational=0:internal_sample_fmt=$(3) -f wav -c:a pcm_s16le -
275
276 fate-swr-resample_lin-$(3)-$(1)-$(2): CMP = stddev
277 fate-swr-resample_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
278 fate-swr-resample_lin-$(3)-$(1)-$(2): FUZZ = 0.1
279 fate-swr-resample_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
280 endef
281
282 fate-swr-resample_lin-s16p-8000-44100: CMP_TARGET = 14.61
283 fate-swr-resample_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
284
285 fate-swr-resample_lin-s16p-8000-48000: CMP_TARGET = 14.53
286 fate-swr-resample_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
287
288 fate-swr-resample_lin-s16p-44100-8000: CMP_TARGET = 75.41
289 fate-swr-resample_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
290
291 fate-swr-resample_lin-s16p-44100-48000: CMP_TARGET = 9.66
292 fate-swr-resample_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
293
294 fate-swr-resample_lin-s16p-48000-8000: CMP_TARGET = 62.38
295 fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
296
297 fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.65
298 fate-swr-resample_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
299
300 fate-swr-resample_lin-fltp-8000-44100: CMP_TARGET = 14.59
301 fate-swr-resample_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
302
303 fate-swr-resample_lin-fltp-8000-48000: CMP_TARGET = 14.50
304 fate-swr-resample_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
305
306 fate-swr-resample_lin-fltp-44100-8000: CMP_TARGET = 75.38
307 fate-swr-resample_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
308
309 fate-swr-resample_lin-fltp-44100-48000: CMP_TARGET = 9.64
310 fate-swr-resample_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
311
312 fate-swr-resample_lin-fltp-48000-8000: CMP_TARGET = 62.36
313 fate-swr-resample_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
314
315 fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.23
316 fate-swr-resample_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
317
318 fate-swr-resample_lin-dblp-8000-44100: CMP_TARGET = 14.59
319 fate-swr-resample_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
320
321 fate-swr-resample_lin-dblp-8000-48000: CMP_TARGET = 14.50
322 fate-swr-resample_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
323
324 fate-swr-resample_lin-dblp-44100-8000: CMP_TARGET = 75.38
325 fate-swr-resample_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
326
327 fate-swr-resample_lin-dblp-44100-48000: CMP_TARGET = 9.64
328 fate-swr-resample_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
329
330 fate-swr-resample_lin-dblp-48000-8000: CMP_TARGET = 62.36
331 fate-swr-resample_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
332
333 fate-swr-resample_lin-dblp-48000-44100: CMP_TARGET = 0.23
334 fate-swr-resample_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
335
336 define ARESAMPLE_NN
337 FATE_SWR_RESAMPLE += fate-swr-resample_nn-$(3)-$(1)-$(2)
338 fate-swr-resample_nn-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
339 fate-swr-resample_nn-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):filter_size=1:phase_shift=0:linear_interp=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=0:exact_rational=0:internal_sample_fmt=$(3) -f wav -c:a pcm_s16le -
340
341 fate-swr-resample_nn-$(3)-$(1)-$(2): CMP = stddev
342 fate-swr-resample_nn-$(3)-$(1)-$(2): CMP_UNIT = $(5)
343 fate-swr-resample_nn-$(3)-$(1)-$(2): FUZZ = 0.1
344 fate-swr-resample_nn-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
345 endef
346
347 fate-swr-resample_nn-fltp-44100-8000: CMP_TARGET = 591.03
348 fate-swr-resample_nn-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
349
350 fate-swr-resample_nn-fltp-8000-44100: CMP_TARGET = 3163.32
351 fate-swr-resample_nn-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
352
353 fate-swr-resample_nn-s16p-44100-8000: CMP_TARGET = 590.98
354 fate-swr-resample_nn-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
355
356 fate-swr-resample_nn-s16p-8000-44100: CMP_TARGET = 3163.39
357 fate-swr-resample_nn-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
358
359 define ARESAMPLE_ASYNC
360 FATE_SWR_RESAMPLE += fate-swr-resample_async-$(3)-$(1)-$(2)
361 fate-swr-resample_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
362 fate-swr-resample_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:linear_interp=0:exact_rational=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=0:exact_rational=0:internal_sample_fmt=$(3) -f wav -c:a pcm_s16le -
363
364 fate-swr-resample_async-$(3)-$(1)-$(2): CMP = stddev
365 fate-swr-resample_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
366 fate-swr-resample_async-$(3)-$(1)-$(2): FUZZ = 0.1
367 fate-swr-resample_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
368 endef
369
370 fate-swr-resample_async-fltp-44100-8000: CMP_TARGET = 4020.60
371 fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
372
373 fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 11186.66
374 fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
375
376 fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 4020.71
377 fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
378
379 fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 11186.94
380 fate-swr-resample_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
381
382 define ARESAMPLE_EXACT
383 FATE_SWR_RESAMPLE += fate-swr-resample_exact-$(3)-$(1)-$(2)
384 fate-swr-resample_exact-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
385 fate-swr-resample_exact-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):internal_sample_fmt=$(3):exact_rational=on:linear_interp=0,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on:linear_interp=0 -f wav -c:a pcm_s16le -
386
387 fate-swr-resample_exact-$(3)-$(1)-$(2): CMP = stddev
388 fate-swr-resample_exact-$(3)-$(1)-$(2): CMP_UNIT = $(5)
389 fate-swr-resample_exact-$(3)-$(1)-$(2): FUZZ = 0.1
390 fate-swr-resample_exact-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
391 endef
392
393 fate-swr-resample_exact-dblp-2626-44100: CMP_TARGET = 1352.67
394 fate-swr-resample_exact-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
395
396 fate-swr-resample_exact-dblp-2626-48000: CMP_TARGET = 1352.66
397 fate-swr-resample_exact-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
398
399 fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1352.56
400 fate-swr-resample_exact-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
401
402 fate-swr-resample_exact-dblp-2626-96000: CMP_TARGET = 1352.67
403 fate-swr-resample_exact-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
404
405 fate-swr-resample_exact-dblp-44100-2626: CMP_TARGET = 185.82
406 fate-swr-resample_exact-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
407
408 fate-swr-resample_exact-dblp-44100-48000: CMP_TARGET = 9.64
409 fate-swr-resample_exact-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
410
411 fate-swr-resample_exact-dblp-44100-8000: CMP_TARGET = 75.38
412 fate-swr-resample_exact-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
413
414 fate-swr-resample_exact-dblp-44100-96000: CMP_TARGET = 11.45
415 fate-swr-resample_exact-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
416
417 fate-swr-resample_exact-dblp-48000-2626: CMP_TARGET = 456.51
418 fate-swr-resample_exact-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
419
420 fate-swr-resample_exact-dblp-48000-44100: CMP_TARGET = 0.23
421 fate-swr-resample_exact-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
422
423 fate-swr-resample_exact-dblp-48000-8000: CMP_TARGET = 62.36
424 fate-swr-resample_exact-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
425
426 fate-swr-resample_exact-dblp-48000-96000: CMP_TARGET = 0.47
427 fate-swr-resample_exact-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
428
429 fate-swr-resample_exact-dblp-8000-2626: CMP_TARGET = 2503.33
430 fate-swr-resample_exact-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
431
432 fate-swr-resample_exact-dblp-8000-44100: CMP_TARGET = 14.59
433 fate-swr-resample_exact-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
434
435 fate-swr-resample_exact-dblp-8000-48000: CMP_TARGET = 14.50
436 fate-swr-resample_exact-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
437
438 fate-swr-resample_exact-dblp-8000-96000: CMP_TARGET = 13.62
439 fate-swr-resample_exact-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
440
441 fate-swr-resample_exact-dblp-96000-2626: CMP_TARGET = 675.07
442 fate-swr-resample_exact-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
443
444 fate-swr-resample_exact-dblp-96000-44100: CMP_TARGET = 1.24
445 fate-swr-resample_exact-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
446
447 fate-swr-resample_exact-dblp-96000-48000: CMP_TARGET = 0.99
448 fate-swr-resample_exact-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
449
450 fate-swr-resample_exact-dblp-96000-8000: CMP_TARGET = 58.52
451 fate-swr-resample_exact-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
452
453 fate-swr-resample_exact-fltp-2626-44100: CMP_TARGET = 1352.67
454 fate-swr-resample_exact-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
455
456 fate-swr-resample_exact-fltp-2626-48000: CMP_TARGET = 1352.66
457 fate-swr-resample_exact-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
458
459 fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1352.56
460 fate-swr-resample_exact-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
461
462 fate-swr-resample_exact-fltp-2626-96000: CMP_TARGET = 1352.67
463 fate-swr-resample_exact-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
464
465 fate-swr-resample_exact-fltp-44100-2626: CMP_TARGET = 185.82
466 fate-swr-resample_exact-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
467
468 fate-swr-resample_exact-fltp-44100-48000: CMP_TARGET = 9.64
469 fate-swr-resample_exact-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
470
471 fate-swr-resample_exact-fltp-44100-8000: CMP_TARGET = 75.38
472 fate-swr-resample_exact-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
473
474 fate-swr-resample_exact-fltp-44100-96000: CMP_TARGET = 11.45
475 fate-swr-resample_exact-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
476
477 fate-swr-resample_exact-fltp-48000-2626: CMP_TARGET = 456.51
478 fate-swr-resample_exact-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
479
480 fate-swr-resample_exact-fltp-48000-44100: CMP_TARGET = 0.23
481 fate-swr-resample_exact-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
482
483 fate-swr-resample_exact-fltp-48000-8000: CMP_TARGET = 62.36
484 fate-swr-resample_exact-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
485
486 fate-swr-resample_exact-fltp-48000-96000: CMP_TARGET = 0.47
487 fate-swr-resample_exact-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
488
489 fate-swr-resample_exact-fltp-8000-2626: CMP_TARGET = 2503.33
490 fate-swr-resample_exact-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
491
492 fate-swr-resample_exact-fltp-8000-44100: CMP_TARGET = 14.59
493 fate-swr-resample_exact-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
494
495 fate-swr-resample_exact-fltp-8000-48000: CMP_TARGET = 14.50
496 fate-swr-resample_exact-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
497
498 fate-swr-resample_exact-fltp-8000-96000: CMP_TARGET = 13.62
499 fate-swr-resample_exact-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
500
501 fate-swr-resample_exact-fltp-96000-2626: CMP_TARGET = 675.07
502 fate-swr-resample_exact-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
503
504 fate-swr-resample_exact-fltp-96000-44100: CMP_TARGET = 1.23
505 fate-swr-resample_exact-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
506
507 fate-swr-resample_exact-fltp-96000-48000: CMP_TARGET = 0.99
508 fate-swr-resample_exact-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
509
510 fate-swr-resample_exact-fltp-96000-8000: CMP_TARGET = 58.52
511 fate-swr-resample_exact-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
512
513 fate-swr-resample_exact-s16p-2626-44100: CMP_TARGET = 1392.98
514 fate-swr-resample_exact-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
515
516 fate-swr-resample_exact-s16p-2626-48000: CMP_TARGET = 1393.01
517 fate-swr-resample_exact-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
518
519 fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.36
520 fate-swr-resample_exact-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
521
522 fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.07
523 fate-swr-resample_exact-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
524
525 fate-swr-resample_exact-s16p-44100-2626: CMP_TARGET = 185.84
526 fate-swr-resample_exact-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
527
528 fate-swr-resample_exact-s16p-44100-48000: CMP_TARGET = 9.66
529 fate-swr-resample_exact-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
530
531 fate-swr-resample_exact-s16p-44100-8000: CMP_TARGET = 75.43
532 fate-swr-resample_exact-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
533
534 fate-swr-resample_exact-s16p-44100-96000: CMP_TARGET = 11.46
535 fate-swr-resample_exact-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
536
537 fate-swr-resample_exact-s16p-48000-2626: CMP_TARGET = 456.55
538 fate-swr-resample_exact-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
539
540 fate-swr-resample_exact-s16p-48000-44100: CMP_TARGET = 0.68
541 fate-swr-resample_exact-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
542
543 fate-swr-resample_exact-s16p-48000-8000: CMP_TARGET = 62.39
544 fate-swr-resample_exact-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
545
546 fate-swr-resample_exact-s16p-48000-96000: CMP_TARGET = 0.73
547 fate-swr-resample_exact-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
548
549 fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2503.32
550 fate-swr-resample_exact-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
551
552 fate-swr-resample_exact-s16p-8000-44100: CMP_TARGET = 14.63
553 fate-swr-resample_exact-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
554
555 fate-swr-resample_exact-s16p-8000-48000: CMP_TARGET = 14.54
556 fate-swr-resample_exact-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
557
558 fate-swr-resample_exact-s16p-8000-96000: CMP_TARGET = 13.65
559 fate-swr-resample_exact-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
560
561 fate-swr-resample_exact-s16p-96000-2626: CMP_TARGET = 675.15
562 fate-swr-resample_exact-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
563
564 fate-swr-resample_exact-s16p-96000-44100: CMP_TARGET = 1.44
565 fate-swr-resample_exact-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
566
567 fate-swr-resample_exact-s16p-96000-48000: CMP_TARGET = 1.12
568 fate-swr-resample_exact-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
569
570 fate-swr-resample_exact-s16p-96000-8000: CMP_TARGET = 58.56
571 fate-swr-resample_exact-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
572
573 fate-swr-resample_exact-s32p-2626-44100: CMP_TARGET = 1392.99
574 fate-swr-resample_exact-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
575
576 fate-swr-resample_exact-s32p-2626-48000: CMP_TARGET = 1393.01
577 fate-swr-resample_exact-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
578
579 fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.36
580 fate-swr-resample_exact-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
581
582 fate-swr-resample_exact-s32p-2626-96000: CMP_TARGET = 1393.00
583 fate-swr-resample_exact-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
584
585 fate-swr-resample_exact-s32p-44100-2626: CMP_TARGET = 185.81
586 fate-swr-resample_exact-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
587
588 fate-swr-resample_exact-s32p-44100-48000: CMP_TARGET = 9.66
589 fate-swr-resample_exact-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
590
591 fate-swr-resample_exact-s32p-44100-8000: CMP_TARGET = 75.37
592 fate-swr-resample_exact-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
593
594 fate-swr-resample_exact-s32p-44100-96000: CMP_TARGET = 11.46
595 fate-swr-resample_exact-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
596
597 fate-swr-resample_exact-s32p-48000-2626: CMP_TARGET = 456.49
598 fate-swr-resample_exact-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
599
600 fate-swr-resample_exact-s32p-48000-44100: CMP_TARGET = 0.74
601 fate-swr-resample_exact-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
602
603 fate-swr-resample_exact-s32p-48000-8000: CMP_TARGET = 62.35
604 fate-swr-resample_exact-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
605
606 fate-swr-resample_exact-s32p-48000-96000: CMP_TARGET = 0.85
607 fate-swr-resample_exact-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
608
609 fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2503.33
610 fate-swr-resample_exact-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
611
612 fate-swr-resample_exact-s32p-8000-44100: CMP_TARGET = 14.61
613 fate-swr-resample_exact-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
614
615 fate-swr-resample_exact-s32p-8000-48000: CMP_TARGET = 14.52
616 fate-swr-resample_exact-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
617
618 fate-swr-resample_exact-s32p-8000-96000: CMP_TARGET = 13.62
619 fate-swr-resample_exact-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
620
621 fate-swr-resample_exact-s32p-96000-2626: CMP_TARGET = 675.05
622 fate-swr-resample_exact-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
623
624 fate-swr-resample_exact-s32p-96000-44100: CMP_TARGET = 1.41
625 fate-swr-resample_exact-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
626
627 fate-swr-resample_exact-s32p-96000-48000: CMP_TARGET = 1.21
628 fate-swr-resample_exact-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
629
630 fate-swr-resample_exact-s32p-96000-8000: CMP_TARGET = 58.54
631 fate-swr-resample_exact-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
632
633 define ARESAMPLE_EXACT_ASYNC
634 FATE_SWR_RESAMPLE += fate-swr-resample_exact_async-$(3)-$(1)-$(2)
635 fate-swr-resample_exact_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
636 fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:internal_sample_fmt=$(3):exact_rational=on:linear_interp=0,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on:linear_interp=0 -f wav -c:a pcm_s16le -
637
638 fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP = stddev
639 fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
640 fate-swr-resample_exact_async-$(3)-$(1)-$(2): FUZZ = 0.1
641 fate-swr-resample_exact_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
642 endef
643
644 fate-swr-resample_exact_async-dblp-44100-48000: CMP_TARGET = 7791.50
645 fate-swr-resample_exact_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
646
647 fate-swr-resample_exact_async-dblp-44100-8000: CMP_TARGET = 4022.87
648 fate-swr-resample_exact_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
649
650 fate-swr-resample_exact_async-dblp-48000-44100: CMP_TARGET = 1923.97
651 fate-swr-resample_exact_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
652
653 fate-swr-resample_exact_async-dblp-48000-8000: CMP_TARGET = 2592.00
654 fate-swr-resample_exact_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
655
656 fate-swr-resample_exact_async-dblp-8000-44100: CMP_TARGET = 11187.24
657 fate-swr-resample_exact_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
658
659 fate-swr-resample_exact_async-dblp-8000-48000: CMP_TARGET = 11326.80
660 fate-swr-resample_exact_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
661
662 fate-swr-resample_exact_async-fltp-44100-48000: CMP_TARGET = 7791.50
663 fate-swr-resample_exact_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
664
665 fate-swr-resample_exact_async-fltp-44100-8000: CMP_TARGET = 4022.87
666 fate-swr-resample_exact_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
667
668 fate-swr-resample_exact_async-fltp-48000-44100: CMP_TARGET = 1923.97
669 fate-swr-resample_exact_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
670
671 fate-swr-resample_exact_async-fltp-48000-8000: CMP_TARGET = 2592.00
672 fate-swr-resample_exact_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
673
674 fate-swr-resample_exact_async-fltp-8000-44100: CMP_TARGET = 11187.24
675 fate-swr-resample_exact_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
676
677 fate-swr-resample_exact_async-fltp-8000-48000: CMP_TARGET = 11326.80
678 fate-swr-resample_exact_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
679
680 fate-swr-resample_exact_async-s16p-44100-48000: CMP_TARGET = 7791.50
681 fate-swr-resample_exact_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
682
683 fate-swr-resample_exact_async-s16p-44100-8000: CMP_TARGET = 4023.05
684 fate-swr-resample_exact_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
685
686 fate-swr-resample_exact_async-s16p-48000-44100: CMP_TARGET = 1923.96
687 fate-swr-resample_exact_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
688
689 fate-swr-resample_exact_async-s16p-48000-8000: CMP_TARGET = 2592.15
690 fate-swr-resample_exact_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
691
692 fate-swr-resample_exact_async-s16p-8000-44100: CMP_TARGET = 11187.58
693 fate-swr-resample_exact_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
694
695 fate-swr-resample_exact_async-s16p-8000-48000: CMP_TARGET = 11327.48
696 fate-swr-resample_exact_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
697
698 fate-swr-resample_exact_async-s32p-44100-48000: CMP_TARGET = 7791.50
699 fate-swr-resample_exact_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
700
701 fate-swr-resample_exact_async-s32p-44100-8000: CMP_TARGET = 4022.87
702 fate-swr-resample_exact_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
703
704 fate-swr-resample_exact_async-s32p-48000-44100: CMP_TARGET = 1923.96
705 fate-swr-resample_exact_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
706
707 fate-swr-resample_exact_async-s32p-48000-8000: CMP_TARGET = 2592.00
708 fate-swr-resample_exact_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
709
710 fate-swr-resample_exact_async-s32p-8000-44100: CMP_TARGET = 11187.24
711 fate-swr-resample_exact_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
712
713 fate-swr-resample_exact_async-s32p-8000-48000: CMP_TARGET = 11326.79
714 fate-swr-resample_exact_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
715
716 define ARESAMPLE_EXACT_LIN
717 FATE_SWR_RESAMPLE += fate-swr-resample_exact_lin-$(3)-$(1)-$(2)
718 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
719 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):internal_sample_fmt=$(3):exact_rational=on:linear_interp=on,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on:linear_interp=on -f wav -c:a pcm_s16le -
720
721 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP = stddev
722 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
723 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): FUZZ = 0.1
724 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
725 endef
726
727 fate-swr-resample_exact_lin-dblp-44100-48000: CMP_TARGET = 9.64
728 fate-swr-resample_exact_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
729
730 fate-swr-resample_exact_lin-dblp-44100-8000: CMP_TARGET = 75.38
731 fate-swr-resample_exact_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
732
733 fate-swr-resample_exact_lin-dblp-48000-44100: CMP_TARGET = 0.23
734 fate-swr-resample_exact_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
735
736 fate-swr-resample_exact_lin-dblp-48000-8000: CMP_TARGET = 62.36
737 fate-swr-resample_exact_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
738
739 fate-swr-resample_exact_lin-dblp-8000-44100: CMP_TARGET = 14.59
740 fate-swr-resample_exact_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
741
742 fate-swr-resample_exact_lin-dblp-8000-48000: CMP_TARGET = 14.50
743 fate-swr-resample_exact_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
744
745 fate-swr-resample_exact_lin-fltp-44100-48000: CMP_TARGET = 9.64
746 fate-swr-resample_exact_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
747
748 fate-swr-resample_exact_lin-fltp-44100-8000: CMP_TARGET = 75.38
749 fate-swr-resample_exact_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
750
751 fate-swr-resample_exact_lin-fltp-48000-44100: CMP_TARGET = 0.23
752 fate-swr-resample_exact_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
753
754 fate-swr-resample_exact_lin-fltp-48000-8000: CMP_TARGET = 62.36
755 fate-swr-resample_exact_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
756
757 fate-swr-resample_exact_lin-fltp-8000-44100: CMP_TARGET = 14.59
758 fate-swr-resample_exact_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
759
760 fate-swr-resample_exact_lin-fltp-8000-48000: CMP_TARGET = 14.50
761 fate-swr-resample_exact_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
762
763 fate-swr-resample_exact_lin-s16p-44100-48000: CMP_TARGET = 9.66
764 fate-swr-resample_exact_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
765
766 fate-swr-resample_exact_lin-s16p-44100-8000: CMP_TARGET = 75.43
767 fate-swr-resample_exact_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
768
769 fate-swr-resample_exact_lin-s16p-48000-44100: CMP_TARGET = 0.68
770 fate-swr-resample_exact_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
771
772 fate-swr-resample_exact_lin-s16p-48000-8000: CMP_TARGET = 62.39
773 fate-swr-resample_exact_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
774
775 fate-swr-resample_exact_lin-s16p-8000-44100: CMP_TARGET = 14.63
776 fate-swr-resample_exact_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
777
778 fate-swr-resample_exact_lin-s16p-8000-48000: CMP_TARGET = 14.54
779 fate-swr-resample_exact_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
780
781 fate-swr-resample_exact_lin-s32p-44100-48000: CMP_TARGET = 9.66
782 fate-swr-resample_exact_lin-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
783
784 fate-swr-resample_exact_lin-s32p-44100-8000: CMP_TARGET = 75.37
785 fate-swr-resample_exact_lin-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
786
787 fate-swr-resample_exact_lin-s32p-48000-44100: CMP_TARGET = 0.74
788 fate-swr-resample_exact_lin-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
789
790 fate-swr-resample_exact_lin-s32p-48000-8000: CMP_TARGET = 62.35
791 fate-swr-resample_exact_lin-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
792
793 fate-swr-resample_exact_lin-s32p-8000-44100: CMP_TARGET = 14.61
794 fate-swr-resample_exact_lin-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
795
796 fate-swr-resample_exact_lin-s32p-8000-48000: CMP_TARGET = 14.52
797 fate-swr-resample_exact_lin-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
798
799 fate-swr-resample_exact_lin-dblp-2626-44100: CMP_TARGET = 1352.60
800 fate-swr-resample_exact_lin-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
801
802 fate-swr-resample_exact_lin-dblp-2626-48000: CMP_TARGET = 1352.62
803 fate-swr-resample_exact_lin-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
804
805 fate-swr-resample_exact_lin-dblp-2626-8000: CMP_TARGET = 1352.49
806 fate-swr-resample_exact_lin-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20480
807
808 fate-swr-resample_exact_lin-dblp-2626-96000: CMP_TARGET = 1352.62
809 fate-swr-resample_exact_lin-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
810
811 fate-swr-resample_exact_lin-dblp-44100-2626: CMP_TARGET = 185.49
812 fate-swr-resample_exact_lin-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
813
814 fate-swr-resample_exact_lin-dblp-44100-96000: CMP_TARGET = 11.45
815 fate-swr-resample_exact_lin-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
816
817 fate-swr-resample_exact_lin-dblp-48000-2626: CMP_TARGET = 456.50
818 fate-swr-resample_exact_lin-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
819
820 fate-swr-resample_exact_lin-dblp-48000-96000: CMP_TARGET = 0.47
821 fate-swr-resample_exact_lin-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
822
823 fate-swr-resample_exact_lin-dblp-8000-2626: CMP_TARGET = 2503.28
824 fate-swr-resample_exact_lin-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20480
825
826 fate-swr-resample_exact_lin-dblp-8000-96000: CMP_TARGET = 13.62
827 fate-swr-resample_exact_lin-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
828
829 fate-swr-resample_exact_lin-dblp-96000-2626: CMP_TARGET = 675.02
830 fate-swr-resample_exact_lin-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
831
832 fate-swr-resample_exact_lin-dblp-96000-44100: CMP_TARGET = 1.24
833 fate-swr-resample_exact_lin-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
834
835 fate-swr-resample_exact_lin-dblp-96000-48000: CMP_TARGET = 0.99
836 fate-swr-resample_exact_lin-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
837
838 fate-swr-resample_exact_lin-dblp-96000-8000: CMP_TARGET = 58.52
839 fate-swr-resample_exact_lin-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
840
841 fate-swr-resample_exact_lin-fltp-2626-44100: CMP_TARGET = 1352.60
842 fate-swr-resample_exact_lin-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
843
844 fate-swr-resample_exact_lin-fltp-2626-48000: CMP_TARGET = 1352.62
845 fate-swr-resample_exact_lin-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
846
847 fate-swr-resample_exact_lin-fltp-2626-8000: CMP_TARGET = 1352.49
848 fate-swr-resample_exact_lin-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20480
849
850 fate-swr-resample_exact_lin-fltp-2626-96000: CMP_TARGET = 1352.62
851 fate-swr-resample_exact_lin-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
852
853 fate-swr-resample_exact_lin-fltp-44100-2626: CMP_TARGET = 185.49
854 fate-swr-resample_exact_lin-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
855
856 fate-swr-resample_exact_lin-fltp-44100-96000: CMP_TARGET = 11.45
857 fate-swr-resample_exact_lin-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
858
859 fate-swr-resample_exact_lin-fltp-48000-2626: CMP_TARGET = 456.50
860 fate-swr-resample_exact_lin-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
861
862 fate-swr-resample_exact_lin-fltp-48000-96000: CMP_TARGET = 0.47
863 fate-swr-resample_exact_lin-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
864
865 fate-swr-resample_exact_lin-fltp-8000-2626: CMP_TARGET = 2503.28
866 fate-swr-resample_exact_lin-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20480
867
868 fate-swr-resample_exact_lin-fltp-8000-96000: CMP_TARGET = 13.62
869 fate-swr-resample_exact_lin-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
870
871 fate-swr-resample_exact_lin-fltp-96000-2626: CMP_TARGET = 675.02
872 fate-swr-resample_exact_lin-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
873
874 fate-swr-resample_exact_lin-fltp-96000-44100: CMP_TARGET = 1.23
875 fate-swr-resample_exact_lin-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
876
877 fate-swr-resample_exact_lin-fltp-96000-48000: CMP_TARGET = 0.99
878 fate-swr-resample_exact_lin-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
879
880 fate-swr-resample_exact_lin-fltp-96000-8000: CMP_TARGET = 58.52
881 fate-swr-resample_exact_lin-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
882
883 fate-swr-resample_exact_lin-s16p-2626-44100: CMP_TARGET = 1392.93
884 fate-swr-resample_exact_lin-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
885
886 fate-swr-resample_exact_lin-s16p-2626-48000: CMP_TARGET = 1392.97
887 fate-swr-resample_exact_lin-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
888
889 fate-swr-resample_exact_lin-s16p-2626-8000: CMP_TARGET = 1393.28
890 fate-swr-resample_exact_lin-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20480
891
892 fate-swr-resample_exact_lin-s16p-2626-96000: CMP_TARGET = 1393.04
893 fate-swr-resample_exact_lin-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
894
895 fate-swr-resample_exact_lin-s16p-44100-2626: CMP_TARGET = 185.51
896 fate-swr-resample_exact_lin-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
897
898 fate-swr-resample_exact_lin-s16p-44100-96000: CMP_TARGET = 11.46
899 fate-swr-resample_exact_lin-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
900
901 fate-swr-resample_exact_lin-s16p-48000-2626: CMP_TARGET = 456.56
902 fate-swr-resample_exact_lin-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
903
904 fate-swr-resample_exact_lin-s16p-48000-96000: CMP_TARGET = 0.73
905 fate-swr-resample_exact_lin-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
906
907 fate-swr-resample_exact_lin-s16p-8000-2626: CMP_TARGET = 2503.28
908 fate-swr-resample_exact_lin-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20480
909
910 fate-swr-resample_exact_lin-s16p-8000-96000: CMP_TARGET = 13.65
911 fate-swr-resample_exact_lin-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
912
913 fate-swr-resample_exact_lin-s16p-96000-2626: CMP_TARGET = 675.07
914 fate-swr-resample_exact_lin-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
915
916 fate-swr-resample_exact_lin-s16p-96000-44100: CMP_TARGET = 1.44
917 fate-swr-resample_exact_lin-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
918
919 fate-swr-resample_exact_lin-s16p-96000-48000: CMP_TARGET = 1.12
920 fate-swr-resample_exact_lin-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
921
922 fate-swr-resample_exact_lin-s16p-96000-8000: CMP_TARGET = 58.56
923 fate-swr-resample_exact_lin-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
924
925 fate-swr-resample_exact_lin-s32p-2626-44100: CMP_TARGET = 1392.95
926 fate-swr-resample_exact_lin-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
927
928 fate-swr-resample_exact_lin-s32p-2626-48000: CMP_TARGET = 1392.98
929 fate-swr-resample_exact_lin-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
930
931 fate-swr-resample_exact_lin-s32p-2626-8000: CMP_TARGET = 1393.29
932 fate-swr-resample_exact_lin-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20480
933
934 fate-swr-resample_exact_lin-s32p-2626-96000: CMP_TARGET = 1392.96
935 fate-swr-resample_exact_lin-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
936
937 fate-swr-resample_exact_lin-s32p-44100-2626: CMP_TARGET = 185.48
938 fate-swr-resample_exact_lin-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
939
940 fate-swr-resample_exact_lin-s32p-44100-96000: CMP_TARGET = 11.46
941 fate-swr-resample_exact_lin-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
942
943 fate-swr-resample_exact_lin-s32p-48000-2626: CMP_TARGET = 456.48
944 fate-swr-resample_exact_lin-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
945
946 fate-swr-resample_exact_lin-s32p-48000-96000: CMP_TARGET = 0.85
947 fate-swr-resample_exact_lin-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
948
949 fate-swr-resample_exact_lin-s32p-8000-2626: CMP_TARGET = 2503.28
950 fate-swr-resample_exact_lin-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20480
951
952 fate-swr-resample_exact_lin-s32p-8000-96000: CMP_TARGET = 13.62
953 fate-swr-resample_exact_lin-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
954
955 fate-swr-resample_exact_lin-s32p-96000-2626: CMP_TARGET = 675.00
956 fate-swr-resample_exact_lin-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
957
958 fate-swr-resample_exact_lin-s32p-96000-44100: CMP_TARGET = 1.41
959 fate-swr-resample_exact_lin-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
960
961 fate-swr-resample_exact_lin-s32p-96000-48000: CMP_TARGET = 1.21
962 fate-swr-resample_exact_lin-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
963
964 fate-swr-resample_exact_lin-s32p-96000-8000: CMP_TARGET = 58.54
965 fate-swr-resample_exact_lin-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
966
967 define ARESAMPLE_EXACT_LIN_ASYNC
968 FATE_SWR_RESAMPLE += fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2)
969 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
970 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:internal_sample_fmt=$(3):exact_rational=on:linear_interp=on,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on:linear_interp=on -f wav -c:a pcm_s16le -
971
972 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP = stddev
973 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
974 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): FUZZ = 0.1
975 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
976 endef
977
978 fate-swr-resample_exact_lin_async-dblp-44100-48000: CMP_TARGET = 7791.72
979 fate-swr-resample_exact_lin_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
980
981 fate-swr-resample_exact_lin_async-dblp-44100-8000: CMP_TARGET = 4023.01
982 fate-swr-resample_exact_lin_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
983
984 fate-swr-resample_exact_lin_async-dblp-48000-44100: CMP_TARGET = 1923.79
985 fate-swr-resample_exact_lin_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
986
987 fate-swr-resample_exact_lin_async-dblp-48000-8000: CMP_TARGET = 2591.72
988 fate-swr-resample_exact_lin_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
989
990 fate-swr-resample_exact_lin_async-dblp-8000-44100: CMP_TARGET = 11187.24
991 fate-swr-resample_exact_lin_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
992
993 fate-swr-resample_exact_lin_async-dblp-8000-48000: CMP_TARGET = 11326.80
994 fate-swr-resample_exact_lin_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
995
996 fate-swr-resample_exact_lin_async-fltp-44100-48000: CMP_TARGET = 7791.72
997 fate-swr-resample_exact_lin_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
998
999 fate-swr-resample_exact_lin_async-fltp-44100-8000: CMP_TARGET = 4023.01
1000 fate-swr-resample_exact_lin_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
1001
1002 fate-swr-resample_exact_lin_async-fltp-48000-44100: CMP_TARGET = 1923.79
1003 fate-swr-resample_exact_lin_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
1004
1005 fate-swr-resample_exact_lin_async-fltp-48000-8000: CMP_TARGET = 2591.72
1006 fate-swr-resample_exact_lin_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
1007
1008 fate-swr-resample_exact_lin_async-fltp-8000-44100: CMP_TARGET = 11187.25
1009 fate-swr-resample_exact_lin_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
1010
1011 fate-swr-resample_exact_lin_async-fltp-8000-48000: CMP_TARGET = 11326.80
1012 fate-swr-resample_exact_lin_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
1013
1014 fate-swr-resample_exact_lin_async-s16p-44100-48000: CMP_TARGET = 7791.72
1015 fate-swr-resample_exact_lin_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
1016
1017 fate-swr-resample_exact_lin_async-s16p-44100-8000: CMP_TARGET = 4023.19
1018 fate-swr-resample_exact_lin_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
1019
1020 fate-swr-resample_exact_lin_async-s16p-48000-44100: CMP_TARGET = 1923.79
1021 fate-swr-resample_exact_lin_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
1022
1023 fate-swr-resample_exact_lin_async-s16p-48000-8000: CMP_TARGET = 2591.85
1024 fate-swr-resample_exact_lin_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
1025
1026 fate-swr-resample_exact_lin_async-s16p-8000-44100: CMP_TARGET = 11187.57
1027 fate-swr-resample_exact_lin_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
1028
1029 fate-swr-resample_exact_lin_async-s16p-8000-48000: CMP_TARGET = 11327.48
1030 fate-swr-resample_exact_lin_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
1031
1032 fate-swr-resample_exact_lin_async-s32p-44100-48000: CMP_TARGET = 7791.72
1033 fate-swr-resample_exact_lin_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
1034
1035 fate-swr-resample_exact_lin_async-s32p-44100-8000: CMP_TARGET = 4023.02
1036 fate-swr-resample_exact_lin_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
1037
1038 fate-swr-resample_exact_lin_async-s32p-48000-44100: CMP_TARGET = 1923.77
1039 fate-swr-resample_exact_lin_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
1040
1041 fate-swr-resample_exact_lin_async-s32p-48000-8000: CMP_TARGET = 2591.71
1042 fate-swr-resample_exact_lin_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
1043
1044 fate-swr-resample_exact_lin_async-s32p-8000-44100: CMP_TARGET = 11187.25
1045 fate-swr-resample_exact_lin_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
1046
1047 fate-swr-resample_exact_lin_async-s32p-8000-48000: CMP_TARGET = 11326.81
1048 fate-swr-resample_exact_lin_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
1049
1050 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s16p,s16le,s16)
1051 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s32p,s32le,s16)
1052 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,fltp,f32le,s16)
1053 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,dblp,f64le,s16)
1054
1055 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,s16p,s16le,s16)
1056 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,fltp,f32le,s16)
1057 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,dblp,f64le,s16)
1058
1059 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,s16p,s16le,s16)
1060 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,fltp,f32le,s16)
1061
1062 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,s16p,s16le,s16)
1063 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,fltp,f32le,s16)
1064
1065 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s16p,s16le,s16)
1066 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s32p,s32le,s16)
1067 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,fltp,f32le,s16)
1068 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,dblp,f64le,s16)
1069
1070 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s16p,s16le,s16)
1071 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s32p,s32le,s16)
1072 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,fltp,f32le,s16)
1073 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,dblp,f64le,s16)
1074
1075 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,s16p,s16le,s16)
1076 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,s32p,s32le,s16)
1077 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,fltp,f32le,s16)
1078 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,dblp,f64le,s16)
1079
1080 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s16p,s16le,s16)
1081 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s32p,s32le,s16)
1082 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,fltp,f32le,s16)
1083 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,dblp,f64le,s16)
1084
1085 FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_SWR_RESAMPLE)
1086 fate-swr-resample: $(FATE_SWR_RESAMPLE-yes)
1087 FATE_SWR += $(FATE_SWR_RESAMPLE-yes)
1088
1089 FATE_SWR_AUDIOCONVERT-$(call FILTERDEMDECENCMUX, AFORMAT AEVAL, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-audioconvert
1090 fate-swr-audioconvert: tests/data/asynth-44100-1.wav
1091 fate-swr-audioconvert: REF = tests/data/asynth-44100-1.wav
1092 fate-swr-audioconvert: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav -af "aformat=fltp,aeval=val(0)+(random(0)-0.5)/33000,aformat=fltp" -f wav -c:a pcm_s16le -
1093 fate-swr-audioconvert: CMP = stddev
1094 fate-swr-audioconvert: FUZZ = 0
1095
1096 FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
1097 FATE_FFMPEG += $(FATE_SWR)
1098 fate-swr: $(FATE_SWR)