libswresample.mak 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  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. define ARESAMPLE
  10. FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
  11. fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  12. fate-swr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
  13. fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
  14. fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  15. fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
  16. fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  17. endef
  18. #below list is generated by:
  19. #you can use this if you need to update it!
  20. #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'
  21. fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.68
  22. fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  23. fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.65
  24. fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  25. fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1353.08
  26. fate-swr-resample-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  27. fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.67
  28. fate-swr-resample-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  29. fate-swr-resample-dblp-44100-2626: CMP_TARGET = 185.82
  30. fate-swr-resample-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  31. fate-swr-resample-dblp-44100-48000: CMP_TARGET = 9.70
  32. fate-swr-resample-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  33. fate-swr-resample-dblp-44100-8000: CMP_TARGET = 75.45
  34. fate-swr-resample-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  35. fate-swr-resample-dblp-44100-96000: CMP_TARGET = 11.47
  36. fate-swr-resample-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  37. fate-swr-resample-dblp-48000-2626: CMP_TARGET = 456.51
  38. fate-swr-resample-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  39. fate-swr-resample-dblp-48000-44100: CMP_TARGET = 1.02
  40. fate-swr-resample-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  41. fate-swr-resample-dblp-48000-8000: CMP_TARGET = 62.38
  42. fate-swr-resample-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  43. fate-swr-resample-dblp-48000-96000: CMP_TARGET = 0.47
  44. fate-swr-resample-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  45. fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2506.02
  46. fate-swr-resample-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  47. fate-swr-resample-dblp-8000-44100: CMP_TARGET = 15.09
  48. fate-swr-resample-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  49. fate-swr-resample-dblp-8000-48000: CMP_TARGET = 14.69
  50. fate-swr-resample-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  51. fate-swr-resample-dblp-8000-96000: CMP_TARGET = 13.81
  52. fate-swr-resample-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  53. fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.08
  54. fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  55. fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.45
  56. fate-swr-resample-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  57. fate-swr-resample-dblp-96000-48000: CMP_TARGET = 1.00
  58. fate-swr-resample-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  59. fate-swr-resample-dblp-96000-8000: CMP_TARGET = 58.57
  60. fate-swr-resample-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  61. fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.68
  62. fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  63. fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.65
  64. fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  65. fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1353.08
  66. fate-swr-resample-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  67. fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.67
  68. fate-swr-resample-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  69. fate-swr-resample-fltp-44100-2626: CMP_TARGET = 185.82
  70. fate-swr-resample-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  71. fate-swr-resample-fltp-44100-48000: CMP_TARGET = 9.70
  72. fate-swr-resample-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  73. fate-swr-resample-fltp-44100-8000: CMP_TARGET = 75.45
  74. fate-swr-resample-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  75. fate-swr-resample-fltp-44100-96000: CMP_TARGET = 11.47
  76. fate-swr-resample-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  77. fate-swr-resample-fltp-48000-2626: CMP_TARGET = 456.51
  78. fate-swr-resample-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  79. fate-swr-resample-fltp-48000-44100: CMP_TARGET = 1.02
  80. fate-swr-resample-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  81. fate-swr-resample-fltp-48000-8000: CMP_TARGET = 62.38
  82. fate-swr-resample-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  83. fate-swr-resample-fltp-48000-96000: CMP_TARGET = 0.47
  84. fate-swr-resample-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  85. fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2506.02
  86. fate-swr-resample-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  87. fate-swr-resample-fltp-8000-44100: CMP_TARGET = 15.09
  88. fate-swr-resample-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  89. fate-swr-resample-fltp-8000-48000: CMP_TARGET = 14.69
  90. fate-swr-resample-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  91. fate-swr-resample-fltp-8000-96000: CMP_TARGET = 13.81
  92. fate-swr-resample-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  93. fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.08
  94. fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  95. fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.45
  96. fate-swr-resample-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  97. fate-swr-resample-fltp-96000-48000: CMP_TARGET = 1.00
  98. fate-swr-resample-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  99. fate-swr-resample-fltp-96000-8000: CMP_TARGET = 58.57
  100. fate-swr-resample-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  101. fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1393.01
  102. fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  103. fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1392.99
  104. fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  105. fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.90
  106. fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  107. fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.08
  108. fate-swr-resample-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  109. fate-swr-resample-s16p-44100-2626: CMP_TARGET = 185.84
  110. fate-swr-resample-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  111. fate-swr-resample-s16p-44100-48000: CMP_TARGET = 9.71
  112. fate-swr-resample-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  113. fate-swr-resample-s16p-44100-8000: CMP_TARGET = 75.46
  114. fate-swr-resample-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  115. fate-swr-resample-s16p-44100-96000: CMP_TARGET = 11.48
  116. fate-swr-resample-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  117. fate-swr-resample-s16p-48000-2626: CMP_TARGET = 456.55
  118. fate-swr-resample-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  119. fate-swr-resample-s16p-48000-44100: CMP_TARGET = 1.22
  120. fate-swr-resample-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  121. fate-swr-resample-s16p-48000-8000: CMP_TARGET = 62.41
  122. fate-swr-resample-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  123. fate-swr-resample-s16p-48000-96000: CMP_TARGET = 0.50
  124. fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  125. fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2506.02
  126. fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  127. fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.12
  128. fate-swr-resample-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  129. fate-swr-resample-s16p-8000-48000: CMP_TARGET = 14.69
  130. fate-swr-resample-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  131. fate-swr-resample-s16p-8000-96000: CMP_TARGET = 13.83
  132. fate-swr-resample-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  133. fate-swr-resample-s16p-96000-2626: CMP_TARGET = 675.14
  134. fate-swr-resample-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  135. fate-swr-resample-s16p-96000-44100: CMP_TARGET = 1.62
  136. fate-swr-resample-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  137. fate-swr-resample-s16p-96000-48000: CMP_TARGET = 1.03
  138. fate-swr-resample-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  139. fate-swr-resample-s16p-96000-8000: CMP_TARGET = 58.60
  140. fate-swr-resample-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  141. fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1393.01
  142. fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  143. fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1392.99
  144. fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  145. fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.89
  146. fate-swr-resample-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  147. fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.00
  148. fate-swr-resample-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  149. fate-swr-resample-s32p-44100-2626: CMP_TARGET = 185.82
  150. fate-swr-resample-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  151. fate-swr-resample-s32p-44100-48000: CMP_TARGET = 9.70
  152. fate-swr-resample-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  153. fate-swr-resample-s32p-44100-8000: CMP_TARGET = 75.45
  154. fate-swr-resample-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  155. fate-swr-resample-s32p-44100-96000: CMP_TARGET = 11.47
  156. fate-swr-resample-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  157. fate-swr-resample-s32p-48000-2626: CMP_TARGET = 456.51
  158. fate-swr-resample-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  159. fate-swr-resample-s32p-48000-44100: CMP_TARGET = 1.02
  160. fate-swr-resample-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  161. fate-swr-resample-s32p-48000-8000: CMP_TARGET = 62.38
  162. fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  163. fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.47
  164. fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  165. fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2506.02
  166. fate-swr-resample-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  167. fate-swr-resample-s32p-8000-44100: CMP_TARGET = 15.09
  168. fate-swr-resample-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  169. fate-swr-resample-s32p-8000-48000: CMP_TARGET = 14.69
  170. fate-swr-resample-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  171. fate-swr-resample-s32p-8000-96000: CMP_TARGET = 13.81
  172. fate-swr-resample-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  173. fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.08
  174. fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  175. fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.45
  176. fate-swr-resample-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  177. fate-swr-resample-s32p-96000-48000: CMP_TARGET = 1.00
  178. fate-swr-resample-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  179. fate-swr-resample-s32p-96000-8000: CMP_TARGET = 58.57
  180. fate-swr-resample-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  181. define ARESAMPLE_LIN
  182. FATE_SWR_RESAMPLE += fate-swr-resample_lin-$(3)-$(1)-$(2)
  183. fate-swr-resample_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  184. fate-swr-resample_lin-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):linear_interp=1:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=1:internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
  185. fate-swr-resample_lin-$(3)-$(1)-$(2): CMP = stddev
  186. fate-swr-resample_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  187. fate-swr-resample_lin-$(3)-$(1)-$(2): FUZZ = 0.1
  188. fate-swr-resample_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  189. endef
  190. fate-swr-resample_lin-s16p-8000-44100: CMP_TARGET = 14.61
  191. fate-swr-resample_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  192. fate-swr-resample_lin-s16p-8000-48000: CMP_TARGET = 14.53
  193. fate-swr-resample_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  194. fate-swr-resample_lin-s16p-44100-8000: CMP_TARGET = 75.41
  195. fate-swr-resample_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  196. fate-swr-resample_lin-s16p-44100-48000: CMP_TARGET = 9.66
  197. fate-swr-resample_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  198. fate-swr-resample_lin-s16p-48000-8000: CMP_TARGET = 62.39
  199. fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  200. fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.68
  201. fate-swr-resample_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  202. fate-swr-resample_lin-fltp-8000-44100: CMP_TARGET = 14.59
  203. fate-swr-resample_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  204. fate-swr-resample_lin-fltp-8000-48000: CMP_TARGET = 14.50
  205. fate-swr-resample_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  206. fate-swr-resample_lin-fltp-44100-8000: CMP_TARGET = 75.38
  207. fate-swr-resample_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  208. fate-swr-resample_lin-fltp-44100-48000: CMP_TARGET = 9.65
  209. fate-swr-resample_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  210. fate-swr-resample_lin-fltp-48000-8000: CMP_TARGET = 62.36
  211. fate-swr-resample_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  212. fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.26
  213. fate-swr-resample_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  214. fate-swr-resample_lin-dblp-8000-44100: CMP_TARGET = 14.59
  215. fate-swr-resample_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  216. fate-swr-resample_lin-dblp-8000-48000: CMP_TARGET = 14.50
  217. fate-swr-resample_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  218. fate-swr-resample_lin-dblp-44100-8000: CMP_TARGET = 75.38
  219. fate-swr-resample_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  220. fate-swr-resample_lin-dblp-44100-48000: CMP_TARGET = 9.65
  221. fate-swr-resample_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  222. fate-swr-resample_lin-dblp-48000-8000: CMP_TARGET = 62.36
  223. fate-swr-resample_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  224. fate-swr-resample_lin-dblp-48000-44100: CMP_TARGET = 0.26
  225. fate-swr-resample_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  226. define ARESAMPLE_NN
  227. FATE_SWR_RESAMPLE += fate-swr-resample_nn-$(3)-$(1)-$(2)
  228. fate-swr-resample_nn-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  229. fate-swr-resample_nn-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):filter_size=1:phase_shift=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
  230. fate-swr-resample_nn-$(3)-$(1)-$(2): CMP = stddev
  231. fate-swr-resample_nn-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  232. fate-swr-resample_nn-$(3)-$(1)-$(2): FUZZ = 0.1
  233. fate-swr-resample_nn-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  234. endef
  235. fate-swr-resample_nn-fltp-44100-8000: CMP_TARGET = 590.98
  236. fate-swr-resample_nn-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  237. fate-swr-resample_nn-fltp-8000-44100: CMP_TARGET = 3163.32
  238. fate-swr-resample_nn-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  239. fate-swr-resample_nn-s16p-44100-8000: CMP_TARGET = 590.97
  240. fate-swr-resample_nn-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  241. fate-swr-resample_nn-s16p-8000-44100: CMP_TARGET = 3163.39
  242. fate-swr-resample_nn-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  243. define ARESAMPLE_ASYNC
  244. FATE_SWR_RESAMPLE += fate-swr-resample_async-$(3)-$(1)-$(2)
  245. fate-swr-resample_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  246. fate-swr-resample_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
  247. fate-swr-resample_async-$(3)-$(1)-$(2): CMP = stddev
  248. fate-swr-resample_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  249. fate-swr-resample_async-$(3)-$(1)-$(2): FUZZ = 0.1
  250. fate-swr-resample_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  251. endef
  252. fate-swr-resample_async-fltp-44100-8000: CMP_TARGET = 4020.62
  253. fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  254. fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 11186.69
  255. fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  256. fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 4020.73
  257. fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  258. fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 11187.01
  259. fate-swr-resample_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  260. define ARESAMPLE_EXACT
  261. FATE_SWR_RESAMPLE += fate-swr-resample_exact-$(3)-$(1)-$(2)
  262. fate-swr-resample_exact-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  263. fate-swr-resample_exact-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):internal_sample_fmt=$(3):exact_rational=on,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on -f wav -acodec pcm_s16le -
  264. fate-swr-resample_exact-$(3)-$(1)-$(2): CMP = stddev
  265. fate-swr-resample_exact-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  266. fate-swr-resample_exact-$(3)-$(1)-$(2): FUZZ = 0.1
  267. fate-swr-resample_exact-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  268. endef
  269. fate-swr-resample_exact-dblp-2626-44100: CMP_TARGET = 1352.68
  270. fate-swr-resample_exact-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  271. fate-swr-resample_exact-dblp-2626-48000: CMP_TARGET = 1352.65
  272. fate-swr-resample_exact-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  273. fate-swr-resample_exact-dblp-2626-8000: CMP_TARGET = 1353.08
  274. fate-swr-resample_exact-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  275. fate-swr-resample_exact-dblp-2626-96000: CMP_TARGET = 1352.67
  276. fate-swr-resample_exact-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  277. fate-swr-resample_exact-dblp-44100-2626: CMP_TARGET = 185.82
  278. fate-swr-resample_exact-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  279. fate-swr-resample_exact-dblp-44100-48000: CMP_TARGET = 9.65
  280. fate-swr-resample_exact-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  281. fate-swr-resample_exact-dblp-44100-8000: CMP_TARGET = 75.38
  282. fate-swr-resample_exact-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  283. fate-swr-resample_exact-dblp-44100-96000: CMP_TARGET = 11.45
  284. fate-swr-resample_exact-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  285. fate-swr-resample_exact-dblp-48000-2626: CMP_TARGET = 456.51
  286. fate-swr-resample_exact-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  287. fate-swr-resample_exact-dblp-48000-44100: CMP_TARGET = 0.26
  288. fate-swr-resample_exact-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  289. fate-swr-resample_exact-dblp-48000-8000: CMP_TARGET = 62.36
  290. fate-swr-resample_exact-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  291. fate-swr-resample_exact-dblp-48000-96000: CMP_TARGET = 0.47
  292. fate-swr-resample_exact-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  293. fate-swr-resample_exact-dblp-8000-2626: CMP_TARGET = 2506.02
  294. fate-swr-resample_exact-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  295. fate-swr-resample_exact-dblp-8000-44100: CMP_TARGET = 14.59
  296. fate-swr-resample_exact-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  297. fate-swr-resample_exact-dblp-8000-48000: CMP_TARGET = 14.50
  298. fate-swr-resample_exact-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  299. fate-swr-resample_exact-dblp-8000-96000: CMP_TARGET = 13.62
  300. fate-swr-resample_exact-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  301. fate-swr-resample_exact-dblp-96000-2626: CMP_TARGET = 675.08
  302. fate-swr-resample_exact-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  303. fate-swr-resample_exact-dblp-96000-44100: CMP_TARGET = 1.26
  304. fate-swr-resample_exact-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  305. fate-swr-resample_exact-dblp-96000-48000: CMP_TARGET = 1.00
  306. fate-swr-resample_exact-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  307. fate-swr-resample_exact-dblp-96000-8000: CMP_TARGET = 58.52
  308. fate-swr-resample_exact-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  309. fate-swr-resample_exact-fltp-2626-44100: CMP_TARGET = 1352.68
  310. fate-swr-resample_exact-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  311. fate-swr-resample_exact-fltp-2626-48000: CMP_TARGET = 1352.65
  312. fate-swr-resample_exact-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  313. fate-swr-resample_exact-fltp-2626-8000: CMP_TARGET = 1353.08
  314. fate-swr-resample_exact-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  315. fate-swr-resample_exact-fltp-2626-96000: CMP_TARGET = 1352.67
  316. fate-swr-resample_exact-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  317. fate-swr-resample_exact-fltp-44100-2626: CMP_TARGET = 185.82
  318. fate-swr-resample_exact-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  319. fate-swr-resample_exact-fltp-44100-48000: CMP_TARGET = 9.65
  320. fate-swr-resample_exact-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  321. fate-swr-resample_exact-fltp-44100-8000: CMP_TARGET = 75.38
  322. fate-swr-resample_exact-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  323. fate-swr-resample_exact-fltp-44100-96000: CMP_TARGET = 11.45
  324. fate-swr-resample_exact-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  325. fate-swr-resample_exact-fltp-48000-2626: CMP_TARGET = 456.51
  326. fate-swr-resample_exact-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  327. fate-swr-resample_exact-fltp-48000-44100: CMP_TARGET = 0.26
  328. fate-swr-resample_exact-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  329. fate-swr-resample_exact-fltp-48000-8000: CMP_TARGET = 62.36
  330. fate-swr-resample_exact-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  331. fate-swr-resample_exact-fltp-48000-96000: CMP_TARGET = 0.47
  332. fate-swr-resample_exact-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  333. fate-swr-resample_exact-fltp-8000-2626: CMP_TARGET = 2506.02
  334. fate-swr-resample_exact-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  335. fate-swr-resample_exact-fltp-8000-44100: CMP_TARGET = 14.59
  336. fate-swr-resample_exact-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  337. fate-swr-resample_exact-fltp-8000-48000: CMP_TARGET = 14.50
  338. fate-swr-resample_exact-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  339. fate-swr-resample_exact-fltp-8000-96000: CMP_TARGET = 13.62
  340. fate-swr-resample_exact-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  341. fate-swr-resample_exact-fltp-96000-2626: CMP_TARGET = 675.08
  342. fate-swr-resample_exact-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  343. fate-swr-resample_exact-fltp-96000-44100: CMP_TARGET = 1.26
  344. fate-swr-resample_exact-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  345. fate-swr-resample_exact-fltp-96000-48000: CMP_TARGET = 1.00
  346. fate-swr-resample_exact-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  347. fate-swr-resample_exact-fltp-96000-8000: CMP_TARGET = 58.52
  348. fate-swr-resample_exact-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  349. fate-swr-resample_exact-s16p-2626-44100: CMP_TARGET = 1393.01
  350. fate-swr-resample_exact-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  351. fate-swr-resample_exact-s16p-2626-48000: CMP_TARGET = 1392.99
  352. fate-swr-resample_exact-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  353. fate-swr-resample_exact-s16p-2626-8000: CMP_TARGET = 1393.90
  354. fate-swr-resample_exact-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  355. fate-swr-resample_exact-s16p-2626-96000: CMP_TARGET = 1393.08
  356. fate-swr-resample_exact-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  357. fate-swr-resample_exact-s16p-44100-2626: CMP_TARGET = 185.84
  358. fate-swr-resample_exact-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  359. fate-swr-resample_exact-s16p-44100-48000: CMP_TARGET = 9.67
  360. fate-swr-resample_exact-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  361. fate-swr-resample_exact-s16p-44100-8000: CMP_TARGET = 75.43
  362. fate-swr-resample_exact-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  363. fate-swr-resample_exact-s16p-44100-96000: CMP_TARGET = 11.46
  364. fate-swr-resample_exact-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  365. fate-swr-resample_exact-s16p-48000-2626: CMP_TARGET = 456.55
  366. fate-swr-resample_exact-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  367. fate-swr-resample_exact-s16p-48000-44100: CMP_TARGET = 0.72
  368. fate-swr-resample_exact-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  369. fate-swr-resample_exact-s16p-48000-8000: CMP_TARGET = 62.39
  370. fate-swr-resample_exact-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  371. fate-swr-resample_exact-s16p-48000-96000: CMP_TARGET = 0.50
  372. fate-swr-resample_exact-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  373. fate-swr-resample_exact-s16p-8000-2626: CMP_TARGET = 2506.02
  374. fate-swr-resample_exact-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  375. fate-swr-resample_exact-s16p-8000-44100: CMP_TARGET = 14.63
  376. fate-swr-resample_exact-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  377. fate-swr-resample_exact-s16p-8000-48000: CMP_TARGET = 14.54
  378. fate-swr-resample_exact-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  379. fate-swr-resample_exact-s16p-8000-96000: CMP_TARGET = 13.65
  380. fate-swr-resample_exact-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  381. fate-swr-resample_exact-s16p-96000-2626: CMP_TARGET = 675.14
  382. fate-swr-resample_exact-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  383. fate-swr-resample_exact-s16p-96000-44100: CMP_TARGET = 1.45
  384. fate-swr-resample_exact-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  385. fate-swr-resample_exact-s16p-96000-48000: CMP_TARGET = 1.03
  386. fate-swr-resample_exact-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  387. fate-swr-resample_exact-s16p-96000-8000: CMP_TARGET = 58.56
  388. fate-swr-resample_exact-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  389. fate-swr-resample_exact-s32p-2626-44100: CMP_TARGET = 1393.01
  390. fate-swr-resample_exact-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
  391. fate-swr-resample_exact-s32p-2626-48000: CMP_TARGET = 1392.99
  392. fate-swr-resample_exact-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
  393. fate-swr-resample_exact-s32p-2626-8000: CMP_TARGET = 1393.89
  394. fate-swr-resample_exact-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
  395. fate-swr-resample_exact-s32p-2626-96000: CMP_TARGET = 1393.00
  396. fate-swr-resample_exact-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
  397. fate-swr-resample_exact-s32p-44100-2626: CMP_TARGET = 185.82
  398. fate-swr-resample_exact-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
  399. fate-swr-resample_exact-s32p-44100-48000: CMP_TARGET = 9.65
  400. fate-swr-resample_exact-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
  401. fate-swr-resample_exact-s32p-44100-8000: CMP_TARGET = 75.38
  402. fate-swr-resample_exact-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
  403. fate-swr-resample_exact-s32p-44100-96000: CMP_TARGET = 11.45
  404. fate-swr-resample_exact-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
  405. fate-swr-resample_exact-s32p-48000-2626: CMP_TARGET = 456.51
  406. fate-swr-resample_exact-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
  407. fate-swr-resample_exact-s32p-48000-44100: CMP_TARGET = 0.26
  408. fate-swr-resample_exact-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
  409. fate-swr-resample_exact-s32p-48000-8000: CMP_TARGET = 62.36
  410. fate-swr-resample_exact-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
  411. fate-swr-resample_exact-s32p-48000-96000: CMP_TARGET = 0.47
  412. fate-swr-resample_exact-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
  413. fate-swr-resample_exact-s32p-8000-2626: CMP_TARGET = 2506.02
  414. fate-swr-resample_exact-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
  415. fate-swr-resample_exact-s32p-8000-44100: CMP_TARGET = 14.59
  416. fate-swr-resample_exact-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
  417. fate-swr-resample_exact-s32p-8000-48000: CMP_TARGET = 14.50
  418. fate-swr-resample_exact-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
  419. fate-swr-resample_exact-s32p-8000-96000: CMP_TARGET = 13.62
  420. fate-swr-resample_exact-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
  421. fate-swr-resample_exact-s32p-96000-2626: CMP_TARGET = 675.08
  422. fate-swr-resample_exact-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
  423. fate-swr-resample_exact-s32p-96000-44100: CMP_TARGET = 1.26
  424. fate-swr-resample_exact-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
  425. fate-swr-resample_exact-s32p-96000-48000: CMP_TARGET = 1.00
  426. fate-swr-resample_exact-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
  427. fate-swr-resample_exact-s32p-96000-8000: CMP_TARGET = 58.52
  428. fate-swr-resample_exact-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
  429. define ARESAMPLE_EXACT_ASYNC
  430. FATE_SWR_RESAMPLE += fate-swr-resample_exact_async-$(3)-$(1)-$(2)
  431. fate-swr-resample_exact_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
  432. fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:internal_sample_fmt=$(3):exact_rational=on,aformat=$(3),aresample=$(1):internal_sample_fmt=$(3):exact_rational=on -f wav -acodec pcm_s16le -
  433. fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP = stddev
  434. fate-swr-resample_exact_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
  435. fate-swr-resample_exact_async-$(3)-$(1)-$(2): FUZZ = 0.1
  436. fate-swr-resample_exact_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
  437. endef
  438. fate-swr-resample_exact_async-dblp-44100-48000: CMP_TARGET = 7791.55
  439. fate-swr-resample_exact_async-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  440. fate-swr-resample_exact_async-dblp-44100-8000: CMP_TARGET = 4022.89
  441. fate-swr-resample_exact_async-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  442. fate-swr-resample_exact_async-dblp-48000-44100: CMP_TARGET = 1923.99
  443. fate-swr-resample_exact_async-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  444. fate-swr-resample_exact_async-dblp-48000-8000: CMP_TARGET = 2592.02
  445. fate-swr-resample_exact_async-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  446. fate-swr-resample_exact_async-dblp-8000-44100: CMP_TARGET = 11187.37
  447. fate-swr-resample_exact_async-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  448. fate-swr-resample_exact_async-dblp-8000-48000: CMP_TARGET = 11326.82
  449. fate-swr-resample_exact_async-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  450. fate-swr-resample_exact_async-fltp-44100-48000: CMP_TARGET = 7791.55
  451. fate-swr-resample_exact_async-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  452. fate-swr-resample_exact_async-fltp-44100-8000: CMP_TARGET = 4022.89
  453. fate-swr-resample_exact_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  454. fate-swr-resample_exact_async-fltp-48000-44100: CMP_TARGET = 1923.98
  455. fate-swr-resample_exact_async-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  456. fate-swr-resample_exact_async-fltp-48000-8000: CMP_TARGET = 2592.02
  457. fate-swr-resample_exact_async-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  458. fate-swr-resample_exact_async-fltp-8000-44100: CMP_TARGET = 11187.37
  459. fate-swr-resample_exact_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  460. fate-swr-resample_exact_async-fltp-8000-48000: CMP_TARGET = 11326.82
  461. fate-swr-resample_exact_async-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  462. fate-swr-resample_exact_async-s16p-44100-48000: CMP_TARGET = 7791.56
  463. fate-swr-resample_exact_async-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  464. fate-swr-resample_exact_async-s16p-44100-8000: CMP_TARGET = 4023.06
  465. fate-swr-resample_exact_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  466. fate-swr-resample_exact_async-s16p-48000-44100: CMP_TARGET = 1923.98
  467. fate-swr-resample_exact_async-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  468. fate-swr-resample_exact_async-s16p-48000-8000: CMP_TARGET = 2592.15
  469. fate-swr-resample_exact_async-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  470. fate-swr-resample_exact_async-s16p-8000-44100: CMP_TARGET = 11187.62
  471. fate-swr-resample_exact_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  472. fate-swr-resample_exact_async-s16p-8000-48000: CMP_TARGET = 11327.50
  473. fate-swr-resample_exact_async-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  474. fate-swr-resample_exact_async-s32p-44100-48000: CMP_TARGET = 7791.55
  475. fate-swr-resample_exact_async-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20300
  476. fate-swr-resample_exact_async-s32p-44100-8000: CMP_TARGET = 4022.89
  477. fate-swr-resample_exact_async-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
  478. fate-swr-resample_exact_async-s32p-48000-44100: CMP_TARGET = 1923.98
  479. fate-swr-resample_exact_async-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20298
  480. fate-swr-resample_exact_async-s32p-48000-8000: CMP_TARGET = 2592.02
  481. fate-swr-resample_exact_async-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20304
  482. fate-swr-resample_exact_async-s32p-8000-44100: CMP_TARGET = 11187.37
  483. fate-swr-resample_exact_async-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
  484. fate-swr-resample_exact_async-s32p-8000-48000: CMP_TARGET = 11326.82
  485. fate-swr-resample_exact_async-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20344
  486. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s16p,s16le,s16)
  487. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s32p,s32le,s16)
  488. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,fltp,f32le,s16)
  489. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,dblp,f64le,s16)
  490. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,s16p,s16le,s16)
  491. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,fltp,f32le,s16)
  492. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,dblp,f64le,s16)
  493. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,s16p,s16le,s16)
  494. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,fltp,f32le,s16)
  495. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,s16p,s16le,s16)
  496. $(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,fltp,f32le,s16)
  497. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s16p,s16le,s16)
  498. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,s32p,s32le,s16)
  499. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,fltp,f32le,s16)
  500. $(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE_EXACT,dblp,f64le,s16)
  501. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s16p,s16le,s16)
  502. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,s32p,s32le,s16)
  503. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,fltp,f32le,s16)
  504. $(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_EXACT_ASYNC,dblp,f64le,s16)
  505. FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_SWR_RESAMPLE)
  506. fate-swr-resample: $(FATE_SWR_RESAMPLE-yes)
  507. FATE_SWR += $(FATE_SWR_RESAMPLE-yes)
  508. FATE_FFMPEG += $(FATE_SWR)
  509. fate-swr: $(FATE_SWR)