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.68
30 fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
32 fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.65
33 fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
35 fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1353.08
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.70
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.47
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.02
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 = 2506.02
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.08
78 fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
80 fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.45
81 fate-swr-resample-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
83 fate-swr-resample-dblp-96000-48000: CMP_TARGET = 1.00
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.68
90 fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
92 fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.65
93 fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
95 fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1353.08
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.70
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.47
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.02
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 = 2506.02
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.08
138 fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
140 fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.45
141 fate-swr-resample-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
143 fate-swr-resample-fltp-96000-48000: CMP_TARGET = 1.00
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 = 1393.01
150 fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
152 fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1392.99
153 fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
155 fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.90
156 fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
158 fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.08
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.22
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.50
183 fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
185 fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2506.02
186 fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
188 fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.12
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.14
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.03
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 = 1393.01
210 fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
212 fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1392.99
213 fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
215 fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.89
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.82
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.51
234 fate-swr-resample-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
236 fate-swr-resample-s32p-48000-44100: CMP_TARGET = 1.02
237 fate-swr-resample-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
239 fate-swr-resample-s32p-48000-8000: CMP_TARGET = 62.38
240 fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
242 fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.47
243 fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
245 fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2506.02
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.69
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.08
258 fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
260 fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.45
261 fate-swr-resample-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
263 fate-swr-resample-s32p-96000-48000: CMP_TARGET = 1.00
264 fate-swr-resample-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
266 fate-swr-resample-s32p-96000-8000: CMP_TARGET = 58.57
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.39
294 fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
296 fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.68
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.65
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.26
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.65
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.26
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 = 590.98
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.97
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.62
370 fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
372 fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 11186.69
373 fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
375 fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 4020.73
376 fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
378 fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 11187.01
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.68
393 fate-swr-resample_exact-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
395 fate-swr-resample_exact-dblp-2626-48000: CMP_TARGET = 1352.65
396 fate-swr-resample_exact-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
398 fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1353.08
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.65
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.26
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 = 2506.02
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.08
441 fate-swr-resample_exact-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
443 fate-swr-resample_exact-dblp-96000-44100: CMP_TARGET = 1.26
444 fate-swr-resample_exact-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
446 fate-swr-resample_exact-dblp-96000-48000: CMP_TARGET = 1.00
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.68
453 fate-swr-resample_exact-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
455 fate-swr-resample_exact-fltp-2626-48000: CMP_TARGET = 1352.65
456 fate-swr-resample_exact-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
458 fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1353.08
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.65
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.26
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 = 2506.02
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.08
501 fate-swr-resample_exact-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
503 fate-swr-resample_exact-fltp-96000-44100: CMP_TARGET = 1.26
504 fate-swr-resample_exact-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
506 fate-swr-resample_exact-fltp-96000-48000: CMP_TARGET = 1.00
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 = 1393.01
513 fate-swr-resample_exact-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
515 fate-swr-resample_exact-s16p-2626-48000: CMP_TARGET = 1392.99
516 fate-swr-resample_exact-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
518 fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.90
519 fate-swr-resample_exact-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
521 fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.08
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.67
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.72
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.50
546 fate-swr-resample_exact-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
548 fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2506.02
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.14
561 fate-swr-resample_exact-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
563 fate-swr-resample_exact-s16p-96000-44100: CMP_TARGET = 1.45
564 fate-swr-resample_exact-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
566 fate-swr-resample_exact-s16p-96000-48000: CMP_TARGET = 1.03
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 = 1393.01
573 fate-swr-resample_exact-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
575 fate-swr-resample_exact-s32p-2626-48000: CMP_TARGET = 1392.99
576 fate-swr-resample_exact-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
578 fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.89
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.82
585 fate-swr-resample_exact-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
587 fate-swr-resample_exact-s32p-44100-48000: CMP_TARGET = 9.65
588 fate-swr-resample_exact-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
590 fate-swr-resample_exact-s32p-44100-8000: CMP_TARGET = 75.38
591 fate-swr-resample_exact-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
593 fate-swr-resample_exact-s32p-44100-96000: CMP_TARGET = 11.45
594 fate-swr-resample_exact-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
596 fate-swr-resample_exact-s32p-48000-2626: CMP_TARGET = 456.51
597 fate-swr-resample_exact-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
599 fate-swr-resample_exact-s32p-48000-44100: CMP_TARGET = 0.26
600 fate-swr-resample_exact-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
602 fate-swr-resample_exact-s32p-48000-8000: CMP_TARGET = 62.36
603 fate-swr-resample_exact-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
605 fate-swr-resample_exact-s32p-48000-96000: CMP_TARGET = 0.47
606 fate-swr-resample_exact-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
608 fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2506.02
609 fate-swr-resample_exact-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
611 fate-swr-resample_exact-s32p-8000-44100: CMP_TARGET = 14.59
612 fate-swr-resample_exact-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
614 fate-swr-resample_exact-s32p-8000-48000: CMP_TARGET = 14.50
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.08
621 fate-swr-resample_exact-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
623 fate-swr-resample_exact-s32p-96000-44100: CMP_TARGET = 1.26
624 fate-swr-resample_exact-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
626 fate-swr-resample_exact-s32p-96000-48000: CMP_TARGET = 1.00
627 fate-swr-resample_exact-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
629 fate-swr-resample_exact-s32p-96000-8000: CMP_TARGET = 58.52
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.55
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.89
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.99
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.02
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.37
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.82
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.55
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.89
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.98
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.02
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.37
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.82
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.56
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.06
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.98
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.62
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.50
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.55
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.89
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.98
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.02
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.37
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.82
713 fate-swr-resample_exact_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
715 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s16p,s16le,s16)
716 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s32p,s32le,s16)
717 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,fltp,f32le,s16)
718 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,dblp,f64le,s16)
720 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,s16p,s16le,s16)
721 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,fltp,f32le,s16)
722 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,dblp,f64le,s16)
724 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,s16p,s16le,s16)
725 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,fltp,f32le,s16)
727 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,s16p,s16le,s16)
728 $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,fltp,f32le,s16)
730 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s16p,s16le,s16)
731 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s32p,s32le,s16)
732 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,fltp,f32le,s16)
733 $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,dblp,f64le,s16)
735 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s16p,s16le,s16)
736 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s32p,s32le,s16)
737 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,fltp,f32le,s16)
738 $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,dblp,f64le,s16)
740 FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_SWR_RESAMPLE)
741 fate-swr-resample: $(FATE_SWR_RESAMPLE-yes)
742 FATE_SWR += $(FATE_SWR_RESAMPLE-yes)
744 FATE_SWR_AUDIOCONVERT-$(call FILTERDEMDECENCMUX, AFORMAT AEVAL, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-audioconvert
745 fate-swr-audioconvert: tests/data/asynth-44100-1.wav
746 fate-swr-audioconvert: REF = tests/data/asynth-44100-1.wav
747 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 -
748 fate-swr-audioconvert: CMP = stddev
749 fate-swr-audioconvert: FUZZ = 0
751 FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
752 FATE_FFMPEG += $(FATE_SWR)
753 fate-swr: $(FATE_SWR)