libswresample.mak 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098
  1. CROSS_TEST = $(foreach I,$(1), \
  2. $(foreach J,$(1), \
  3. $(if $(filter-out $(I),$(J)), \
  4. $(eval $(call $(2),$(I),$(J),$(3),$(4),$(5))), \
  5. )))
  6. SAMPLERATES = 2626 8000 44100 48000 96000
  7. SAMPLERATES_LITE = 8000 44100 48000
  8. SAMPLERATES_NN = 8000 44100
  9. #note that the default is ARESAMPLE_EXACT_LIN
  10. define ARESAMPLE
  11. FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
  12. fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  13. 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 -
  14. fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
  15. fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  16. fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
  17. fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  18. endef
  19. #below list is generated by:
  20. #you can use this if you need to update it!
  21. #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'
  22. fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.67
  23. fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  24. fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.66
  25. fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  26. fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1352.56
  27. fate-swr-resample-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  28. fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.67
  29. fate-swr-resample-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  30. fate-swr-resample-dblp-44100-2626: CMP_TARGET = 185.82
  31. fate-swr-resample-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  32. fate-swr-resample-dblp-44100-48000: CMP_TARGET = 9.69
  33. fate-swr-resample-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  34. fate-swr-resample-dblp-44100-8000: CMP_TARGET = 75.45
  35. fate-swr-resample-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  36. fate-swr-resample-dblp-44100-96000: CMP_TARGET = 11.46
  37. fate-swr-resample-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  38. fate-swr-resample-dblp-48000-2626: CMP_TARGET = 456.51
  39. fate-swr-resample-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  40. fate-swr-resample-dblp-48000-44100: CMP_TARGET = 1.00
  41. fate-swr-resample-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  42. fate-swr-resample-dblp-48000-8000: CMP_TARGET = 62.38
  43. fate-swr-resample-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  44. fate-swr-resample-dblp-48000-96000: CMP_TARGET = 0.47
  45. fate-swr-resample-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  46. fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2503.33
  47. fate-swr-resample-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  48. fate-swr-resample-dblp-8000-44100: CMP_TARGET = 15.09
  49. fate-swr-resample-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  50. fate-swr-resample-dblp-8000-48000: CMP_TARGET = 14.69
  51. fate-swr-resample-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  52. fate-swr-resample-dblp-8000-96000: CMP_TARGET = 13.81
  53. fate-swr-resample-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  54. fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.07
  55. fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  56. fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.44
  57. fate-swr-resample-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  58. fate-swr-resample-dblp-96000-48000: CMP_TARGET = 0.99
  59. fate-swr-resample-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  60. fate-swr-resample-dblp-96000-8000: CMP_TARGET = 58.57
  61. fate-swr-resample-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  62. fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.67
  63. fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  64. fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.66
  65. fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  66. fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1352.56
  67. fate-swr-resample-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  68. fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.67
  69. fate-swr-resample-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  70. fate-swr-resample-fltp-44100-2626: CMP_TARGET = 185.82
  71. fate-swr-resample-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  72. fate-swr-resample-fltp-44100-48000: CMP_TARGET = 9.69
  73. fate-swr-resample-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  74. fate-swr-resample-fltp-44100-8000: CMP_TARGET = 75.45
  75. fate-swr-resample-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  76. fate-swr-resample-fltp-44100-96000: CMP_TARGET = 11.46
  77. fate-swr-resample-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  78. fate-swr-resample-fltp-48000-2626: CMP_TARGET = 456.51
  79. fate-swr-resample-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  80. fate-swr-resample-fltp-48000-44100: CMP_TARGET = 1.00
  81. fate-swr-resample-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  82. fate-swr-resample-fltp-48000-8000: CMP_TARGET = 62.38
  83. fate-swr-resample-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  84. fate-swr-resample-fltp-48000-96000: CMP_TARGET = 0.47
  85. fate-swr-resample-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  86. fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2503.33
  87. fate-swr-resample-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  88. fate-swr-resample-fltp-8000-44100: CMP_TARGET = 15.09
  89. fate-swr-resample-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  90. fate-swr-resample-fltp-8000-48000: CMP_TARGET = 14.69
  91. fate-swr-resample-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  92. fate-swr-resample-fltp-8000-96000: CMP_TARGET = 13.81
  93. fate-swr-resample-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  94. fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.07
  95. fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  96. fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.44
  97. fate-swr-resample-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  98. fate-swr-resample-fltp-96000-48000: CMP_TARGET = 0.99
  99. fate-swr-resample-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  100. fate-swr-resample-fltp-96000-8000: CMP_TARGET = 58.57
  101. fate-swr-resample-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  102. fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1392.98
  103. fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  104. fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1393.01
  105. fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  106. fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.36
  107. fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  108. fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.07
  109. fate-swr-resample-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  110. fate-swr-resample-s16p-44100-2626: CMP_TARGET = 185.84
  111. fate-swr-resample-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  112. fate-swr-resample-s16p-44100-48000: CMP_TARGET = 9.71
  113. fate-swr-resample-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  114. fate-swr-resample-s16p-44100-8000: CMP_TARGET = 75.46
  115. fate-swr-resample-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  116. fate-swr-resample-s16p-44100-96000: CMP_TARGET = 11.48
  117. fate-swr-resample-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  118. fate-swr-resample-s16p-48000-2626: CMP_TARGET = 456.55
  119. fate-swr-resample-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  120. fate-swr-resample-s16p-48000-44100: CMP_TARGET = 1.20
  121. fate-swr-resample-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  122. fate-swr-resample-s16p-48000-8000: CMP_TARGET = 62.41
  123. fate-swr-resample-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  124. fate-swr-resample-s16p-48000-96000: CMP_TARGET = 0.73
  125. fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  126. fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2503.32
  127. fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  128. fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.13
  129. fate-swr-resample-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  130. fate-swr-resample-s16p-8000-48000: CMP_TARGET = 14.69
  131. fate-swr-resample-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  132. fate-swr-resample-s16p-8000-96000: CMP_TARGET = 13.83
  133. fate-swr-resample-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  134. fate-swr-resample-s16p-96000-2626: CMP_TARGET = 675.15
  135. fate-swr-resample-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  136. fate-swr-resample-s16p-96000-44100: CMP_TARGET = 1.62
  137. fate-swr-resample-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  138. fate-swr-resample-s16p-96000-48000: CMP_TARGET = 1.12
  139. fate-swr-resample-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  140. fate-swr-resample-s16p-96000-8000: CMP_TARGET = 58.60
  141. fate-swr-resample-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  142. fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1392.99
  143. fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  144. fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1393.01
  145. fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  146. fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.36
  147. fate-swr-resample-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  148. fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.00
  149. fate-swr-resample-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  150. fate-swr-resample-s32p-44100-2626: CMP_TARGET = 185.81
  151. fate-swr-resample-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  152. fate-swr-resample-s32p-44100-48000: CMP_TARGET = 9.70
  153. fate-swr-resample-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  154. fate-swr-resample-s32p-44100-8000: CMP_TARGET = 75.45
  155. fate-swr-resample-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  156. fate-swr-resample-s32p-44100-96000: CMP_TARGET = 11.47
  157. fate-swr-resample-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  158. fate-swr-resample-s32p-48000-2626: CMP_TARGET = 456.49
  159. fate-swr-resample-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  160. fate-swr-resample-s32p-48000-44100: CMP_TARGET = 1.12
  161. fate-swr-resample-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  162. fate-swr-resample-s32p-48000-8000: CMP_TARGET = 62.37
  163. fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  164. fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.85
  165. fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  166. fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2503.33
  167. fate-swr-resample-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  168. fate-swr-resample-s32p-8000-44100: CMP_TARGET = 15.09
  169. fate-swr-resample-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  170. fate-swr-resample-s32p-8000-48000: CMP_TARGET = 14.68
  171. fate-swr-resample-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  172. fate-swr-resample-s32p-8000-96000: CMP_TARGET = 13.81
  173. fate-swr-resample-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  174. fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.05
  175. fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  176. fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.54
  177. fate-swr-resample-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  178. fate-swr-resample-s32p-96000-48000: CMP_TARGET = 1.21
  179. fate-swr-resample-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  180. fate-swr-resample-s32p-96000-8000: CMP_TARGET = 58.59
  181. fate-swr-resample-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  182. define ARESAMPLE_LIN
  183. FATE_SWR_RESAMPLE += fate-swr-resample_lin-$(3)-$(1)-$(2)
  184. fate-swr-resample_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  185. 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 -
  186. fate-swr-resample_lin-$(3)-$(1)-$(2): CMP = stddev
  187. fate-swr-resample_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  188. fate-swr-resample_lin-$(3)-$(1)-$(2): FUZZ = 0.1
  189. fate-swr-resample_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  190. endef
  191. fate-swr-resample_lin-s16p-8000-44100: CMP_TARGET = 14.61
  192. fate-swr-resample_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  193. fate-swr-resample_lin-s16p-8000-48000: CMP_TARGET = 14.53
  194. fate-swr-resample_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  195. fate-swr-resample_lin-s16p-44100-8000: CMP_TARGET = 75.41
  196. fate-swr-resample_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  197. fate-swr-resample_lin-s16p-44100-48000: CMP_TARGET = 9.66
  198. fate-swr-resample_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  199. fate-swr-resample_lin-s16p-48000-8000: CMP_TARGET = 62.38
  200. fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  201. fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.65
  202. fate-swr-resample_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  203. fate-swr-resample_lin-fltp-8000-44100: CMP_TARGET = 14.59
  204. fate-swr-resample_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  205. fate-swr-resample_lin-fltp-8000-48000: CMP_TARGET = 14.50
  206. fate-swr-resample_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  207. fate-swr-resample_lin-fltp-44100-8000: CMP_TARGET = 75.38
  208. fate-swr-resample_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  209. fate-swr-resample_lin-fltp-44100-48000: CMP_TARGET = 9.64
  210. fate-swr-resample_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  211. fate-swr-resample_lin-fltp-48000-8000: CMP_TARGET = 62.36
  212. fate-swr-resample_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  213. fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.23
  214. fate-swr-resample_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  215. fate-swr-resample_lin-dblp-8000-44100: CMP_TARGET = 14.59
  216. fate-swr-resample_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  217. fate-swr-resample_lin-dblp-8000-48000: CMP_TARGET = 14.50
  218. fate-swr-resample_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  219. fate-swr-resample_lin-dblp-44100-8000: CMP_TARGET = 75.38
  220. fate-swr-resample_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  221. fate-swr-resample_lin-dblp-44100-48000: CMP_TARGET = 9.64
  222. fate-swr-resample_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  223. fate-swr-resample_lin-dblp-48000-8000: CMP_TARGET = 62.36
  224. fate-swr-resample_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  225. fate-swr-resample_lin-dblp-48000-44100: CMP_TARGET = 0.23
  226. fate-swr-resample_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  227. define ARESAMPLE_NN
  228. FATE_SWR_RESAMPLE += fate-swr-resample_nn-$(3)-$(1)-$(2)
  229. fate-swr-resample_nn-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  230. 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 -
  231. fate-swr-resample_nn-$(3)-$(1)-$(2): CMP = stddev
  232. fate-swr-resample_nn-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  233. fate-swr-resample_nn-$(3)-$(1)-$(2): FUZZ = 0.1
  234. fate-swr-resample_nn-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  235. endef
  236. fate-swr-resample_nn-fltp-44100-8000: CMP_TARGET = 591.03
  237. fate-swr-resample_nn-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  238. fate-swr-resample_nn-fltp-8000-44100: CMP_TARGET = 3163.32
  239. fate-swr-resample_nn-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  240. fate-swr-resample_nn-s16p-44100-8000: CMP_TARGET = 590.98
  241. fate-swr-resample_nn-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  242. fate-swr-resample_nn-s16p-8000-44100: CMP_TARGET = 3163.39
  243. fate-swr-resample_nn-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  244. define ARESAMPLE_ASYNC
  245. FATE_SWR_RESAMPLE += fate-swr-resample_async-$(3)-$(1)-$(2)
  246. fate-swr-resample_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  247. 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 -
  248. fate-swr-resample_async-$(3)-$(1)-$(2): CMP = stddev
  249. fate-swr-resample_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  250. fate-swr-resample_async-$(3)-$(1)-$(2): FUZZ = 0.1
  251. fate-swr-resample_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  252. endef
  253. fate-swr-resample_async-fltp-44100-8000: CMP_TARGET = 4020.60
  254. fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  255. fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 11186.66
  256. fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  257. fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 4020.71
  258. fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  259. fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 11186.94
  260. fate-swr-resample_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  261. define ARESAMPLE_EXACT
  262. FATE_SWR_RESAMPLE += fate-swr-resample_exact-$(3)-$(1)-$(2)
  263. fate-swr-resample_exact-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  264. 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 -
  265. fate-swr-resample_exact-$(3)-$(1)-$(2): CMP = stddev
  266. fate-swr-resample_exact-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  267. fate-swr-resample_exact-$(3)-$(1)-$(2): FUZZ = 0.1
  268. fate-swr-resample_exact-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  269. endef
  270. fate-swr-resample_exact-dblp-2626-44100: CMP_TARGET = 1352.67
  271. fate-swr-resample_exact-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  272. fate-swr-resample_exact-dblp-2626-48000: CMP_TARGET = 1352.66
  273. fate-swr-resample_exact-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  274. fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1352.56
  275. fate-swr-resample_exact-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  276. fate-swr-resample_exact-dblp-2626-96000: CMP_TARGET = 1352.67
  277. fate-swr-resample_exact-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  278. fate-swr-resample_exact-dblp-44100-2626: CMP_TARGET = 185.82
  279. fate-swr-resample_exact-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  280. fate-swr-resample_exact-dblp-44100-48000: CMP_TARGET = 9.64
  281. fate-swr-resample_exact-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  282. fate-swr-resample_exact-dblp-44100-8000: CMP_TARGET = 75.38
  283. fate-swr-resample_exact-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  284. fate-swr-resample_exact-dblp-44100-96000: CMP_TARGET = 11.45
  285. fate-swr-resample_exact-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  286. fate-swr-resample_exact-dblp-48000-2626: CMP_TARGET = 456.51
  287. fate-swr-resample_exact-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  288. fate-swr-resample_exact-dblp-48000-44100: CMP_TARGET = 0.23
  289. fate-swr-resample_exact-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  290. fate-swr-resample_exact-dblp-48000-8000: CMP_TARGET = 62.36
  291. fate-swr-resample_exact-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  292. fate-swr-resample_exact-dblp-48000-96000: CMP_TARGET = 0.47
  293. fate-swr-resample_exact-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  294. fate-swr-resample_exact-dblp-8000-2626: CMP_TARGET = 2503.33
  295. fate-swr-resample_exact-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  296. fate-swr-resample_exact-dblp-8000-44100: CMP_TARGET = 14.59
  297. fate-swr-resample_exact-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  298. fate-swr-resample_exact-dblp-8000-48000: CMP_TARGET = 14.50
  299. fate-swr-resample_exact-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  300. fate-swr-resample_exact-dblp-8000-96000: CMP_TARGET = 13.62
  301. fate-swr-resample_exact-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  302. fate-swr-resample_exact-dblp-96000-2626: CMP_TARGET = 675.07
  303. fate-swr-resample_exact-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  304. fate-swr-resample_exact-dblp-96000-44100: CMP_TARGET = 1.24
  305. fate-swr-resample_exact-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  306. fate-swr-resample_exact-dblp-96000-48000: CMP_TARGET = 0.99
  307. fate-swr-resample_exact-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  308. fate-swr-resample_exact-dblp-96000-8000: CMP_TARGET = 58.52
  309. fate-swr-resample_exact-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  310. fate-swr-resample_exact-fltp-2626-44100: CMP_TARGET = 1352.67
  311. fate-swr-resample_exact-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  312. fate-swr-resample_exact-fltp-2626-48000: CMP_TARGET = 1352.66
  313. fate-swr-resample_exact-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  314. fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1352.56
  315. fate-swr-resample_exact-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  316. fate-swr-resample_exact-fltp-2626-96000: CMP_TARGET = 1352.67
  317. fate-swr-resample_exact-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  318. fate-swr-resample_exact-fltp-44100-2626: CMP_TARGET = 185.82
  319. fate-swr-resample_exact-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  320. fate-swr-resample_exact-fltp-44100-48000: CMP_TARGET = 9.64
  321. fate-swr-resample_exact-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  322. fate-swr-resample_exact-fltp-44100-8000: CMP_TARGET = 75.38
  323. fate-swr-resample_exact-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  324. fate-swr-resample_exact-fltp-44100-96000: CMP_TARGET = 11.45
  325. fate-swr-resample_exact-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  326. fate-swr-resample_exact-fltp-48000-2626: CMP_TARGET = 456.51
  327. fate-swr-resample_exact-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  328. fate-swr-resample_exact-fltp-48000-44100: CMP_TARGET = 0.23
  329. fate-swr-resample_exact-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  330. fate-swr-resample_exact-fltp-48000-8000: CMP_TARGET = 62.36
  331. fate-swr-resample_exact-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  332. fate-swr-resample_exact-fltp-48000-96000: CMP_TARGET = 0.47
  333. fate-swr-resample_exact-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  334. fate-swr-resample_exact-fltp-8000-2626: CMP_TARGET = 2503.33
  335. fate-swr-resample_exact-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  336. fate-swr-resample_exact-fltp-8000-44100: CMP_TARGET = 14.59
  337. fate-swr-resample_exact-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  338. fate-swr-resample_exact-fltp-8000-48000: CMP_TARGET = 14.50
  339. fate-swr-resample_exact-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  340. fate-swr-resample_exact-fltp-8000-96000: CMP_TARGET = 13.62
  341. fate-swr-resample_exact-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  342. fate-swr-resample_exact-fltp-96000-2626: CMP_TARGET = 675.07
  343. fate-swr-resample_exact-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  344. fate-swr-resample_exact-fltp-96000-44100: CMP_TARGET = 1.23
  345. fate-swr-resample_exact-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  346. fate-swr-resample_exact-fltp-96000-48000: CMP_TARGET = 0.99
  347. fate-swr-resample_exact-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  348. fate-swr-resample_exact-fltp-96000-8000: CMP_TARGET = 58.52
  349. fate-swr-resample_exact-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  350. fate-swr-resample_exact-s16p-2626-44100: CMP_TARGET = 1392.98
  351. fate-swr-resample_exact-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  352. fate-swr-resample_exact-s16p-2626-48000: CMP_TARGET = 1393.01
  353. fate-swr-resample_exact-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  354. fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.36
  355. fate-swr-resample_exact-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  356. fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.07
  357. fate-swr-resample_exact-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  358. fate-swr-resample_exact-s16p-44100-2626: CMP_TARGET = 185.84
  359. fate-swr-resample_exact-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  360. fate-swr-resample_exact-s16p-44100-48000: CMP_TARGET = 9.66
  361. fate-swr-resample_exact-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  362. fate-swr-resample_exact-s16p-44100-8000: CMP_TARGET = 75.43
  363. fate-swr-resample_exact-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  364. fate-swr-resample_exact-s16p-44100-96000: CMP_TARGET = 11.46
  365. fate-swr-resample_exact-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  366. fate-swr-resample_exact-s16p-48000-2626: CMP_TARGET = 456.55
  367. fate-swr-resample_exact-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  368. fate-swr-resample_exact-s16p-48000-44100: CMP_TARGET = 0.68
  369. fate-swr-resample_exact-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  370. fate-swr-resample_exact-s16p-48000-8000: CMP_TARGET = 62.39
  371. fate-swr-resample_exact-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  372. fate-swr-resample_exact-s16p-48000-96000: CMP_TARGET = 0.73
  373. fate-swr-resample_exact-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  374. fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2503.32
  375. fate-swr-resample_exact-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  376. fate-swr-resample_exact-s16p-8000-44100: CMP_TARGET = 14.63
  377. fate-swr-resample_exact-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  378. fate-swr-resample_exact-s16p-8000-48000: CMP_TARGET = 14.54
  379. fate-swr-resample_exact-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  380. fate-swr-resample_exact-s16p-8000-96000: CMP_TARGET = 13.65
  381. fate-swr-resample_exact-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  382. fate-swr-resample_exact-s16p-96000-2626: CMP_TARGET = 675.15
  383. fate-swr-resample_exact-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  384. fate-swr-resample_exact-s16p-96000-44100: CMP_TARGET = 1.44
  385. fate-swr-resample_exact-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  386. fate-swr-resample_exact-s16p-96000-48000: CMP_TARGET = 1.12
  387. fate-swr-resample_exact-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  388. fate-swr-resample_exact-s16p-96000-8000: CMP_TARGET = 58.56
  389. fate-swr-resample_exact-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  390. fate-swr-resample_exact-s32p-2626-44100: CMP_TARGET = 1392.99
  391. fate-swr-resample_exact-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  392. fate-swr-resample_exact-s32p-2626-48000: CMP_TARGET = 1393.01
  393. fate-swr-resample_exact-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  394. fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.36
  395. fate-swr-resample_exact-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  396. fate-swr-resample_exact-s32p-2626-96000: CMP_TARGET = 1393.00
  397. fate-swr-resample_exact-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  398. fate-swr-resample_exact-s32p-44100-2626: CMP_TARGET = 185.81
  399. fate-swr-resample_exact-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  400. fate-swr-resample_exact-s32p-44100-48000: CMP_TARGET = 9.66
  401. fate-swr-resample_exact-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  402. fate-swr-resample_exact-s32p-44100-8000: CMP_TARGET = 75.37
  403. fate-swr-resample_exact-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  404. fate-swr-resample_exact-s32p-44100-96000: CMP_TARGET = 11.46
  405. fate-swr-resample_exact-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  406. fate-swr-resample_exact-s32p-48000-2626: CMP_TARGET = 456.49
  407. fate-swr-resample_exact-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  408. fate-swr-resample_exact-s32p-48000-44100: CMP_TARGET = 0.74
  409. fate-swr-resample_exact-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  410. fate-swr-resample_exact-s32p-48000-8000: CMP_TARGET = 62.35
  411. fate-swr-resample_exact-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  412. fate-swr-resample_exact-s32p-48000-96000: CMP_TARGET = 0.85
  413. fate-swr-resample_exact-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  414. fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2503.33
  415. fate-swr-resample_exact-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  416. fate-swr-resample_exact-s32p-8000-44100: CMP_TARGET = 14.61
  417. fate-swr-resample_exact-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  418. fate-swr-resample_exact-s32p-8000-48000: CMP_TARGET = 14.52
  419. fate-swr-resample_exact-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  420. fate-swr-resample_exact-s32p-8000-96000: CMP_TARGET = 13.62
  421. fate-swr-resample_exact-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  422. fate-swr-resample_exact-s32p-96000-2626: CMP_TARGET = 675.05
  423. fate-swr-resample_exact-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  424. fate-swr-resample_exact-s32p-96000-44100: CMP_TARGET = 1.41
  425. fate-swr-resample_exact-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  426. fate-swr-resample_exact-s32p-96000-48000: CMP_TARGET = 1.21
  427. fate-swr-resample_exact-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  428. fate-swr-resample_exact-s32p-96000-8000: CMP_TARGET = 58.54
  429. fate-swr-resample_exact-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  430. define ARESAMPLE_EXACT_ASYNC
  431. FATE_SWR_RESAMPLE += fate-swr-resample_exact_async-$(3)-$(1)-$(2)
  432. fate-swr-resample_exact_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  433. 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 -
  434. fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP = stddev
  435. fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  436. fate-swr-resample_exact_async-$(3)-$(1)-$(2): FUZZ = 0.1
  437. fate-swr-resample_exact_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  438. endef
  439. fate-swr-resample_exact_async-dblp-44100-48000: CMP_TARGET = 7791.50
  440. fate-swr-resample_exact_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  441. fate-swr-resample_exact_async-dblp-44100-8000: CMP_TARGET = 4022.87
  442. fate-swr-resample_exact_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  443. fate-swr-resample_exact_async-dblp-48000-44100: CMP_TARGET = 1923.97
  444. fate-swr-resample_exact_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  445. fate-swr-resample_exact_async-dblp-48000-8000: CMP_TARGET = 2592.00
  446. fate-swr-resample_exact_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  447. fate-swr-resample_exact_async-dblp-8000-44100: CMP_TARGET = 11187.24
  448. fate-swr-resample_exact_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  449. fate-swr-resample_exact_async-dblp-8000-48000: CMP_TARGET = 11326.80
  450. fate-swr-resample_exact_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  451. fate-swr-resample_exact_async-fltp-44100-48000: CMP_TARGET = 7791.50
  452. fate-swr-resample_exact_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  453. fate-swr-resample_exact_async-fltp-44100-8000: CMP_TARGET = 4022.87
  454. fate-swr-resample_exact_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  455. fate-swr-resample_exact_async-fltp-48000-44100: CMP_TARGET = 1923.97
  456. fate-swr-resample_exact_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  457. fate-swr-resample_exact_async-fltp-48000-8000: CMP_TARGET = 2592.00
  458. fate-swr-resample_exact_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  459. fate-swr-resample_exact_async-fltp-8000-44100: CMP_TARGET = 11187.24
  460. fate-swr-resample_exact_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  461. fate-swr-resample_exact_async-fltp-8000-48000: CMP_TARGET = 11326.80
  462. fate-swr-resample_exact_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  463. fate-swr-resample_exact_async-s16p-44100-48000: CMP_TARGET = 7791.50
  464. fate-swr-resample_exact_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  465. fate-swr-resample_exact_async-s16p-44100-8000: CMP_TARGET = 4023.05
  466. fate-swr-resample_exact_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  467. fate-swr-resample_exact_async-s16p-48000-44100: CMP_TARGET = 1923.96
  468. fate-swr-resample_exact_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  469. fate-swr-resample_exact_async-s16p-48000-8000: CMP_TARGET = 2592.15
  470. fate-swr-resample_exact_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  471. fate-swr-resample_exact_async-s16p-8000-44100: CMP_TARGET = 11187.58
  472. fate-swr-resample_exact_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  473. fate-swr-resample_exact_async-s16p-8000-48000: CMP_TARGET = 11327.48
  474. fate-swr-resample_exact_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  475. fate-swr-resample_exact_async-s32p-44100-48000: CMP_TARGET = 7791.50
  476. fate-swr-resample_exact_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  477. fate-swr-resample_exact_async-s32p-44100-8000: CMP_TARGET = 4022.87
  478. fate-swr-resample_exact_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  479. fate-swr-resample_exact_async-s32p-48000-44100: CMP_TARGET = 1923.96
  480. fate-swr-resample_exact_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  481. fate-swr-resample_exact_async-s32p-48000-8000: CMP_TARGET = 2592.00
  482. fate-swr-resample_exact_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  483. fate-swr-resample_exact_async-s32p-8000-44100: CMP_TARGET = 11187.24
  484. fate-swr-resample_exact_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  485. fate-swr-resample_exact_async-s32p-8000-48000: CMP_TARGET = 11326.79
  486. fate-swr-resample_exact_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  487. define ARESAMPLE_EXACT_LIN
  488. FATE_SWR_RESAMPLE += fate-swr-resample_exact_lin-$(3)-$(1)-$(2)
  489. fate-swr-resample_exact_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  490. 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 -
  491. fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP = stddev
  492. fate-swr-resample_exact_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  493. fate-swr-resample_exact_lin-$(3)-$(1)-$(2): FUZZ = 0.1
  494. fate-swr-resample_exact_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  495. endef
  496. fate-swr-resample_exact_lin-dblp-44100-48000: CMP_TARGET = 9.64
  497. fate-swr-resample_exact_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  498. fate-swr-resample_exact_lin-dblp-44100-8000: CMP_TARGET = 75.38
  499. fate-swr-resample_exact_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  500. fate-swr-resample_exact_lin-dblp-48000-44100: CMP_TARGET = 0.23
  501. fate-swr-resample_exact_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  502. fate-swr-resample_exact_lin-dblp-48000-8000: CMP_TARGET = 62.36
  503. fate-swr-resample_exact_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  504. fate-swr-resample_exact_lin-dblp-8000-44100: CMP_TARGET = 14.59
  505. fate-swr-resample_exact_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  506. fate-swr-resample_exact_lin-dblp-8000-48000: CMP_TARGET = 14.50
  507. fate-swr-resample_exact_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  508. fate-swr-resample_exact_lin-fltp-44100-48000: CMP_TARGET = 9.64
  509. fate-swr-resample_exact_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  510. fate-swr-resample_exact_lin-fltp-44100-8000: CMP_TARGET = 75.38
  511. fate-swr-resample_exact_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  512. fate-swr-resample_exact_lin-fltp-48000-44100: CMP_TARGET = 0.23
  513. fate-swr-resample_exact_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  514. fate-swr-resample_exact_lin-fltp-48000-8000: CMP_TARGET = 62.36
  515. fate-swr-resample_exact_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  516. fate-swr-resample_exact_lin-fltp-8000-44100: CMP_TARGET = 14.59
  517. fate-swr-resample_exact_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  518. fate-swr-resample_exact_lin-fltp-8000-48000: CMP_TARGET = 14.50
  519. fate-swr-resample_exact_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  520. fate-swr-resample_exact_lin-s16p-44100-48000: CMP_TARGET = 9.66
  521. fate-swr-resample_exact_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  522. fate-swr-resample_exact_lin-s16p-44100-8000: CMP_TARGET = 75.43
  523. fate-swr-resample_exact_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  524. fate-swr-resample_exact_lin-s16p-48000-44100: CMP_TARGET = 0.68
  525. fate-swr-resample_exact_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  526. fate-swr-resample_exact_lin-s16p-48000-8000: CMP_TARGET = 62.39
  527. fate-swr-resample_exact_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  528. fate-swr-resample_exact_lin-s16p-8000-44100: CMP_TARGET = 14.63
  529. fate-swr-resample_exact_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  530. fate-swr-resample_exact_lin-s16p-8000-48000: CMP_TARGET = 14.54
  531. fate-swr-resample_exact_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  532. fate-swr-resample_exact_lin-s32p-44100-48000: CMP_TARGET = 9.66
  533. fate-swr-resample_exact_lin-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  534. fate-swr-resample_exact_lin-s32p-44100-8000: CMP_TARGET = 75.37
  535. fate-swr-resample_exact_lin-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  536. fate-swr-resample_exact_lin-s32p-48000-44100: CMP_TARGET = 0.74
  537. fate-swr-resample_exact_lin-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  538. fate-swr-resample_exact_lin-s32p-48000-8000: CMP_TARGET = 62.35
  539. fate-swr-resample_exact_lin-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  540. fate-swr-resample_exact_lin-s32p-8000-44100: CMP_TARGET = 14.61
  541. fate-swr-resample_exact_lin-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  542. fate-swr-resample_exact_lin-s32p-8000-48000: CMP_TARGET = 14.52
  543. fate-swr-resample_exact_lin-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  544. fate-swr-resample_exact_lin-dblp-2626-44100: CMP_TARGET = 1352.60
  545. fate-swr-resample_exact_lin-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  546. fate-swr-resample_exact_lin-dblp-2626-48000: CMP_TARGET = 1352.62
  547. fate-swr-resample_exact_lin-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  548. fate-swr-resample_exact_lin-dblp-2626-8000: CMP_TARGET = 1352.49
  549. fate-swr-resample_exact_lin-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20480
  550. fate-swr-resample_exact_lin-dblp-2626-96000: CMP_TARGET = 1352.62
  551. fate-swr-resample_exact_lin-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  552. fate-swr-resample_exact_lin-dblp-44100-2626: CMP_TARGET = 185.49
  553. fate-swr-resample_exact_lin-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  554. fate-swr-resample_exact_lin-dblp-44100-96000: CMP_TARGET = 11.45
  555. fate-swr-resample_exact_lin-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  556. fate-swr-resample_exact_lin-dblp-48000-2626: CMP_TARGET = 456.50
  557. fate-swr-resample_exact_lin-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  558. fate-swr-resample_exact_lin-dblp-48000-96000: CMP_TARGET = 0.47
  559. fate-swr-resample_exact_lin-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  560. fate-swr-resample_exact_lin-dblp-8000-2626: CMP_TARGET = 2503.28
  561. fate-swr-resample_exact_lin-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20480
  562. fate-swr-resample_exact_lin-dblp-8000-96000: CMP_TARGET = 13.62
  563. fate-swr-resample_exact_lin-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  564. fate-swr-resample_exact_lin-dblp-96000-2626: CMP_TARGET = 675.02
  565. fate-swr-resample_exact_lin-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  566. fate-swr-resample_exact_lin-dblp-96000-44100: CMP_TARGET = 1.24
  567. fate-swr-resample_exact_lin-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  568. fate-swr-resample_exact_lin-dblp-96000-48000: CMP_TARGET = 0.99
  569. fate-swr-resample_exact_lin-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  570. fate-swr-resample_exact_lin-dblp-96000-8000: CMP_TARGET = 58.52
  571. fate-swr-resample_exact_lin-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  572. fate-swr-resample_exact_lin-fltp-2626-44100: CMP_TARGET = 1352.60
  573. fate-swr-resample_exact_lin-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  574. fate-swr-resample_exact_lin-fltp-2626-48000: CMP_TARGET = 1352.62
  575. fate-swr-resample_exact_lin-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  576. fate-swr-resample_exact_lin-fltp-2626-8000: CMP_TARGET = 1352.49
  577. fate-swr-resample_exact_lin-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20480
  578. fate-swr-resample_exact_lin-fltp-2626-96000: CMP_TARGET = 1352.62
  579. fate-swr-resample_exact_lin-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  580. fate-swr-resample_exact_lin-fltp-44100-2626: CMP_TARGET = 185.49
  581. fate-swr-resample_exact_lin-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  582. fate-swr-resample_exact_lin-fltp-44100-96000: CMP_TARGET = 11.45
  583. fate-swr-resample_exact_lin-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  584. fate-swr-resample_exact_lin-fltp-48000-2626: CMP_TARGET = 456.50
  585. fate-swr-resample_exact_lin-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  586. fate-swr-resample_exact_lin-fltp-48000-96000: CMP_TARGET = 0.47
  587. fate-swr-resample_exact_lin-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  588. fate-swr-resample_exact_lin-fltp-8000-2626: CMP_TARGET = 2503.28
  589. fate-swr-resample_exact_lin-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20480
  590. fate-swr-resample_exact_lin-fltp-8000-96000: CMP_TARGET = 13.62
  591. fate-swr-resample_exact_lin-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  592. fate-swr-resample_exact_lin-fltp-96000-2626: CMP_TARGET = 675.02
  593. fate-swr-resample_exact_lin-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  594. fate-swr-resample_exact_lin-fltp-96000-44100: CMP_TARGET = 1.23
  595. fate-swr-resample_exact_lin-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  596. fate-swr-resample_exact_lin-fltp-96000-48000: CMP_TARGET = 0.99
  597. fate-swr-resample_exact_lin-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  598. fate-swr-resample_exact_lin-fltp-96000-8000: CMP_TARGET = 58.52
  599. fate-swr-resample_exact_lin-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  600. fate-swr-resample_exact_lin-s16p-2626-44100: CMP_TARGET = 1392.93
  601. fate-swr-resample_exact_lin-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  602. fate-swr-resample_exact_lin-s16p-2626-48000: CMP_TARGET = 1392.97
  603. fate-swr-resample_exact_lin-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  604. fate-swr-resample_exact_lin-s16p-2626-8000: CMP_TARGET = 1393.28
  605. fate-swr-resample_exact_lin-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20480
  606. fate-swr-resample_exact_lin-s16p-2626-96000: CMP_TARGET = 1393.04
  607. fate-swr-resample_exact_lin-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  608. fate-swr-resample_exact_lin-s16p-44100-2626: CMP_TARGET = 185.51
  609. fate-swr-resample_exact_lin-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  610. fate-swr-resample_exact_lin-s16p-44100-96000: CMP_TARGET = 11.46
  611. fate-swr-resample_exact_lin-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  612. fate-swr-resample_exact_lin-s16p-48000-2626: CMP_TARGET = 456.56
  613. fate-swr-resample_exact_lin-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  614. fate-swr-resample_exact_lin-s16p-48000-96000: CMP_TARGET = 0.73
  615. fate-swr-resample_exact_lin-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  616. fate-swr-resample_exact_lin-s16p-8000-2626: CMP_TARGET = 2503.28
  617. fate-swr-resample_exact_lin-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20480
  618. fate-swr-resample_exact_lin-s16p-8000-96000: CMP_TARGET = 13.65
  619. fate-swr-resample_exact_lin-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  620. fate-swr-resample_exact_lin-s16p-96000-2626: CMP_TARGET = 675.07
  621. fate-swr-resample_exact_lin-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  622. fate-swr-resample_exact_lin-s16p-96000-44100: CMP_TARGET = 1.44
  623. fate-swr-resample_exact_lin-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  624. fate-swr-resample_exact_lin-s16p-96000-48000: CMP_TARGET = 1.12
  625. fate-swr-resample_exact_lin-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  626. fate-swr-resample_exact_lin-s16p-96000-8000: CMP_TARGET = 58.56
  627. fate-swr-resample_exact_lin-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  628. fate-swr-resample_exact_lin-s32p-2626-44100: CMP_TARGET = 1392.95
  629. fate-swr-resample_exact_lin-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  630. fate-swr-resample_exact_lin-s32p-2626-48000: CMP_TARGET = 1392.98
  631. fate-swr-resample_exact_lin-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  632. fate-swr-resample_exact_lin-s32p-2626-8000: CMP_TARGET = 1393.29
  633. fate-swr-resample_exact_lin-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20480
  634. fate-swr-resample_exact_lin-s32p-2626-96000: CMP_TARGET = 1392.96
  635. fate-swr-resample_exact_lin-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  636. fate-swr-resample_exact_lin-s32p-44100-2626: CMP_TARGET = 185.48
  637. fate-swr-resample_exact_lin-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  638. fate-swr-resample_exact_lin-s32p-44100-96000: CMP_TARGET = 11.46
  639. fate-swr-resample_exact_lin-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  640. fate-swr-resample_exact_lin-s32p-48000-2626: CMP_TARGET = 456.48
  641. fate-swr-resample_exact_lin-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  642. fate-swr-resample_exact_lin-s32p-48000-96000: CMP_TARGET = 0.85
  643. fate-swr-resample_exact_lin-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  644. fate-swr-resample_exact_lin-s32p-8000-2626: CMP_TARGET = 2503.28
  645. fate-swr-resample_exact_lin-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20480
  646. fate-swr-resample_exact_lin-s32p-8000-96000: CMP_TARGET = 13.62
  647. fate-swr-resample_exact_lin-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  648. fate-swr-resample_exact_lin-s32p-96000-2626: CMP_TARGET = 675.00
  649. fate-swr-resample_exact_lin-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  650. fate-swr-resample_exact_lin-s32p-96000-44100: CMP_TARGET = 1.41
  651. fate-swr-resample_exact_lin-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  652. fate-swr-resample_exact_lin-s32p-96000-48000: CMP_TARGET = 1.21
  653. fate-swr-resample_exact_lin-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  654. fate-swr-resample_exact_lin-s32p-96000-8000: CMP_TARGET = 58.54
  655. fate-swr-resample_exact_lin-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  656. define ARESAMPLE_EXACT_LIN_ASYNC
  657. FATE_SWR_RESAMPLE += fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2)
  658. fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  659. 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 -
  660. fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP = stddev
  661. fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  662. fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): FUZZ = 0.1
  663. fate-swr-resample_exact_lin_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  664. endef
  665. fate-swr-resample_exact_lin_async-dblp-44100-48000: CMP_TARGET = 7791.72
  666. fate-swr-resample_exact_lin_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  667. fate-swr-resample_exact_lin_async-dblp-44100-8000: CMP_TARGET = 4023.01
  668. fate-swr-resample_exact_lin_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  669. fate-swr-resample_exact_lin_async-dblp-48000-44100: CMP_TARGET = 1923.79
  670. fate-swr-resample_exact_lin_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  671. fate-swr-resample_exact_lin_async-dblp-48000-8000: CMP_TARGET = 2591.72
  672. fate-swr-resample_exact_lin_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  673. fate-swr-resample_exact_lin_async-dblp-8000-44100: CMP_TARGET = 11187.24
  674. fate-swr-resample_exact_lin_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  675. fate-swr-resample_exact_lin_async-dblp-8000-48000: CMP_TARGET = 11326.80
  676. fate-swr-resample_exact_lin_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  677. fate-swr-resample_exact_lin_async-fltp-44100-48000: CMP_TARGET = 7791.72
  678. fate-swr-resample_exact_lin_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  679. fate-swr-resample_exact_lin_async-fltp-44100-8000: CMP_TARGET = 4023.01
  680. fate-swr-resample_exact_lin_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  681. fate-swr-resample_exact_lin_async-fltp-48000-44100: CMP_TARGET = 1923.79
  682. fate-swr-resample_exact_lin_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  683. fate-swr-resample_exact_lin_async-fltp-48000-8000: CMP_TARGET = 2591.72
  684. fate-swr-resample_exact_lin_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  685. fate-swr-resample_exact_lin_async-fltp-8000-44100: CMP_TARGET = 11187.25
  686. fate-swr-resample_exact_lin_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  687. fate-swr-resample_exact_lin_async-fltp-8000-48000: CMP_TARGET = 11326.80
  688. fate-swr-resample_exact_lin_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  689. fate-swr-resample_exact_lin_async-s16p-44100-48000: CMP_TARGET = 7791.72
  690. fate-swr-resample_exact_lin_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  691. fate-swr-resample_exact_lin_async-s16p-44100-8000: CMP_TARGET = 4023.19
  692. fate-swr-resample_exact_lin_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  693. fate-swr-resample_exact_lin_async-s16p-48000-44100: CMP_TARGET = 1923.79
  694. fate-swr-resample_exact_lin_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  695. fate-swr-resample_exact_lin_async-s16p-48000-8000: CMP_TARGET = 2591.85
  696. fate-swr-resample_exact_lin_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  697. fate-swr-resample_exact_lin_async-s16p-8000-44100: CMP_TARGET = 11187.57
  698. fate-swr-resample_exact_lin_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  699. fate-swr-resample_exact_lin_async-s16p-8000-48000: CMP_TARGET = 11327.48
  700. fate-swr-resample_exact_lin_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  701. fate-swr-resample_exact_lin_async-s32p-44100-48000: CMP_TARGET = 7791.72
  702. fate-swr-resample_exact_lin_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  703. fate-swr-resample_exact_lin_async-s32p-44100-8000: CMP_TARGET = 4023.02
  704. fate-swr-resample_exact_lin_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  705. fate-swr-resample_exact_lin_async-s32p-48000-44100: CMP_TARGET = 1923.77
  706. fate-swr-resample_exact_lin_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  707. fate-swr-resample_exact_lin_async-s32p-48000-8000: CMP_TARGET = 2591.71
  708. fate-swr-resample_exact_lin_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  709. fate-swr-resample_exact_lin_async-s32p-8000-44100: CMP_TARGET = 11187.25
  710. fate-swr-resample_exact_lin_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  711. fate-swr-resample_exact_lin_async-s32p-8000-48000: CMP_TARGET = 11326.81
  712. fate-swr-resample_exact_lin_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  713. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s16p,s16le,s16)
  714. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s32p,s32le,s16)
  715. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,fltp,f32le,s16)
  716. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,dblp,f64le,s16)
  717. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,s16p,s16le,s16)
  718. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,fltp,f32le,s16)
  719. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,dblp,f64le,s16)
  720. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,s16p,s16le,s16)
  721. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,fltp,f32le,s16)
  722. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,s16p,s16le,s16)
  723. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,fltp,f32le,s16)
  724. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s16p,s16le,s16)
  725. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s32p,s32le,s16)
  726. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,fltp,f32le,s16)
  727. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,dblp,f64le,s16)
  728. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s16p,s16le,s16)
  729. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s32p,s32le,s16)
  730. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,fltp,f32le,s16)
  731. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,dblp,f64le,s16)
  732. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,s16p,s16le,s16)
  733. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,s32p,s32le,s16)
  734. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,fltp,f32le,s16)
  735. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT_LIN,dblp,f64le,s16)
  736. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s16p,s16le,s16)
  737. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,s32p,s32le,s16)
  738. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,fltp,f32le,s16)
  739. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_LIN_ASYNC,dblp,f64le,s16)
  740. FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_SWR_RESAMPLE)
  741. fate-swr-resample: $(FATE_SWR_RESAMPLE-yes)
  742. FATE_SWR += $(FATE_SWR_RESAMPLE-yes)
  743. FATE_SWR_AUDIOCONVERT-$(call FILTERDEMDECENCMUX, AFORMAT AEVAL, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-swr-audioconvert
  744. fate-swr-audioconvert: tests/data/asynth-44100-1.wav
  745. fate-swr-audioconvert: REF = tests/data/asynth-44100-1.wav
  746. 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 -
  747. fate-swr-audioconvert: CMP = stddev
  748. fate-swr-audioconvert: FUZZ = 0
  749. FATE_SWR += $(FATE_SWR_AUDIOCONVERT-yes)
  750. FATE_FFMPEG += $(FATE_SWR)
  751. fate-swr: $(FATE_SWR)