12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109 |
- CROSS_TEST = $(foreach I,$(1), \
- $(foreach J,$(1), \
- $(if $(filter-out $(I),$(J)), \
- $(eval $(call $(2),$(I),$(J),$(3),$(4),$(5))), \
- )))
- SAMPLERATES = 2626 8000 44100 48000 96000
- SAMPLERATES_LITE = 8000 44100 48000
- SAMPLERATES_NN = 8000 44100
- #note that the default is ARESAMPLE_EXACT_LIN
- define ARESAMPLE
- FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
- fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- 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 -
- fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- #below list is generated by:
- #you can use this if you need to update it!
- #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'
- fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67
- fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.66
- fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1352.56
- fate-swr-resample-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.67
- fate-swr-resample-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-dblp-44100-2626: CMP_TARGET = 185.82
- fate-swr-resample-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample-dblp-44100-48000: CMP_TARGET = 9.69
- fate-swr-resample-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-dblp-44100-8000: CMP_TARGET = 75.45
- fate-swr-resample-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample-dblp-44100-96000: CMP_TARGET = 11.46
- fate-swr-resample-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-dblp-48000-2626: CMP_TARGET = 456.51
- fate-swr-resample-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample-dblp-48000-44100: CMP_TARGET = 1.00
- fate-swr-resample-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-dblp-48000-8000: CMP_TARGET = 62.38
- fate-swr-resample-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample-dblp-48000-96000: CMP_TARGET = 0.47
- fate-swr-resample-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2503.33
- fate-swr-resample-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample-dblp-8000-44100: CMP_TARGET = 15.09
- fate-swr-resample-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-dblp-8000-48000: CMP_TARGET = 14.69
- fate-swr-resample-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-dblp-8000-96000: CMP_TARGET = 13.81
- fate-swr-resample-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.07
- fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.44
- fate-swr-resample-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-dblp-96000-48000: CMP_TARGET = 0.99
- fate-swr-resample-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-dblp-96000-8000: CMP_TARGET = 58.57
- fate-swr-resample-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.67
- fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.66
- fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1352.56
- fate-swr-resample-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.67
- fate-swr-resample-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-fltp-44100-2626: CMP_TARGET = 185.82
- fate-swr-resample-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample-fltp-44100-48000: CMP_TARGET = 9.69
- fate-swr-resample-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-fltp-44100-8000: CMP_TARGET = 75.45
- fate-swr-resample-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample-fltp-44100-96000: CMP_TARGET = 11.46
- fate-swr-resample-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-fltp-48000-2626: CMP_TARGET = 456.51
- fate-swr-resample-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample-fltp-48000-44100: CMP_TARGET = 1.00
- fate-swr-resample-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-fltp-48000-8000: CMP_TARGET = 62.38
- fate-swr-resample-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample-fltp-48000-96000: CMP_TARGET = 0.47
- fate-swr-resample-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2503.33
- fate-swr-resample-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample-fltp-8000-44100: CMP_TARGET = 15.09
- fate-swr-resample-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-fltp-8000-48000: CMP_TARGET = 14.69
- fate-swr-resample-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-fltp-8000-96000: CMP_TARGET = 13.81
- fate-swr-resample-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.07
- fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.44
- fate-swr-resample-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-fltp-96000-48000: CMP_TARGET = 0.99
- fate-swr-resample-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-fltp-96000-8000: CMP_TARGET = 58.57
- fate-swr-resample-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1392.98
- fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1393.01
- fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.36
- fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.07
- fate-swr-resample-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-s16p-44100-2626: CMP_TARGET = 185.84
- fate-swr-resample-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample-s16p-44100-48000: CMP_TARGET = 9.71
- fate-swr-resample-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-s16p-44100-8000: CMP_TARGET = 75.46
- fate-swr-resample-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample-s16p-44100-96000: CMP_TARGET = 11.48
- fate-swr-resample-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-s16p-48000-2626: CMP_TARGET = 456.55
- fate-swr-resample-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample-s16p-48000-44100: CMP_TARGET = 1.20
- fate-swr-resample-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-s16p-48000-8000: CMP_TARGET = 62.41
- fate-swr-resample-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample-s16p-48000-96000: CMP_TARGET = 0.73
- fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2503.32
- fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.13
- fate-swr-resample-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-s16p-8000-48000: CMP_TARGET = 14.69
- fate-swr-resample-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-s16p-8000-96000: CMP_TARGET = 13.83
- fate-swr-resample-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-s16p-96000-2626: CMP_TARGET = 675.15
- fate-swr-resample-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample-s16p-96000-44100: CMP_TARGET = 1.62
- fate-swr-resample-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-s16p-96000-48000: CMP_TARGET = 1.12
- fate-swr-resample-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-s16p-96000-8000: CMP_TARGET = 58.60
- fate-swr-resample-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1392.99
- fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1393.01
- fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.36
- fate-swr-resample-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.00
- fate-swr-resample-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample-s32p-44100-2626: CMP_TARGET = 185.81
- fate-swr-resample-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample-s32p-44100-48000: CMP_TARGET = 9.70
- fate-swr-resample-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-s32p-44100-8000: CMP_TARGET = 75.45
- fate-swr-resample-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample-s32p-44100-96000: CMP_TARGET = 11.47
- fate-swr-resample-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample-s32p-48000-2626: CMP_TARGET = 456.49
- fate-swr-resample-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample-s32p-48000-44100: CMP_TARGET = 1.12
- fate-swr-resample-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-s32p-48000-8000: CMP_TARGET = 62.37
- fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.85
- fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2503.33
- fate-swr-resample-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample-s32p-8000-44100: CMP_TARGET = 15.09
- fate-swr-resample-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-s32p-8000-48000: CMP_TARGET = 14.68
- fate-swr-resample-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-s32p-8000-96000: CMP_TARGET = 13.81
- fate-swr-resample-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.05
- fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.54
- fate-swr-resample-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-s32p-96000-48000: CMP_TARGET = 1.21
- fate-swr-resample-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample-s32p-96000-8000: CMP_TARGET = 58.59
- fate-swr-resample-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- define ARESAMPLE_LIN
- FATE_SWR_RESAMPLE += fate-swr-resample_lin-$(3)-$(1)-$(2)
- fate-swr-resample_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- 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 -
- fate-swr-resample_lin-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample_lin-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- fate-swr-resample_lin-s16p-8000-44100: CMP_TARGET = 14.61
- fate-swr-resample_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_lin-s16p-8000-48000: CMP_TARGET = 14.53
- fate-swr-resample_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_lin-s16p-44100-8000: CMP_TARGET = 75.41
- fate-swr-resample_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_lin-s16p-44100-48000: CMP_TARGET = 9.66
- fate-swr-resample_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_lin-s16p-48000-8000: CMP_TARGET = 62.38
- fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.65
- fate-swr-resample_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_lin-fltp-8000-44100: CMP_TARGET = 14.59
- fate-swr-resample_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_lin-fltp-8000-48000: CMP_TARGET = 14.50
- fate-swr-resample_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_lin-fltp-44100-8000: CMP_TARGET = 75.38
- fate-swr-resample_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_lin-fltp-44100-48000: CMP_TARGET = 9.64
- fate-swr-resample_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_lin-fltp-48000-8000: CMP_TARGET = 62.36
- fate-swr-resample_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.23
- fate-swr-resample_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_lin-dblp-8000-44100: CMP_TARGET = 14.59
- fate-swr-resample_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_lin-dblp-8000-48000: CMP_TARGET = 14.50
- fate-swr-resample_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_lin-dblp-44100-8000: CMP_TARGET = 75.38
- fate-swr-resample_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_lin-dblp-44100-48000: CMP_TARGET = 9.64
- fate-swr-resample_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_lin-dblp-48000-8000: CMP_TARGET = 62.36
- fate-swr-resample_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_lin-dblp-48000-44100: CMP_TARGET = 0.23
- fate-swr-resample_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- define ARESAMPLE_NN
- FATE_SWR_RESAMPLE += fate-swr-resample_nn-$(3)-$(1)-$(2)
- fate-swr-resample_nn-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- 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 -
- fate-swr-resample_nn-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample_nn-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample_nn-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample_nn-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- fate-swr-resample_nn-fltp-44100-8000: CMP_TARGET = 591.03
- fate-swr-resample_nn-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_nn-fltp-8000-44100: CMP_TARGET = 3156.61
- fate-swr-resample_nn-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_nn-s16p-44100-8000: CMP_TARGET = 590.98
- fate-swr-resample_nn-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_nn-s16p-8000-44100: CMP_TARGET = 3156.61
- fate-swr-resample_nn-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- define ARESAMPLE_ASYNC
- FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ATRIM ASETNSAMPLES ASETPTS ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-resample_async-$(3)-$(1)-$(2)
- fate-swr-resample_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- fate-swr-resample_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetnsamples=2048,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 -
- fate-swr-resample_async-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample_async-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- fate-swr-resample_async-fltp-44100-8000: CMP_TARGET = 3802.05
- fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 10451.40
- fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 3802.16
- fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 10451.66
- fate-swr-resample_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- define ARESAMPLE_EXACT
- FATE_SWR_RESAMPLE += fate-swr-resample_exact-$(3)-$(1)-$(2)
- fate-swr-resample_exact-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- 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 -
- fate-swr-resample_exact-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample_exact-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample_exact-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample_exact-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- fate-swr-resample_exact-dblp-2626-44100: CMP_TARGET = 1352.67
- fate-swr-resample_exact-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-dblp-2626-48000: CMP_TARGET = 1352.66
- fate-swr-resample_exact-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1352.56
- fate-swr-resample_exact-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample_exact-dblp-2626-96000: CMP_TARGET = 1352.67
- fate-swr-resample_exact-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-dblp-44100-2626: CMP_TARGET = 185.82
- fate-swr-resample_exact-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact-dblp-44100-48000: CMP_TARGET = 9.64
- fate-swr-resample_exact-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-dblp-44100-8000: CMP_TARGET = 75.38
- fate-swr-resample_exact-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact-dblp-44100-96000: CMP_TARGET = 11.45
- fate-swr-resample_exact-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-dblp-48000-2626: CMP_TARGET = 456.51
- fate-swr-resample_exact-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact-dblp-48000-44100: CMP_TARGET = 0.23
- fate-swr-resample_exact-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-dblp-48000-8000: CMP_TARGET = 62.36
- fate-swr-resample_exact-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact-dblp-48000-96000: CMP_TARGET = 0.47
- fate-swr-resample_exact-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-dblp-8000-2626: CMP_TARGET = 2503.33
- fate-swr-resample_exact-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample_exact-dblp-8000-44100: CMP_TARGET = 14.59
- fate-swr-resample_exact-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-dblp-8000-48000: CMP_TARGET = 14.50
- fate-swr-resample_exact-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-dblp-8000-96000: CMP_TARGET = 13.62
- fate-swr-resample_exact-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-dblp-96000-2626: CMP_TARGET = 675.07
- fate-swr-resample_exact-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact-dblp-96000-44100: CMP_TARGET = 1.24
- fate-swr-resample_exact-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-dblp-96000-48000: CMP_TARGET = 0.99
- fate-swr-resample_exact-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-dblp-96000-8000: CMP_TARGET = 58.52
- fate-swr-resample_exact-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample_exact-fltp-2626-44100: CMP_TARGET = 1352.67
- fate-swr-resample_exact-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-fltp-2626-48000: CMP_TARGET = 1352.66
- fate-swr-resample_exact-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1352.56
- fate-swr-resample_exact-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample_exact-fltp-2626-96000: CMP_TARGET = 1352.67
- fate-swr-resample_exact-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-fltp-44100-2626: CMP_TARGET = 185.82
- fate-swr-resample_exact-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact-fltp-44100-48000: CMP_TARGET = 9.64
- fate-swr-resample_exact-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-fltp-44100-8000: CMP_TARGET = 75.38
- fate-swr-resample_exact-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact-fltp-44100-96000: CMP_TARGET = 11.45
- fate-swr-resample_exact-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-fltp-48000-2626: CMP_TARGET = 456.51
- fate-swr-resample_exact-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact-fltp-48000-44100: CMP_TARGET = 0.23
- fate-swr-resample_exact-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-fltp-48000-8000: CMP_TARGET = 62.36
- fate-swr-resample_exact-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact-fltp-48000-96000: CMP_TARGET = 0.47
- fate-swr-resample_exact-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-fltp-8000-2626: CMP_TARGET = 2503.33
- fate-swr-resample_exact-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample_exact-fltp-8000-44100: CMP_TARGET = 14.59
- fate-swr-resample_exact-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-fltp-8000-48000: CMP_TARGET = 14.50
- fate-swr-resample_exact-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-fltp-8000-96000: CMP_TARGET = 13.62
- fate-swr-resample_exact-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-fltp-96000-2626: CMP_TARGET = 675.07
- fate-swr-resample_exact-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact-fltp-96000-44100: CMP_TARGET = 1.23
- fate-swr-resample_exact-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-fltp-96000-48000: CMP_TARGET = 0.99
- fate-swr-resample_exact-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-fltp-96000-8000: CMP_TARGET = 58.52
- fate-swr-resample_exact-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample_exact-s16p-2626-44100: CMP_TARGET = 1392.98
- fate-swr-resample_exact-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-s16p-2626-48000: CMP_TARGET = 1393.01
- fate-swr-resample_exact-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.36
- fate-swr-resample_exact-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.07
- fate-swr-resample_exact-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-s16p-44100-2626: CMP_TARGET = 185.84
- fate-swr-resample_exact-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact-s16p-44100-48000: CMP_TARGET = 9.66
- fate-swr-resample_exact-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-s16p-44100-8000: CMP_TARGET = 75.43
- fate-swr-resample_exact-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact-s16p-44100-96000: CMP_TARGET = 11.46
- fate-swr-resample_exact-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-s16p-48000-2626: CMP_TARGET = 456.55
- fate-swr-resample_exact-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact-s16p-48000-44100: CMP_TARGET = 0.68
- fate-swr-resample_exact-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-s16p-48000-8000: CMP_TARGET = 62.39
- fate-swr-resample_exact-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact-s16p-48000-96000: CMP_TARGET = 0.73
- fate-swr-resample_exact-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2503.32
- fate-swr-resample_exact-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample_exact-s16p-8000-44100: CMP_TARGET = 14.63
- fate-swr-resample_exact-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-s16p-8000-48000: CMP_TARGET = 14.54
- fate-swr-resample_exact-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-s16p-8000-96000: CMP_TARGET = 13.65
- fate-swr-resample_exact-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-s16p-96000-2626: CMP_TARGET = 675.15
- fate-swr-resample_exact-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact-s16p-96000-44100: CMP_TARGET = 1.44
- fate-swr-resample_exact-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-s16p-96000-48000: CMP_TARGET = 1.12
- fate-swr-resample_exact-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-s16p-96000-8000: CMP_TARGET = 58.56
- fate-swr-resample_exact-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample_exact-s32p-2626-44100: CMP_TARGET = 1392.99
- fate-swr-resample_exact-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-s32p-2626-48000: CMP_TARGET = 1393.01
- fate-swr-resample_exact-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.36
- fate-swr-resample_exact-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
- fate-swr-resample_exact-s32p-2626-96000: CMP_TARGET = 1393.00
- fate-swr-resample_exact-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact-s32p-44100-2626: CMP_TARGET = 185.81
- fate-swr-resample_exact-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact-s32p-44100-48000: CMP_TARGET = 9.66
- fate-swr-resample_exact-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-s32p-44100-8000: CMP_TARGET = 75.37
- fate-swr-resample_exact-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact-s32p-44100-96000: CMP_TARGET = 11.46
- fate-swr-resample_exact-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact-s32p-48000-2626: CMP_TARGET = 456.49
- fate-swr-resample_exact-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact-s32p-48000-44100: CMP_TARGET = 0.74
- fate-swr-resample_exact-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-s32p-48000-8000: CMP_TARGET = 62.35
- fate-swr-resample_exact-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact-s32p-48000-96000: CMP_TARGET = 0.85
- fate-swr-resample_exact-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2503.33
- fate-swr-resample_exact-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
- fate-swr-resample_exact-s32p-8000-44100: CMP_TARGET = 14.61
- fate-swr-resample_exact-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-s32p-8000-48000: CMP_TARGET = 14.52
- fate-swr-resample_exact-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-s32p-8000-96000: CMP_TARGET = 13.62
- fate-swr-resample_exact-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact-s32p-96000-2626: CMP_TARGET = 675.05
- fate-swr-resample_exact-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact-s32p-96000-44100: CMP_TARGET = 1.41
- fate-swr-resample_exact-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-s32p-96000-48000: CMP_TARGET = 1.21
- fate-swr-resample_exact-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact-s32p-96000-8000: CMP_TARGET = 58.54
- fate-swr-resample_exact-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- define ARESAMPLE_EXACT_ASYNC
- FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ATRIM ASETNSAMPLES ASETPTS ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-resample_exact_async-$(3)-$(1)-$(2)
- fate-swr-resample_exact_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetnsamples=2048,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 -
- fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample_exact_async-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample_exact_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- fate-swr-resample_exact_async-dblp-44100-48000: CMP_TARGET = 5947.75
- fate-swr-resample_exact_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_async-dblp-44100-8000: CMP_TARGET = 3804.22
- fate-swr-resample_exact_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_async-dblp-48000-44100: CMP_TARGET = 3056.62
- fate-swr-resample_exact_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_async-dblp-48000-8000: CMP_TARGET = 3408.30
- fate-swr-resample_exact_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_async-dblp-8000-44100: CMP_TARGET = 10450.99
- fate-swr-resample_exact_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_async-dblp-8000-48000: CMP_TARGET = 10371.47
- fate-swr-resample_exact_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_async-fltp-44100-48000: CMP_TARGET = 5947.75
- fate-swr-resample_exact_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_async-fltp-44100-8000: CMP_TARGET = 3804.22
- fate-swr-resample_exact_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_async-fltp-48000-44100: CMP_TARGET = 3056.62
- fate-swr-resample_exact_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_async-fltp-48000-8000: CMP_TARGET = 3408.30
- fate-swr-resample_exact_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_async-fltp-8000-44100: CMP_TARGET = 10450.99
- fate-swr-resample_exact_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_async-fltp-8000-48000: CMP_TARGET = 10371.47
- fate-swr-resample_exact_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_async-s16p-44100-48000: CMP_TARGET = 5947.75
- fate-swr-resample_exact_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_async-s16p-44100-8000: CMP_TARGET = 3804.37
- fate-swr-resample_exact_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_async-s16p-48000-44100: CMP_TARGET = 3056.62
- fate-swr-resample_exact_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_async-s16p-48000-8000: CMP_TARGET = 3408.50
- fate-swr-resample_exact_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_async-s16p-8000-44100: CMP_TARGET = 10451.23
- fate-swr-resample_exact_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_async-s16p-8000-48000: CMP_TARGET = 10372.00
- fate-swr-resample_exact_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_async-s32p-44100-48000: CMP_TARGET = 5947.75
- fate-swr-resample_exact_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_async-s32p-44100-8000: CMP_TARGET = 3804.22
- fate-swr-resample_exact_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_async-s32p-48000-44100: CMP_TARGET = 3056.62
- fate-swr-resample_exact_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_async-s32p-48000-8000: CMP_TARGET = 3408.30
- fate-swr-resample_exact_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_async-s32p-8000-44100: CMP_TARGET = 10450.96
- fate-swr-resample_exact_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_async-s32p-8000-48000: CMP_TARGET = 10371.47
- fate-swr-resample_exact_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- define ARESAMPLE_EXACT_LIN
- FATE_SWR_RESAMPLE += fate-swr-resample_exact_lin-$(3)-$(1)-$(2)
- fate-swr-resample_exact_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- 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 -
- fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample_exact_lin-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample_exact_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- fate-swr-resample_exact_lin-dblp-44100-48000: CMP_TARGET = 9.64
- fate-swr-resample_exact_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-dblp-44100-8000: CMP_TARGET = 75.38
- fate-swr-resample_exact_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact_lin-dblp-48000-44100: CMP_TARGET = 0.23
- fate-swr-resample_exact_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-dblp-48000-8000: CMP_TARGET = 62.36
- fate-swr-resample_exact_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact_lin-dblp-8000-44100: CMP_TARGET = 14.59
- fate-swr-resample_exact_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-dblp-8000-48000: CMP_TARGET = 14.50
- fate-swr-resample_exact_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-fltp-44100-48000: CMP_TARGET = 9.64
- fate-swr-resample_exact_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-fltp-44100-8000: CMP_TARGET = 75.38
- fate-swr-resample_exact_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact_lin-fltp-48000-44100: CMP_TARGET = 0.23
- fate-swr-resample_exact_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-fltp-48000-8000: CMP_TARGET = 62.36
- fate-swr-resample_exact_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact_lin-fltp-8000-44100: CMP_TARGET = 14.59
- fate-swr-resample_exact_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-fltp-8000-48000: CMP_TARGET = 14.50
- fate-swr-resample_exact_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s16p-44100-48000: CMP_TARGET = 9.66
- fate-swr-resample_exact_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-s16p-44100-8000: CMP_TARGET = 75.43
- fate-swr-resample_exact_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact_lin-s16p-48000-44100: CMP_TARGET = 0.68
- fate-swr-resample_exact_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-s16p-48000-8000: CMP_TARGET = 62.39
- fate-swr-resample_exact_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact_lin-s16p-8000-44100: CMP_TARGET = 14.63
- fate-swr-resample_exact_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s16p-8000-48000: CMP_TARGET = 14.54
- fate-swr-resample_exact_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s32p-44100-48000: CMP_TARGET = 9.66
- fate-swr-resample_exact_lin-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-s32p-44100-8000: CMP_TARGET = 75.37
- fate-swr-resample_exact_lin-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
- fate-swr-resample_exact_lin-s32p-48000-44100: CMP_TARGET = 0.74
- fate-swr-resample_exact_lin-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-s32p-48000-8000: CMP_TARGET = 62.35
- fate-swr-resample_exact_lin-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
- fate-swr-resample_exact_lin-s32p-8000-44100: CMP_TARGET = 14.61
- fate-swr-resample_exact_lin-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s32p-8000-48000: CMP_TARGET = 14.52
- fate-swr-resample_exact_lin-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-dblp-2626-44100: CMP_TARGET = 1352.60
- fate-swr-resample_exact_lin-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-dblp-2626-48000: CMP_TARGET = 1352.62
- fate-swr-resample_exact_lin-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-dblp-2626-8000: CMP_TARGET = 1352.49
- fate-swr-resample_exact_lin-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-dblp-2626-96000: CMP_TARGET = 1352.62
- fate-swr-resample_exact_lin-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-dblp-44100-2626: CMP_TARGET = 185.49
- fate-swr-resample_exact_lin-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact_lin-dblp-44100-96000: CMP_TARGET = 11.45
- fate-swr-resample_exact_lin-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-dblp-48000-2626: CMP_TARGET = 456.50
- fate-swr-resample_exact_lin-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact_lin-dblp-48000-96000: CMP_TARGET = 0.47
- fate-swr-resample_exact_lin-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-dblp-8000-2626: CMP_TARGET = 2503.28
- fate-swr-resample_exact_lin-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-dblp-8000-96000: CMP_TARGET = 13.62
- fate-swr-resample_exact_lin-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-dblp-96000-2626: CMP_TARGET = 675.02
- fate-swr-resample_exact_lin-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact_lin-dblp-96000-44100: CMP_TARGET = 1.24
- fate-swr-resample_exact_lin-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-dblp-96000-48000: CMP_TARGET = 0.99
- fate-swr-resample_exact_lin-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-dblp-96000-8000: CMP_TARGET = 58.52
- fate-swr-resample_exact_lin-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample_exact_lin-fltp-2626-44100: CMP_TARGET = 1352.60
- fate-swr-resample_exact_lin-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-fltp-2626-48000: CMP_TARGET = 1352.62
- fate-swr-resample_exact_lin-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-fltp-2626-8000: CMP_TARGET = 1352.49
- fate-swr-resample_exact_lin-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-fltp-2626-96000: CMP_TARGET = 1352.62
- fate-swr-resample_exact_lin-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-fltp-44100-2626: CMP_TARGET = 185.49
- fate-swr-resample_exact_lin-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact_lin-fltp-44100-96000: CMP_TARGET = 11.45
- fate-swr-resample_exact_lin-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-fltp-48000-2626: CMP_TARGET = 456.50
- fate-swr-resample_exact_lin-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact_lin-fltp-48000-96000: CMP_TARGET = 0.47
- fate-swr-resample_exact_lin-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-fltp-8000-2626: CMP_TARGET = 2503.28
- fate-swr-resample_exact_lin-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-fltp-8000-96000: CMP_TARGET = 13.62
- fate-swr-resample_exact_lin-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-fltp-96000-2626: CMP_TARGET = 675.02
- fate-swr-resample_exact_lin-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact_lin-fltp-96000-44100: CMP_TARGET = 1.23
- fate-swr-resample_exact_lin-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-fltp-96000-48000: CMP_TARGET = 0.99
- fate-swr-resample_exact_lin-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-fltp-96000-8000: CMP_TARGET = 58.52
- fate-swr-resample_exact_lin-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample_exact_lin-s16p-2626-44100: CMP_TARGET = 1392.93
- fate-swr-resample_exact_lin-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s16p-2626-48000: CMP_TARGET = 1392.97
- fate-swr-resample_exact_lin-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s16p-2626-8000: CMP_TARGET = 1393.28
- fate-swr-resample_exact_lin-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s16p-2626-96000: CMP_TARGET = 1393.04
- fate-swr-resample_exact_lin-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s16p-44100-2626: CMP_TARGET = 185.51
- fate-swr-resample_exact_lin-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact_lin-s16p-44100-96000: CMP_TARGET = 11.46
- fate-swr-resample_exact_lin-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-s16p-48000-2626: CMP_TARGET = 456.56
- fate-swr-resample_exact_lin-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact_lin-s16p-48000-96000: CMP_TARGET = 0.73
- fate-swr-resample_exact_lin-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-s16p-8000-2626: CMP_TARGET = 2503.28
- fate-swr-resample_exact_lin-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s16p-8000-96000: CMP_TARGET = 13.65
- fate-swr-resample_exact_lin-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s16p-96000-2626: CMP_TARGET = 675.07
- fate-swr-resample_exact_lin-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact_lin-s16p-96000-44100: CMP_TARGET = 1.44
- fate-swr-resample_exact_lin-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-s16p-96000-48000: CMP_TARGET = 1.12
- fate-swr-resample_exact_lin-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-s16p-96000-8000: CMP_TARGET = 58.56
- fate-swr-resample_exact_lin-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- fate-swr-resample_exact_lin-s32p-2626-44100: CMP_TARGET = 1392.95
- fate-swr-resample_exact_lin-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s32p-2626-48000: CMP_TARGET = 1392.98
- fate-swr-resample_exact_lin-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s32p-2626-8000: CMP_TARGET = 1393.29
- fate-swr-resample_exact_lin-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s32p-2626-96000: CMP_TARGET = 1392.96
- fate-swr-resample_exact_lin-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
- fate-swr-resample_exact_lin-s32p-44100-2626: CMP_TARGET = 185.48
- fate-swr-resample_exact_lin-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
- fate-swr-resample_exact_lin-s32p-44100-96000: CMP_TARGET = 11.46
- fate-swr-resample_exact_lin-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
- fate-swr-resample_exact_lin-s32p-48000-2626: CMP_TARGET = 456.48
- fate-swr-resample_exact_lin-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
- fate-swr-resample_exact_lin-s32p-48000-96000: CMP_TARGET = 0.85
- fate-swr-resample_exact_lin-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
- fate-swr-resample_exact_lin-s32p-8000-2626: CMP_TARGET = 2503.28
- fate-swr-resample_exact_lin-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s32p-8000-96000: CMP_TARGET = 13.62
- fate-swr-resample_exact_lin-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
- fate-swr-resample_exact_lin-s32p-96000-2626: CMP_TARGET = 675.00
- fate-swr-resample_exact_lin-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
- fate-swr-resample_exact_lin-s32p-96000-44100: CMP_TARGET = 1.41
- fate-swr-resample_exact_lin-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-s32p-96000-48000: CMP_TARGET = 1.21
- fate-swr-resample_exact_lin-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
- fate-swr-resample_exact_lin-s32p-96000-8000: CMP_TARGET = 58.54
- fate-swr-resample_exact_lin-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
- define ARESAMPLE_EXACT_LIN_ASYNC
- FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ATRIM ASETNSAMPLES ASETPTS ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2)
- fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
- 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,asetnsamples=2048,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 -
- fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP = stddev
- fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
- fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): FUZZ = 0.1
- fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
- endef
- fate-swr-resample_exact_lin_async-dblp-44100-48000: CMP_TARGET = 5948.03
- fate-swr-resample_exact_lin_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_lin_async-dblp-44100-8000: CMP_TARGET = 3804.55
- fate-swr-resample_exact_lin_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_lin_async-dblp-48000-44100: CMP_TARGET = 3056.76
- fate-swr-resample_exact_lin_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_lin_async-dblp-48000-8000: CMP_TARGET = 3408.48
- fate-swr-resample_exact_lin_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_lin_async-dblp-8000-44100: CMP_TARGET = 10451.07
- fate-swr-resample_exact_lin_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_lin_async-dblp-8000-48000: CMP_TARGET = 10371.52
- fate-swr-resample_exact_lin_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_lin_async-fltp-44100-48000: CMP_TARGET = 5948.03
- fate-swr-resample_exact_lin_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_lin_async-fltp-44100-8000: CMP_TARGET = 3804.55
- fate-swr-resample_exact_lin_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_lin_async-fltp-48000-44100: CMP_TARGET = 3056.76
- fate-swr-resample_exact_lin_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_lin_async-fltp-48000-8000: CMP_TARGET = 3408.48
- fate-swr-resample_exact_lin_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_lin_async-fltp-8000-44100: CMP_TARGET = 10451.07
- fate-swr-resample_exact_lin_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_lin_async-fltp-8000-48000: CMP_TARGET = 10371.52
- fate-swr-resample_exact_lin_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_lin_async-s16p-44100-48000: CMP_TARGET = 5948.03
- fate-swr-resample_exact_lin_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_lin_async-s16p-44100-8000: CMP_TARGET = 3804.70
- fate-swr-resample_exact_lin_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_lin_async-s16p-48000-44100: CMP_TARGET = 3056.76
- fate-swr-resample_exact_lin_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_lin_async-s16p-48000-8000: CMP_TARGET = 3408.68
- fate-swr-resample_exact_lin_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_lin_async-s16p-8000-44100: CMP_TARGET = 10451.31
- fate-swr-resample_exact_lin_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_lin_async-s16p-8000-48000: CMP_TARGET = 10372.05
- fate-swr-resample_exact_lin_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_lin_async-s32p-44100-48000: CMP_TARGET = 5948.03
- fate-swr-resample_exact_lin_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20394
- fate-swr-resample_exact_lin_async-s32p-44100-8000: CMP_TARGET = 3804.54
- fate-swr-resample_exact_lin_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20386
- fate-swr-resample_exact_lin_async-s32p-48000-44100: CMP_TARGET = 3056.76
- fate-swr-resample_exact_lin_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20392
- fate-swr-resample_exact_lin_async-s32p-48000-8000: CMP_TARGET = 3408.47
- fate-swr-resample_exact_lin_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20388
- fate-swr-resample_exact_lin_async-s32p-8000-44100: CMP_TARGET = 10451.04
- fate-swr-resample_exact_lin_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20350
- fate-swr-resample_exact_lin_async-s32p-8000-48000: CMP_TARGET = 10371.53
- fate-swr-resample_exact_lin_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20350
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s32p,s32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,dblp,f64le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,dblp,f64le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s32p,s32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,dblp,f64le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s32p,s32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,dblp,f64le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,s32p,s32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,dblp,f64le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s16p,s16le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s32p,s32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,fltp,f32le,s16)
- $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,dblp,f64le,s16)
- FATE_SWR_RESAMPLE-$(call FILTERDEMDEC, ARESAMPLE ASETPTS ATRIM SINE, , PCM_S16LE, LAVFI_INDEV) += fate-swr-async-firstpts
- fate-swr-async-firstpts: CMD = framecrc -auto_conversion_filters -copyts -f lavfi -i "sine=r=1000:samples_per_frame=100,asetpts=PTS+S+S*floor(ld(1)/4)+st(1\,ld(1)+1)*0,atrim=end=2" -filter:a aresample=async=300:first_pts=0
- FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_SWR_RESAMPLE)
- fate-swr-resample: $(FATE_SWR_RESAMPLE-yes)
- FATE_SWR += $(FATE_SWR_RESAMPLE-yes)
- FATE_SWR_AUDIOCONVERT-$(call FILTERDEMDECENCMUX, ARESAMPLE AFORMAT AEVAL, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-audioconvert
- fate-swr-audioconvert: tests/data/asynth-44100-1.wav
- fate-swr-audioconvert: REF = tests/data/asynth-44100-1.wav
- fate-swr-audioconvert: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav -af "aresample,aformat=fltp,aresample,aeval=val(0)+(random(0)-0.5)/33000,aresample,aformat=fltp,aresample" -f wav -c:a pcm_s16le -
- fate-swr-audioconvert: CMP = stddev
- fate-swr-audioconvert: FUZZ = 0
- FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
- FATE_SWR_CUSTOM_REMATRIX-$(call FILTERDEMDECENCMUX, ARESAMPLE CHANNELMAP AFORMAT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-swr-custom-rematrix
- fate-swr-custom-rematrix: tests/data/asynth-44100-8.wav tests/data/filtergraphs/custom_rematrix
- fate-swr-custom-rematrix: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-44100-8.wav -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/custom_rematrix -map [OUT] -f s16le
- fate-swr-custom-rematrix: CMP = oneline
- fate-swr-custom-rematrix: REF = 2a14a44deb4ae26e3b474ddbfbc048f8
- FATE_SWR += $(FATE_SWR_CUSTOM_REMATRIX-yes)
- FATE_FFMPEG += $(FATE_SWR)
- fate-swr: $(FATE_SWR)
|