123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098 |
- 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 = 3163.32
- 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 = 3163.39
- fate-swr-resample_nn-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
- define ARESAMPLE_ASYNC
- FATE_SWR_RESAMPLE += 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,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 = 4020.60
- fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 11186.66
- fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 4020.71
- fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 11186.94
- fate-swr-resample_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- 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 += 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,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 = 7791.50
- fate-swr-resample_exact_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_async-dblp-44100-8000: CMP_TARGET = 4022.87
- fate-swr-resample_exact_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_async-dblp-48000-44100: CMP_TARGET = 1923.97
- fate-swr-resample_exact_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_async-dblp-48000-8000: CMP_TARGET = 2592.00
- fate-swr-resample_exact_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_async-dblp-8000-44100: CMP_TARGET = 11187.24
- fate-swr-resample_exact_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_async-dblp-8000-48000: CMP_TARGET = 11326.80
- fate-swr-resample_exact_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_async-fltp-44100-48000: CMP_TARGET = 7791.50
- fate-swr-resample_exact_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_async-fltp-44100-8000: CMP_TARGET = 4022.87
- fate-swr-resample_exact_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_async-fltp-48000-44100: CMP_TARGET = 1923.97
- fate-swr-resample_exact_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_async-fltp-48000-8000: CMP_TARGET = 2592.00
- fate-swr-resample_exact_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_async-fltp-8000-44100: CMP_TARGET = 11187.24
- fate-swr-resample_exact_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_async-fltp-8000-48000: CMP_TARGET = 11326.80
- fate-swr-resample_exact_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_async-s16p-44100-48000: CMP_TARGET = 7791.50
- fate-swr-resample_exact_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_async-s16p-44100-8000: CMP_TARGET = 4023.05
- fate-swr-resample_exact_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_async-s16p-48000-44100: CMP_TARGET = 1923.96
- fate-swr-resample_exact_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_async-s16p-48000-8000: CMP_TARGET = 2592.15
- fate-swr-resample_exact_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_async-s16p-8000-44100: CMP_TARGET = 11187.58
- fate-swr-resample_exact_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_async-s16p-8000-48000: CMP_TARGET = 11327.48
- fate-swr-resample_exact_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_async-s32p-44100-48000: CMP_TARGET = 7791.50
- fate-swr-resample_exact_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_async-s32p-44100-8000: CMP_TARGET = 4022.87
- fate-swr-resample_exact_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_async-s32p-48000-44100: CMP_TARGET = 1923.96
- fate-swr-resample_exact_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_async-s32p-48000-8000: CMP_TARGET = 2592.00
- fate-swr-resample_exact_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_async-s32p-8000-44100: CMP_TARGET = 11187.24
- fate-swr-resample_exact_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_async-s32p-8000-48000: CMP_TARGET = 11326.79
- fate-swr-resample_exact_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- 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 += 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,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 = 7791.72
- fate-swr-resample_exact_lin_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_lin_async-dblp-44100-8000: CMP_TARGET = 4023.01
- fate-swr-resample_exact_lin_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_lin_async-dblp-48000-44100: CMP_TARGET = 1923.79
- fate-swr-resample_exact_lin_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_lin_async-dblp-48000-8000: CMP_TARGET = 2591.72
- fate-swr-resample_exact_lin_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_lin_async-dblp-8000-44100: CMP_TARGET = 11187.24
- fate-swr-resample_exact_lin_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_lin_async-dblp-8000-48000: CMP_TARGET = 11326.80
- fate-swr-resample_exact_lin_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_lin_async-fltp-44100-48000: CMP_TARGET = 7791.72
- fate-swr-resample_exact_lin_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_lin_async-fltp-44100-8000: CMP_TARGET = 4023.01
- fate-swr-resample_exact_lin_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_lin_async-fltp-48000-44100: CMP_TARGET = 1923.79
- fate-swr-resample_exact_lin_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_lin_async-fltp-48000-8000: CMP_TARGET = 2591.72
- fate-swr-resample_exact_lin_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_lin_async-fltp-8000-44100: CMP_TARGET = 11187.25
- fate-swr-resample_exact_lin_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_lin_async-fltp-8000-48000: CMP_TARGET = 11326.80
- fate-swr-resample_exact_lin_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_lin_async-s16p-44100-48000: CMP_TARGET = 7791.72
- fate-swr-resample_exact_lin_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_lin_async-s16p-44100-8000: CMP_TARGET = 4023.19
- fate-swr-resample_exact_lin_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_lin_async-s16p-48000-44100: CMP_TARGET = 1923.79
- fate-swr-resample_exact_lin_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_lin_async-s16p-48000-8000: CMP_TARGET = 2591.85
- fate-swr-resample_exact_lin_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_lin_async-s16p-8000-44100: CMP_TARGET = 11187.57
- fate-swr-resample_exact_lin_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_lin_async-s16p-8000-48000: CMP_TARGET = 11327.48
- fate-swr-resample_exact_lin_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_lin_async-s32p-44100-48000: CMP_TARGET = 7791.72
- fate-swr-resample_exact_lin_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
- fate-swr-resample_exact_lin_async-s32p-44100-8000: CMP_TARGET = 4023.02
- fate-swr-resample_exact_lin_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
- fate-swr-resample_exact_lin_async-s32p-48000-44100: CMP_TARGET = 1923.77
- fate-swr-resample_exact_lin_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
- fate-swr-resample_exact_lin_async-s32p-48000-8000: CMP_TARGET = 2591.71
- fate-swr-resample_exact_lin_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
- fate-swr-resample_exact_lin_async-s32p-8000-44100: CMP_TARGET = 11187.25
- fate-swr-resample_exact_lin_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
- fate-swr-resample_exact_lin_async-s32p-8000-48000: CMP_TARGET = 11326.81
- fate-swr-resample_exact_lin_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
- $(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 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, 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 "aformat=fltp,aeval=val(0)+(random(0)-0.5)/33000,aformat=fltp" -f wav -c:a pcm_s16le -
- fate-swr-audioconvert: CMP = stddev
- fate-swr-audioconvert: FUZZ = 0
- FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
- FATE_FFMPEG += $(FATE_SWR)
- fate-swr: $(FATE_SWR)
|