1 CROSS_TEST = $(foreach I,$(1), \
3 $(if $(filter-out $(I),$(J)), \
4 $(eval $(call $(2),$(I),$(J),$(3),$(4),$(5))), \
8 SAMPLERATES = 2626 8000 44100 48000 96000
10 SAMPLERATES_LITE = 8000 44100 48000
12 SAMPLERATES_NN = 8000 44100
15 FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
16 fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
17 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),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
19 fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
20 fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
21 fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
22 fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
25 #below list is generated by:
26 #you can use this if you need to update it!
27 #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 fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67
30 fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
32 fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.66
33 fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
35 fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1352.56
36 fate-swr-resample-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
38 fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.67
39 fate-swr-resample-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
41 fate-swr-resample-dblp-44100-2626: CMP_TARGET = 185.82
42 fate-swr-resample-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
44 fate-swr-resample-dblp-44100-48000: CMP_TARGET = 9.69
45 fate-swr-resample-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
47 fate-swr-resample-dblp-44100-8000: CMP_TARGET = 75.45
48 fate-swr-resample-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
50 fate-swr-resample-dblp-44100-96000: CMP_TARGET = 11.46
51 fate-swr-resample-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
53 fate-swr-resample-dblp-48000-2626: CMP_TARGET = 456.51
54 fate-swr-resample-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
56 fate-swr-resample-dblp-48000-44100: CMP_TARGET = 1.00
57 fate-swr-resample-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
59 fate-swr-resample-dblp-48000-8000: CMP_TARGET = 62.38
60 fate-swr-resample-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
62 fate-swr-resample-dblp-48000-96000: CMP_TARGET = 0.47
63 fate-swr-resample-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
65 fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2503.33
66 fate-swr-resample-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
68 fate-swr-resample-dblp-8000-44100: CMP_TARGET = 15.09
69 fate-swr-resample-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
71 fate-swr-resample-dblp-8000-48000: CMP_TARGET = 14.69
72 fate-swr-resample-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
74 fate-swr-resample-dblp-8000-96000: CMP_TARGET = 13.81
75 fate-swr-resample-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
77 fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.07
78 fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
80 fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.44
81 fate-swr-resample-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
83 fate-swr-resample-dblp-96000-48000: CMP_TARGET = 0.99
84 fate-swr-resample-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
86 fate-swr-resample-dblp-96000-8000: CMP_TARGET = 58.57
87 fate-swr-resample-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
89 fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.67
90 fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
92 fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.66
93 fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
95 fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1352.56
96 fate-swr-resample-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
98 fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.67
99 fate-swr-resample-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
101 fate-swr-resample-fltp-44100-2626: CMP_TARGET = 185.82
102 fate-swr-resample-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
104 fate-swr-resample-fltp-44100-48000: CMP_TARGET = 9.69
105 fate-swr-resample-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
107 fate-swr-resample-fltp-44100-8000: CMP_TARGET = 75.45
108 fate-swr-resample-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
110 fate-swr-resample-fltp-44100-96000: CMP_TARGET = 11.46
111 fate-swr-resample-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
113 fate-swr-resample-fltp-48000-2626: CMP_TARGET = 456.51
114 fate-swr-resample-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
116 fate-swr-resample-fltp-48000-44100: CMP_TARGET = 1.00
117 fate-swr-resample-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
119 fate-swr-resample-fltp-48000-8000: CMP_TARGET = 62.38
120 fate-swr-resample-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
122 fate-swr-resample-fltp-48000-96000: CMP_TARGET = 0.47
123 fate-swr-resample-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
125 fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2503.33
126 fate-swr-resample-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
128 fate-swr-resample-fltp-8000-44100: CMP_TARGET = 15.09
129 fate-swr-resample-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
131 fate-swr-resample-fltp-8000-48000: CMP_TARGET = 14.69
132 fate-swr-resample-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
134 fate-swr-resample-fltp-8000-96000: CMP_TARGET = 13.81
135 fate-swr-resample-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
137 fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.07
138 fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
140 fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.44
141 fate-swr-resample-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
143 fate-swr-resample-fltp-96000-48000: CMP_TARGET = 0.99
144 fate-swr-resample-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
146 fate-swr-resample-fltp-96000-8000: CMP_TARGET = 58.57
147 fate-swr-resample-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
149 fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1392.98
150 fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
152 fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1393.01
153 fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
155 fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.36
156 fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
158 fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.07
159 fate-swr-resample-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
161 fate-swr-resample-s16p-44100-2626: CMP_TARGET = 185.84
162 fate-swr-resample-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
164 fate-swr-resample-s16p-44100-48000: CMP_TARGET = 9.71
165 fate-swr-resample-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
167 fate-swr-resample-s16p-44100-8000: CMP_TARGET = 75.46
168 fate-swr-resample-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
170 fate-swr-resample-s16p-44100-96000: CMP_TARGET = 11.48
171 fate-swr-resample-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
173 fate-swr-resample-s16p-48000-2626: CMP_TARGET = 456.55
174 fate-swr-resample-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
176 fate-swr-resample-s16p-48000-44100: CMP_TARGET = 1.20
177 fate-swr-resample-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
179 fate-swr-resample-s16p-48000-8000: CMP_TARGET = 62.41
180 fate-swr-resample-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
182 fate-swr-resample-s16p-48000-96000: CMP_TARGET = 0.73
183 fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
185 fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2503.32
186 fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
188 fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.13
189 fate-swr-resample-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
191 fate-swr-resample-s16p-8000-48000: CMP_TARGET = 14.69
192 fate-swr-resample-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
194 fate-swr-resample-s16p-8000-96000: CMP_TARGET = 13.83
195 fate-swr-resample-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
197 fate-swr-resample-s16p-96000-2626: CMP_TARGET = 675.15
198 fate-swr-resample-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
200 fate-swr-resample-s16p-96000-44100: CMP_TARGET = 1.62
201 fate-swr-resample-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
203 fate-swr-resample-s16p-96000-48000: CMP_TARGET = 1.12
204 fate-swr-resample-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
206 fate-swr-resample-s16p-96000-8000: CMP_TARGET = 58.60
207 fate-swr-resample-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
209 fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1392.99
210 fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
212 fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1393.01
213 fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
215 fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.36
216 fate-swr-resample-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
218 fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.00
219 fate-swr-resample-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
221 fate-swr-resample-s32p-44100-2626: CMP_TARGET = 185.81
222 fate-swr-resample-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
224 fate-swr-resample-s32p-44100-48000: CMP_TARGET = 9.70
225 fate-swr-resample-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
227 fate-swr-resample-s32p-44100-8000: CMP_TARGET = 75.45
228 fate-swr-resample-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
230 fate-swr-resample-s32p-44100-96000: CMP_TARGET = 11.47
231 fate-swr-resample-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
233 fate-swr-resample-s32p-48000-2626: CMP_TARGET = 456.49
234 fate-swr-resample-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
236 fate-swr-resample-s32p-48000-44100: CMP_TARGET = 1.12
237 fate-swr-resample-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
239 fate-swr-resample-s32p-48000-8000: CMP_TARGET = 62.37
240 fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
242 fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.85
243 fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
245 fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2503.33
246 fate-swr-resample-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
248 fate-swr-resample-s32p-8000-44100: CMP_TARGET = 15.09
249 fate-swr-resample-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
251 fate-swr-resample-s32p-8000-48000: CMP_TARGET = 14.68
252 fate-swr-resample-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
254 fate-swr-resample-s32p-8000-96000: CMP_TARGET = 13.81
255 fate-swr-resample-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
257 fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.05
258 fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
260 fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.54
261 fate-swr-resample-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
263 fate-swr-resample-s32p-96000-48000: CMP_TARGET = 1.21
264 fate-swr-resample-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
266 fate-swr-resample-s32p-96000-8000: CMP_TARGET = 58.59
267 fate-swr-resample-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
271 FATE_SWR_RESAMPLE += fate-swr-resample_lin-$(3)-$(1)-$(2)
272 fate-swr-resample_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
273 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:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=1:internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
275 fate-swr-resample_lin-$(3)-$(1)-$(2): CMP = stddev
276 fate-swr-resample_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
277 fate-swr-resample_lin-$(3)-$(1)-$(2): FUZZ = 0.1
278 fate-swr-resample_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
281 fate-swr-resample_lin-s16p-8000-44100: CMP_TARGET = 14.61
282 fate-swr-resample_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
284 fate-swr-resample_lin-s16p-8000-48000: CMP_TARGET = 14.53
285 fate-swr-resample_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
287 fate-swr-resample_lin-s16p-44100-8000: CMP_TARGET = 75.41
288 fate-swr-resample_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
290 fate-swr-resample_lin-s16p-44100-48000: CMP_TARGET = 9.66
291 fate-swr-resample_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
293 fate-swr-resample_lin-s16p-48000-8000: CMP_TARGET = 62.38
294 fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
296 fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.65
297 fate-swr-resample_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
299 fate-swr-resample_lin-fltp-8000-44100: CMP_TARGET = 14.59
300 fate-swr-resample_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
302 fate-swr-resample_lin-fltp-8000-48000: CMP_TARGET = 14.50
303 fate-swr-resample_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
305 fate-swr-resample_lin-fltp-44100-8000: CMP_TARGET = 75.38
306 fate-swr-resample_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
308 fate-swr-resample_lin-fltp-44100-48000: CMP_TARGET = 9.64
309 fate-swr-resample_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
311 fate-swr-resample_lin-fltp-48000-8000: CMP_TARGET = 62.36
312 fate-swr-resample_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
314 fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.23
315 fate-swr-resample_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
317 fate-swr-resample_lin-dblp-8000-44100: CMP_TARGET = 14.59
318 fate-swr-resample_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
320 fate-swr-resample_lin-dblp-8000-48000: CMP_TARGET = 14.50
321 fate-swr-resample_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
323 fate-swr-resample_lin-dblp-44100-8000: CMP_TARGET = 75.38
324 fate-swr-resample_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
326 fate-swr-resample_lin-dblp-44100-48000: CMP_TARGET = 9.64
327 fate-swr-resample_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
329 fate-swr-resample_lin-dblp-48000-8000: CMP_TARGET = 62.36
330 fate-swr-resample_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
332 fate-swr-resample_lin-dblp-48000-44100: CMP_TARGET = 0.23
333 fate-swr-resample_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
336 FATE_SWR_RESAMPLE += fate-swr-resample_nn-$(3)-$(1)-$(2)
337 fate-swr-resample_nn-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
338 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:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
340 fate-swr-resample_nn-$(3)-$(1)-$(2): CMP = stddev
341 fate-swr-resample_nn-$(3)-$(1)-$(2): CMP_UNIT = $(5)
342 fate-swr-resample_nn-$(3)-$(1)-$(2): FUZZ = 0.1
343 fate-swr-resample_nn-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
346 fate-swr-resample_nn-fltp-44100-8000: CMP_TARGET = 591.03
347 fate-swr-resample_nn-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
349 fate-swr-resample_nn-fltp-8000-44100: CMP_TARGET = 3163.32
350 fate-swr-resample_nn-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
352 fate-swr-resample_nn-s16p-44100-8000: CMP_TARGET = 590.98
353 fate-swr-resample_nn-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
355 fate-swr-resample_nn-s16p-8000-44100: CMP_TARGET = 3163.39
356 fate-swr-resample_nn-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
358 define ARESAMPLE_ASYNC
359 FATE_SWR_RESAMPLE += fate-swr-resample_async-$(3)-$(1)-$(2)
360 fate-swr-resample_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
361 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:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
363 fate-swr-resample_async-$(3)-$(1)-$(2): CMP = stddev
364 fate-swr-resample_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
365 fate-swr-resample_async-$(3)-$(1)-$(2): FUZZ = 0.1
366 fate-swr-resample_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
369 fate-swr-resample_async-fltp-44100-8000: CMP_TARGET = 4020.60
370 fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
372 fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 11186.66
373 fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
375 fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 4020.71
376 fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
378 fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 11186.94
379 fate-swr-resample_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
381 define ARESAMPLE_EXACT
382 FATE_SWR_RESAMPLE += fate-swr-resample_exact-$(3)-$(1)-$(2)
383 fate-swr-resample_exact-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
384 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,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on -f wav -acodec pcm_s16le -
386 fate-swr-resample_exact-$(3)-$(1)-$(2): CMP = stddev
387 fate-swr-resample_exact-$(3)-$(1)-$(2): CMP_UNIT = $(5)
388 fate-swr-resample_exact-$(3)-$(1)-$(2): FUZZ = 0.1
389 fate-swr-resample_exact-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
392 fate-swr-resample_exact-dblp-2626-44100: CMP_TARGET = 1352.67
393 fate-swr-resample_exact-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
395 fate-swr-resample_exact-dblp-2626-48000: CMP_TARGET = 1352.66
396 fate-swr-resample_exact-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
398 fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1352.56
399 fate-swr-resample_exact-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
401 fate-swr-resample_exact-dblp-2626-96000: CMP_TARGET = 1352.67
402 fate-swr-resample_exact-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
404 fate-swr-resample_exact-dblp-44100-2626: CMP_TARGET = 185.82
405 fate-swr-resample_exact-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
407 fate-swr-resample_exact-dblp-44100-48000: CMP_TARGET = 9.64
408 fate-swr-resample_exact-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
410 fate-swr-resample_exact-dblp-44100-8000: CMP_TARGET = 75.38
411 fate-swr-resample_exact-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
413 fate-swr-resample_exact-dblp-44100-96000: CMP_TARGET = 11.45
414 fate-swr-resample_exact-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
416 fate-swr-resample_exact-dblp-48000-2626: CMP_TARGET = 456.51
417 fate-swr-resample_exact-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
419 fate-swr-resample_exact-dblp-48000-44100: CMP_TARGET = 0.23
420 fate-swr-resample_exact-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
422 fate-swr-resample_exact-dblp-48000-8000: CMP_TARGET = 62.36
423 fate-swr-resample_exact-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
425 fate-swr-resample_exact-dblp-48000-96000: CMP_TARGET = 0.47
426 fate-swr-resample_exact-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
428 fate-swr-resample_exact-dblp-8000-2626: CMP_TARGET = 2503.33
429 fate-swr-resample_exact-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
431 fate-swr-resample_exact-dblp-8000-44100: CMP_TARGET = 14.59
432 fate-swr-resample_exact-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
434 fate-swr-resample_exact-dblp-8000-48000: CMP_TARGET = 14.50
435 fate-swr-resample_exact-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
437 fate-swr-resample_exact-dblp-8000-96000: CMP_TARGET = 13.62
438 fate-swr-resample_exact-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
440 fate-swr-resample_exact-dblp-96000-2626: CMP_TARGET = 675.07
441 fate-swr-resample_exact-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
443 fate-swr-resample_exact-dblp-96000-44100: CMP_TARGET = 1.24
444 fate-swr-resample_exact-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
446 fate-swr-resample_exact-dblp-96000-48000: CMP_TARGET = 0.99
447 fate-swr-resample_exact-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
449 fate-swr-resample_exact-dblp-96000-8000: CMP_TARGET = 58.52
450 fate-swr-resample_exact-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
452 fate-swr-resample_exact-fltp-2626-44100: CMP_TARGET = 1352.67
453 fate-swr-resample_exact-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
455 fate-swr-resample_exact-fltp-2626-48000: CMP_TARGET = 1352.66
456 fate-swr-resample_exact-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
458 fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1352.56
459 fate-swr-resample_exact-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
461 fate-swr-resample_exact-fltp-2626-96000: CMP_TARGET = 1352.67
462 fate-swr-resample_exact-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
464 fate-swr-resample_exact-fltp-44100-2626: CMP_TARGET = 185.82
465 fate-swr-resample_exact-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
467 fate-swr-resample_exact-fltp-44100-48000: CMP_TARGET = 9.64
468 fate-swr-resample_exact-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
470 fate-swr-resample_exact-fltp-44100-8000: CMP_TARGET = 75.38
471 fate-swr-resample_exact-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
473 fate-swr-resample_exact-fltp-44100-96000: CMP_TARGET = 11.45
474 fate-swr-resample_exact-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
476 fate-swr-resample_exact-fltp-48000-2626: CMP_TARGET = 456.51
477 fate-swr-resample_exact-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
479 fate-swr-resample_exact-fltp-48000-44100: CMP_TARGET = 0.23
480 fate-swr-resample_exact-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
482 fate-swr-resample_exact-fltp-48000-8000: CMP_TARGET = 62.36
483 fate-swr-resample_exact-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
485 fate-swr-resample_exact-fltp-48000-96000: CMP_TARGET = 0.47
486 fate-swr-resample_exact-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
488 fate-swr-resample_exact-fltp-8000-2626: CMP_TARGET = 2503.33
489 fate-swr-resample_exact-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
491 fate-swr-resample_exact-fltp-8000-44100: CMP_TARGET = 14.59
492 fate-swr-resample_exact-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
494 fate-swr-resample_exact-fltp-8000-48000: CMP_TARGET = 14.50
495 fate-swr-resample_exact-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
497 fate-swr-resample_exact-fltp-8000-96000: CMP_TARGET = 13.62
498 fate-swr-resample_exact-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
500 fate-swr-resample_exact-fltp-96000-2626: CMP_TARGET = 675.07
501 fate-swr-resample_exact-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
503 fate-swr-resample_exact-fltp-96000-44100: CMP_TARGET = 1.23
504 fate-swr-resample_exact-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
506 fate-swr-resample_exact-fltp-96000-48000: CMP_TARGET = 0.99
507 fate-swr-resample_exact-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
509 fate-swr-resample_exact-fltp-96000-8000: CMP_TARGET = 58.52
510 fate-swr-resample_exact-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
512 fate-swr-resample_exact-s16p-2626-44100: CMP_TARGET = 1392.98
513 fate-swr-resample_exact-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
515 fate-swr-resample_exact-s16p-2626-48000: CMP_TARGET = 1393.01
516 fate-swr-resample_exact-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
518 fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.36
519 fate-swr-resample_exact-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
521 fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.07
522 fate-swr-resample_exact-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
524 fate-swr-resample_exact-s16p-44100-2626: CMP_TARGET = 185.84
525 fate-swr-resample_exact-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
527 fate-swr-resample_exact-s16p-44100-48000: CMP_TARGET = 9.66
528 fate-swr-resample_exact-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
530 fate-swr-resample_exact-s16p-44100-8000: CMP_TARGET = 75.43
531 fate-swr-resample_exact-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
533 fate-swr-resample_exact-s16p-44100-96000: CMP_TARGET = 11.46
534 fate-swr-resample_exact-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
536 fate-swr-resample_exact-s16p-48000-2626: CMP_TARGET = 456.55
537 fate-swr-resample_exact-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
539 fate-swr-resample_exact-s16p-48000-44100: CMP_TARGET = 0.68
540 fate-swr-resample_exact-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
542 fate-swr-resample_exact-s16p-48000-8000: CMP_TARGET = 62.39
543 fate-swr-resample_exact-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
545 fate-swr-resample_exact-s16p-48000-96000: CMP_TARGET = 0.73
546 fate-swr-resample_exact-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
548 fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2503.32
549 fate-swr-resample_exact-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
551 fate-swr-resample_exact-s16p-8000-44100: CMP_TARGET = 14.63
552 fate-swr-resample_exact-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
554 fate-swr-resample_exact-s16p-8000-48000: CMP_TARGET = 14.54
555 fate-swr-resample_exact-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
557 fate-swr-resample_exact-s16p-8000-96000: CMP_TARGET = 13.65
558 fate-swr-resample_exact-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
560 fate-swr-resample_exact-s16p-96000-2626: CMP_TARGET = 675.15
561 fate-swr-resample_exact-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
563 fate-swr-resample_exact-s16p-96000-44100: CMP_TARGET = 1.44
564 fate-swr-resample_exact-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
566 fate-swr-resample_exact-s16p-96000-48000: CMP_TARGET = 1.12
567 fate-swr-resample_exact-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
569 fate-swr-resample_exact-s16p-96000-8000: CMP_TARGET = 58.56
570 fate-swr-resample_exact-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
572 fate-swr-resample_exact-s32p-2626-44100: CMP_TARGET = 1392.99
573 fate-swr-resample_exact-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
575 fate-swr-resample_exact-s32p-2626-48000: CMP_TARGET = 1393.01
576 fate-swr-resample_exact-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
578 fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.36
579 fate-swr-resample_exact-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
581 fate-swr-resample_exact-s32p-2626-96000: CMP_TARGET = 1393.00
582 fate-swr-resample_exact-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
584 fate-swr-resample_exact-s32p-44100-2626: CMP_TARGET = 185.81
585 fate-swr-resample_exact-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
587 fate-swr-resample_exact-s32p-44100-48000: CMP_TARGET = 9.66
588 fate-swr-resample_exact-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
590 fate-swr-resample_exact-s32p-44100-8000: CMP_TARGET = 75.37
591 fate-swr-resample_exact-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
593 fate-swr-resample_exact-s32p-44100-96000: CMP_TARGET = 11.46
594 fate-swr-resample_exact-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
596 fate-swr-resample_exact-s32p-48000-2626: CMP_TARGET = 456.49
597 fate-swr-resample_exact-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
599 fate-swr-resample_exact-s32p-48000-44100: CMP_TARGET = 0.74
600 fate-swr-resample_exact-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
602 fate-swr-resample_exact-s32p-48000-8000: CMP_TARGET = 62.35
603 fate-swr-resample_exact-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
605 fate-swr-resample_exact-s32p-48000-96000: CMP_TARGET = 0.85
606 fate-swr-resample_exact-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
608 fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2503.33
609 fate-swr-resample_exact-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
611 fate-swr-resample_exact-s32p-8000-44100: CMP_TARGET = 14.61
612 fate-swr-resample_exact-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
614 fate-swr-resample_exact-s32p-8000-48000: CMP_TARGET = 14.52
615 fate-swr-resample_exact-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
617 fate-swr-resample_exact-s32p-8000-96000: CMP_TARGET = 13.62
618 fate-swr-resample_exact-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
620 fate-swr-resample_exact-s32p-96000-2626: CMP_TARGET = 675.05
621 fate-swr-resample_exact-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
623 fate-swr-resample_exact-s32p-96000-44100: CMP_TARGET = 1.41
624 fate-swr-resample_exact-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
626 fate-swr-resample_exact-s32p-96000-48000: CMP_TARGET = 1.21
627 fate-swr-resample_exact-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
629 fate-swr-resample_exact-s32p-96000-8000: CMP_TARGET = 58.54
630 fate-swr-resample_exact-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
632 define ARESAMPLE_EXACT_ASYNC
633 FATE_SWR_RESAMPLE += fate-swr-resample_exact_async-$(3)-$(1)-$(2)
634 fate-swr-resample_exact_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
635 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,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on -f wav -acodec pcm_s16le -
637 fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP = stddev
638 fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
639 fate-swr-resample_exact_async-$(3)-$(1)-$(2): FUZZ = 0.1
640 fate-swr-resample_exact_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
643 fate-swr-resample_exact_async-dblp-44100-48000: CMP_TARGET = 7791.50
644 fate-swr-resample_exact_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
646 fate-swr-resample_exact_async-dblp-44100-8000: CMP_TARGET = 4022.87
647 fate-swr-resample_exact_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
649 fate-swr-resample_exact_async-dblp-48000-44100: CMP_TARGET = 1923.97
650 fate-swr-resample_exact_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
652 fate-swr-resample_exact_async-dblp-48000-8000: CMP_TARGET = 2592.00
653 fate-swr-resample_exact_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
655 fate-swr-resample_exact_async-dblp-8000-44100: CMP_TARGET = 11187.24
656 fate-swr-resample_exact_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
658 fate-swr-resample_exact_async-dblp-8000-48000: CMP_TARGET = 11326.80
659 fate-swr-resample_exact_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
661 fate-swr-resample_exact_async-fltp-44100-48000: CMP_TARGET = 7791.50
662 fate-swr-resample_exact_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
664 fate-swr-resample_exact_async-fltp-44100-8000: CMP_TARGET = 4022.87
665 fate-swr-resample_exact_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
667 fate-swr-resample_exact_async-fltp-48000-44100: CMP_TARGET = 1923.97
668 fate-swr-resample_exact_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
670 fate-swr-resample_exact_async-fltp-48000-8000: CMP_TARGET = 2592.00
671 fate-swr-resample_exact_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
673 fate-swr-resample_exact_async-fltp-8000-44100: CMP_TARGET = 11187.24
674 fate-swr-resample_exact_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
676 fate-swr-resample_exact_async-fltp-8000-48000: CMP_TARGET = 11326.80
677 fate-swr-resample_exact_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
679 fate-swr-resample_exact_async-s16p-44100-48000: CMP_TARGET = 7791.50
680 fate-swr-resample_exact_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
682 fate-swr-resample_exact_async-s16p-44100-8000: CMP_TARGET = 4023.05
683 fate-swr-resample_exact_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
685 fate-swr-resample_exact_async-s16p-48000-44100: CMP_TARGET = 1923.96
686 fate-swr-resample_exact_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
688 fate-swr-resample_exact_async-s16p-48000-8000: CMP_TARGET = 2592.15
689 fate-swr-resample_exact_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
691 fate-swr-resample_exact_async-s16p-8000-44100: CMP_TARGET = 11187.58
692 fate-swr-resample_exact_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
694 fate-swr-resample_exact_async-s16p-8000-48000: CMP_TARGET = 11327.48
695 fate-swr-resample_exact_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
697 fate-swr-resample_exact_async-s32p-44100-48000: CMP_TARGET = 7791.50
698 fate-swr-resample_exact_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
700 fate-swr-resample_exact_async-s32p-44100-8000: CMP_TARGET = 4022.87
701 fate-swr-resample_exact_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
703 fate-swr-resample_exact_async-s32p-48000-44100: CMP_TARGET = 1923.96
704 fate-swr-resample_exact_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
706 fate-swr-resample_exact_async-s32p-48000-8000: CMP_TARGET = 2592.00
707 fate-swr-resample_exact_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
709 fate-swr-resample_exact_async-s32p-8000-44100: CMP_TARGET = 11187.24
710 fate-swr-resample_exact_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
712 fate-swr-resample_exact_async-s32p-8000-48000: CMP_TARGET = 11326.79
713 fate-swr-resample_exact_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
715 define ARESAMPLE_EXACT_LIN
716 FATE_SWR_RESAMPLE += fate-swr-resample_exact_lin-$(3)-$(1)-$(2)
717 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
718 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 -acodec pcm_s16le -
720 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP = stddev
721 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
722 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): FUZZ = 0.1
723 fate-swr-resample_exact_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
726 fate-swr-resample_exact_lin-dblp-44100-48000: CMP_TARGET = 9.64
727 fate-swr-resample_exact_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
729 fate-swr-resample_exact_lin-dblp-44100-8000: CMP_TARGET = 75.38
730 fate-swr-resample_exact_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
732 fate-swr-resample_exact_lin-dblp-48000-44100: CMP_TARGET = 0.23
733 fate-swr-resample_exact_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
735 fate-swr-resample_exact_lin-dblp-48000-8000: CMP_TARGET = 62.36
736 fate-swr-resample_exact_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
738 fate-swr-resample_exact_lin-dblp-8000-44100: CMP_TARGET = 14.59
739 fate-swr-resample_exact_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
741 fate-swr-resample_exact_lin-dblp-8000-48000: CMP_TARGET = 14.50
742 fate-swr-resample_exact_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
744 fate-swr-resample_exact_lin-fltp-44100-48000: CMP_TARGET = 9.64
745 fate-swr-resample_exact_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
747 fate-swr-resample_exact_lin-fltp-44100-8000: CMP_TARGET = 75.38
748 fate-swr-resample_exact_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
750 fate-swr-resample_exact_lin-fltp-48000-44100: CMP_TARGET = 0.23
751 fate-swr-resample_exact_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
753 fate-swr-resample_exact_lin-fltp-48000-8000: CMP_TARGET = 62.36
754 fate-swr-resample_exact_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
756 fate-swr-resample_exact_lin-fltp-8000-44100: CMP_TARGET = 14.59
757 fate-swr-resample_exact_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
759 fate-swr-resample_exact_lin-fltp-8000-48000: CMP_TARGET = 14.50
760 fate-swr-resample_exact_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
762 fate-swr-resample_exact_lin-s16p-44100-48000: CMP_TARGET = 9.66
763 fate-swr-resample_exact_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
765 fate-swr-resample_exact_lin-s16p-44100-8000: CMP_TARGET = 75.43
766 fate-swr-resample_exact_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
768 fate-swr-resample_exact_lin-s16p-48000-44100: CMP_TARGET = 0.68
769 fate-swr-resample_exact_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
771 fate-swr-resample_exact_lin-s16p-48000-8000: CMP_TARGET = 62.39
772 fate-swr-resample_exact_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
774 fate-swr-resample_exact_lin-s16p-8000-44100: CMP_TARGET = 14.63
775 fate-swr-resample_exact_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
777 fate-swr-resample_exact_lin-s16p-8000-48000: CMP_TARGET = 14.54
778 fate-swr-resample_exact_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
780 fate-swr-resample_exact_lin-s32p-44100-48000: CMP_TARGET = 9.66
781 fate-swr-resample_exact_lin-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
783 fate-swr-resample_exact_lin-s32p-44100-8000: CMP_TARGET = 75.37
784 fate-swr-resample_exact_lin-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
786 fate-swr-resample_exact_lin-s32p-48000-44100: CMP_TARGET = 0.74
787 fate-swr-resample_exact_lin-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
789 fate-swr-resample_exact_lin-s32p-48000-8000: CMP_TARGET = 62.35
790 fate-swr-resample_exact_lin-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
792 fate-swr-resample_exact_lin-s32p-8000-44100: CMP_TARGET = 14.61
793 fate-swr-resample_exact_lin-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
795 fate-swr-resample_exact_lin-s32p-8000-48000: CMP_TARGET = 14.52
796 fate-swr-resample_exact_lin-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
798 define ARESAMPLE_EXACT_LIN_ASYNC
799 FATE_SWR_RESAMPLE += fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2)
800 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
801 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 -acodec pcm_s16le -
803 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP = stddev
804 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
805 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): FUZZ = 0.1
806 fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
809 fate-swr-resample_exact_lin_async-dblp-44100-48000: CMP_TARGET = 7791.72
810 fate-swr-resample_exact_lin_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
812 fate-swr-resample_exact_lin_async-dblp-44100-8000: CMP_TARGET = 4023.01
813 fate-swr-resample_exact_lin_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
815 fate-swr-resample_exact_lin_async-dblp-48000-44100: CMP_TARGET = 1923.79
816 fate-swr-resample_exact_lin_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
818 fate-swr-resample_exact_lin_async-dblp-48000-8000: CMP_TARGET = 2591.72
819 fate-swr-resample_exact_lin_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
821 fate-swr-resample_exact_lin_async-dblp-8000-44100: CMP_TARGET = 11187.24
822 fate-swr-resample_exact_lin_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
824 fate-swr-resample_exact_lin_async-dblp-8000-48000: CMP_TARGET = 11326.80
825 fate-swr-resample_exact_lin_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
827 fate-swr-resample_exact_lin_async-fltp-44100-48000: CMP_TARGET = 7791.72
828 fate-swr-resample_exact_lin_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
830 fate-swr-resample_exact_lin_async-fltp-44100-8000: CMP_TARGET = 4023.01
831 fate-swr-resample_exact_lin_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
833 fate-swr-resample_exact_lin_async-fltp-48000-44100: CMP_TARGET = 1923.79
834 fate-swr-resample_exact_lin_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
836 fate-swr-resample_exact_lin_async-fltp-48000-8000: CMP_TARGET = 2591.72
837 fate-swr-resample_exact_lin_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
839 fate-swr-resample_exact_lin_async-fltp-8000-44100: CMP_TARGET = 11187.25
840 fate-swr-resample_exact_lin_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
842 fate-swr-resample_exact_lin_async-fltp-8000-48000: CMP_TARGET = 11326.80
843 fate-swr-resample_exact_lin_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
845 fate-swr-resample_exact_lin_async-s16p-44100-48000: CMP_TARGET = 7791.72
846 fate-swr-resample_exact_lin_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
848 fate-swr-resample_exact_lin_async-s16p-44100-8000: CMP_TARGET = 4023.19
849 fate-swr-resample_exact_lin_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
851 fate-swr-resample_exact_lin_async-s16p-48000-44100: CMP_TARGET = 1923.79
852 fate-swr-resample_exact_lin_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
854 fate-swr-resample_exact_lin_async-s16p-48000-8000: CMP_TARGET = 2591.85
855 fate-swr-resample_exact_lin_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
857 fate-swr-resample_exact_lin_async-s16p-8000-44100: CMP_TARGET = 11187.57
858 fate-swr-resample_exact_lin_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
860 fate-swr-resample_exact_lin_async-s16p-8000-48000: CMP_TARGET = 11327.48
861 fate-swr-resample_exact_lin_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
863 fate-swr-resample_exact_lin_async-s32p-44100-48000: CMP_TARGET = 7791.72
864 fate-swr-resample_exact_lin_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
866 fate-swr-resample_exact_lin_async-s32p-44100-8000: CMP_TARGET = 4023.02
867 fate-swr-resample_exact_lin_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
869 fate-swr-resample_exact_lin_async-s32p-48000-44100: CMP_TARGET = 1923.77
870 fate-swr-resample_exact_lin_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
872 fate-swr-resample_exact_lin_async-s32p-48000-8000: CMP_TARGET = 2591.71
873 fate-swr-resample_exact_lin_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
875 fate-swr-resample_exact_lin_async-s32p-8000-44100: CMP_TARGET = 11187.25
876 fate-swr-resample_exact_lin_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
878 fate-swr-resample_exact_lin_async-s32p-8000-48000: CMP_TARGET = 11326.81
879 fate-swr-resample_exact_lin_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
881 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s16p,s16le,s16)
882 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s32p,s32le,s16)
883 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,fltp,f32le,s16)
884 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,dblp,f64le,s16)
886 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,s16p,s16le,s16)
887 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,fltp,f32le,s16)
888 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,dblp,f64le,s16)
890 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,s16p,s16le,s16)
891 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,fltp,f32le,s16)
893 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,s16p,s16le,s16)
894 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,fltp,f32le,s16)
896 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s16p,s16le,s16)
897 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s32p,s32le,s16)
898 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,fltp,f32le,s16)
899 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,dblp,f64le,s16)
901 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s16p,s16le,s16)
902 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s32p,s32le,s16)
903 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,fltp,f32le,s16)
904 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,dblp,f64le,s16)
906 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN,s16p,s16le,s16)
907 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN,s32p,s32le,s16)
908 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN,fltp,f32le,s16)
909 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN,dblp,f64le,s16)
911 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s16p,s16le,s16)
912 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s32p,s32le,s16)
913 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,fltp,f32le,s16)
914 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,dblp,f64le,s16)
916 FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_SWR_RESAMPLE)
917 fate-swr-resample: $(FATE_SWR_RESAMPLE-yes)
918 FATE_SWR += $(FATE_SWR_RESAMPLE-yes)
920 FATE_SWR_AUDIOCONVERT-$(call FILTERDEMDECENCMUX, AFORMAT AEVAL, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-audioconvert
921 fate-swr-audioconvert: tests/data/asynth-44100-1.wav
922 fate-swr-audioconvert: REF = tests/data/asynth-44100-1.wav
923 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 -acodec pcm_s16le -
924 fate-swr-audioconvert: CMP = stddev
925 fate-swr-audioconvert: FUZZ = 0
927 FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
928 FATE_FFMPEG += $(FATE_SWR)
929 fate-swr: $(FATE_SWR)