vapoursynth-dfttest2-cuda 11.dev2__tar.gz → 11.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. vapoursynth_dfttest2_cuda-11.1.0/CMakeLists.txt +140 -0
  2. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/PKG-INFO +9 -19
  3. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/README.md +2 -2
  4. vapoursynth_dfttest2_cuda-11.1.0/bin2c.py +29 -0
  5. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/pyproject.toml +15 -15
  6. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/.clang-format +27 -0
  7. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/.gitignore +289 -0
  8. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/README.md +11 -0
  9. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/cpu_dispatch.h.in +1 -1
  10. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/cpu_source/dfttest2_cpu.h +62 -0
  11. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/getframe_impl.cpp +121 -130
  12. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/kernel.hpp +79 -90
  13. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/source.cpp +111 -136
  14. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/cuda_source/kernels.cu +406 -0
  15. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/cuda_source/source.cpp +1136 -0
  16. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cuda_source/win32.cpp +33 -13
  17. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/gcc_source/dfttest2_cpu.h +53 -0
  18. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/gcc_source/getframe_impl.cpp +126 -141
  19. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/gcc_source/kernel.hpp +87 -106
  20. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/gcc_source/source.cpp +91 -121
  21. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/hip_source/kernel.hpp +386 -0
  22. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/hip_source/source.cpp +1154 -0
  23. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/hiprtc_source/dft_kernels.hpp +28 -16
  24. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/hiprtc_source/kernel.hpp +95 -42
  25. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/hiprtc_source/source.cpp +1059 -0
  26. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/nvrtc_source/dft_kernels.hpp → vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/nvrtc_source/dft_codelets.cuh +24 -69
  27. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/nvrtc_source/kernels.cu +411 -0
  28. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/nvrtc_source/source.cpp +985 -0
  29. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/python/__init__.py +4 -0
  30. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/python/backends.py +63 -0
  31. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/python/dfttest2.py +452 -0
  32. vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/python/helpers.py +109 -0
  33. vapoursynth_dfttest2_cuda-11.dev2/CMakeLists.txt +0 -53
  34. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/.codespellignore +0 -6
  35. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/.github/workflows/codespell.yml +0 -15
  36. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/.github/workflows/linux.yml +0 -77
  37. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/.github/workflows/macos.yml +0 -63
  38. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/.github/workflows/windows.yml +0 -100
  39. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/.gitignore +0 -49
  40. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/APIV4 changes.txt +0 -110
  41. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/COPYING.LESSER +0 -502
  42. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/ChangeLog +0 -769
  43. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/MANIFEST.in +0 -9
  44. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/Makefile.am +0 -162
  45. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/README.md +0 -10
  46. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/autogen.sh +0 -3
  47. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/configure.ac +0 -371
  48. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/cython_build.bat +0 -12
  49. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/api/vapoursynth.h.rst +0 -2635
  50. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/api/vshelper.h.rst +0 -204
  51. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/api/vsscript.h.rst +0 -330
  52. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/apireference.rst +0 -118
  53. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/applications.rst +0 -25
  54. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/conf.py +0 -252
  55. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/custom/css/custom.css +0 -19
  56. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/assumesamplerate.rst +0 -5
  57. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/audiogain.rst +0 -12
  58. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/audioloop.rst +0 -11
  59. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/audiomix.rst +0 -38
  60. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/audioreverse.rst +0 -10
  61. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/audiosplice.rst +0 -12
  62. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/audiotrim.rst +0 -10
  63. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/blankaudio.rst +0 -20
  64. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/setaudiocache.rst +0 -7
  65. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/shufflechannels.rst +0 -48
  66. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/audio/splitchannels.rst +0 -8
  67. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/general/loadallplugins.rst +0 -19
  68. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/general/loadplugin.rst +0 -26
  69. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/general/loadpluginavs.rst +0 -44
  70. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/general/setmaxcpu.rst +0 -14
  71. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/addborders.rst +0 -9
  72. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/assumefps.rst +0 -16
  73. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/averageframes.rst +0 -21
  74. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/binarize_binarizemask.rst +0 -34
  75. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/blankclip.rst +0 -18
  76. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/boxblur.rst +0 -8
  77. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/cliptoprop.rst +0 -15
  78. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/convolution.rst +0 -84
  79. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/copyframeprops.rst +0 -10
  80. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/crop_cropabs.rst +0 -20
  81. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/deflate_inflate.rst +0 -44
  82. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/deleteframes.rst +0 -11
  83. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/doubleweave.rst +0 -23
  84. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/duplicateframes.rst +0 -11
  85. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/expr.rst +0 -118
  86. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/flipvertical_fliphorizontal.rst +0 -8
  87. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/frameeval.rst +0 -77
  88. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/freezeframes.rst +0 -18
  89. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/interleave.rst +0 -19
  90. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/invert_invertmask.rst +0 -21
  91. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/levels.rst +0 -39
  92. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/limiter.rst +0 -23
  93. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/loop.rst +0 -11
  94. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/lut.rst +0 -39
  95. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/lut2.rst +0 -40
  96. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/makediff.rst +0 -15
  97. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/maskedmerge.rst +0 -35
  98. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/median.rst +0 -19
  99. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/merge.rst +0 -29
  100. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/mergediff.rst +0 -15
  101. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/minimum_maximum.rst +0 -69
  102. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/modifyframe.rst +0 -49
  103. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/pemverifier.rst +0 -14
  104. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/planestats.rst +0 -15
  105. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/premultiply.rst +0 -14
  106. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/prewitt_sobel.rst +0 -26
  107. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/proptoclip.rst +0 -12
  108. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/removeframeprops.rst +0 -9
  109. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/resize.rst +0 -278
  110. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/reverse.rst +0 -10
  111. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/selectevery.rst +0 -31
  112. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/separatefields.rst +0 -20
  113. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/setfieldbased.rst +0 -25
  114. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/setframeprop.rst +0 -20
  115. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/setframeprops.rst +0 -13
  116. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/setvideocache.rst +0 -27
  117. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/shuffleplanes.rst +0 -48
  118. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/splice.rst +0 -12
  119. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/splitplanes.rst +0 -8
  120. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/stackvertical_stackhorizontal.rst +0 -12
  121. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/text/clipinfo.rst +0 -9
  122. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/text/coreinfo.rst +0 -10
  123. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/text/framenum.rst +0 -9
  124. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/text/frameprops.rst +0 -10
  125. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/text/text.rst +0 -23
  126. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/transpose.rst +0 -18
  127. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/trim.rst +0 -17
  128. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions/video/turn180.rst +0 -7
  129. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/functions.rst +0 -38
  130. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/gettingstarted.rst +0 -42
  131. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/index.rst +0 -23
  132. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/installation.rst +0 -334
  133. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/introduction.rst +0 -36
  134. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/make.bat +0 -190
  135. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/output.rst +0 -125
  136. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/doc/pythonreference.rst +0 -1035
  137. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/docs_build.bat +0 -4
  138. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/VSConstants4.h +0 -93
  139. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/VSHelper.h +0 -174
  140. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/VSHelper4.h +0 -224
  141. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/VSScript.h +0 -85
  142. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/VSScript4.h +0 -97
  143. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/VapourSynth.h +0 -359
  144. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/VapourSynth4.h +0 -484
  145. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/cython/vapoursynth.h +0 -52
  146. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/include/cython/vapoursynth_api.h +0 -144
  147. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/CodeDependencies.iss +0 -755
  148. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/MANIFEST.in +0 -2
  149. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/make installers.bat +0 -2
  150. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/make portable.bat +0 -106
  151. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/setup.py +0 -93
  152. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/template.vpy +0 -1
  153. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/vs-detect-python.bat +0 -10
  154. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/installer/vsinstaller.iss +0 -523
  155. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/m4/ax_pthread.m4 +0 -507
  156. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/AVFS/AVFS.vcxproj +0 -208
  157. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/AVFS/AVFS.vcxproj.filters +0 -101
  158. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/AvsCompat/AvsCompat.vcxproj +0 -183
  159. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/AvsCompat/AvsCompat.vcxproj.filters +0 -42
  160. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/Core/Core.vcxproj +0 -275
  161. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/Core/Core.vcxproj.filters +0 -228
  162. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/ExprDebugger/ExprDebugger.vcxproj +0 -152
  163. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/ExprDebugger/ExprDebugger.vcxproj.filters +0 -25
  164. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSPipe/VSPipe.vcxproj +0 -179
  165. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSPipe/VSPipe.vcxproj.filters +0 -57
  166. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSScript/VSScript.vcxproj +0 -174
  167. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSScript/VSScript.vcxproj.filters +0 -39
  168. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSScriptPython38/VSScriptPython38.vcxproj +0 -173
  169. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSScriptPython38/VSScriptPython38.vcxproj.filters +0 -36
  170. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSVFW/VSVFW.vcxproj +0 -175
  171. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VSVFW/VSVFW.vcxproj.filters +0 -48
  172. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/msvc_project/VapourSynth.sln +0 -149
  173. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/pc/vapoursynth-script.pc.in +0 -14
  174. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/pc/vapoursynth.pc.in +0 -13
  175. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/python-requirements.txt +0 -6
  176. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/sdk/filter_skeleton.c +0 -58
  177. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/sdk/invert_example.c +0 -173
  178. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/sdk/vsscript_example.c +0 -117
  179. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/setup.py +0 -110
  180. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/assertive.cpp +0 -16
  181. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/assertive.h +0 -70
  182. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfs.cpp +0 -810
  183. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfs.h +0 -82
  184. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfs.rc +0 -45
  185. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfsavi2.cpp +0 -1715
  186. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfsincludes.h +0 -32
  187. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfspfm.cpp +0 -1653
  188. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfspfm.h +0 -64
  189. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/avfswav.cpp +0 -266
  190. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/files.cpp +0 -346
  191. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/files.h +0 -46
  192. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/pfmapi.h +0 -291
  193. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/pfmenum.h +0 -131
  194. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/pfmformatter.h +0 -54
  195. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/pfmmarshaller.h +0 -493
  196. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/pfmprefix.h +0 -46
  197. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/pfmprotocol.h +0 -552
  198. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/ptblob.h +0 -41
  199. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/ptfactory1.h +0 -221
  200. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/ptpin.h +0 -74
  201. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/include/ptpublic.h +0 -249
  202. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/ss.cpp +0 -156
  203. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/ss.h +0 -14
  204. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/videoinfoadapter.h +0 -203
  205. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/vsfs.cpp +0 -576
  206. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/vsfs.h +0 -70
  207. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avfs/xxfs.h +0 -53
  208. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avisynth.h +0 -1329
  209. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avisynth_compat.cpp +0 -1365
  210. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avisynth_compat.h +0 -231
  211. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avs/alignment.h +0 -134
  212. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avs/capi.h +0 -66
  213. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avs/config.h +0 -70
  214. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avs/cpuid.h +0 -80
  215. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avs/minmax.h +0 -54
  216. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avs/types.h +0 -57
  217. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/avs/win.h +0 -51
  218. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/avisynth/interface.cpp +0 -1077
  219. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/common/fourcc.cpp +0 -263
  220. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/common/fourcc.h +0 -40
  221. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/common/vsutf16.h +0 -43
  222. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/common/wave.cpp +0 -163
  223. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/common/wave.h +0 -82
  224. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/VapourSynth3.h +0 -281
  225. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/audiofilters.cpp +0 -1062
  226. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/averageframesfilter.cpp +0 -304
  227. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/boxblurfilter.cpp +0 -404
  228. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/cpufeatures.cpp +0 -121
  229. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/cpufeatures.h +0 -59
  230. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/expr/expr.cpp +0 -1536
  231. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/expr/expr.h +0 -110
  232. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/expr/jitasm.h +0 -9723
  233. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/expr/jitcompiler.cpp +0 -85
  234. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/expr/jitcompiler.h +0 -81
  235. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/expr/jitcompiler_x86.cpp +0 -1686
  236. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/expr/main.cpp +0 -85
  237. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/exprfilter.cpp +0 -373
  238. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/filtershared.h +0 -181
  239. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/filtersharedcpp.h +0 -146
  240. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/genericfilters.cpp +0 -1110
  241. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/internalfilters.h +0 -39
  242. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/intrusive_ptr.h +0 -90
  243. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/average.cpp +0 -89
  244. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/average.h +0 -28
  245. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/cpulevel.cpp +0 -57
  246. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/cpulevel.h +0 -51
  247. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/generic.cpp +0 -700
  248. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/generic.h +0 -173
  249. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/merge.c +0 -368
  250. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/merge.h +0 -130
  251. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/planestats.c +0 -174
  252. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/planestats.h +0 -83
  253. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/transpose.c +0 -58
  254. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/transpose.h +0 -181
  255. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/average_sse2.c +0 -282
  256. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/generic_avx2.cpp +0 -1239
  257. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/generic_sse2.cpp +0 -1265
  258. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/merge_avx2.c +0 -430
  259. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/merge_sse2.c +0 -441
  260. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/planestats_avx2.c +0 -361
  261. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/planestats_sse2.c +0 -349
  262. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/kernel/x86/transpose_sse2.c +0 -182
  263. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/lutfilters.cpp +0 -538
  264. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/memoryuse.cpp +0 -279
  265. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/memoryuse.h +0 -97
  266. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/mergefilters.cpp +0 -685
  267. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/reorderfilters.cpp +0 -710
  268. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/settings.cpp +0 -151
  269. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/settings.h +0 -6
  270. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/simplefilters.cpp +0 -2492
  271. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/ter-116n.h +0 -4804
  272. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/ter-116n.ofl.txt +0 -94
  273. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/textfilter.cpp +0 -765
  274. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/version.h +0 -54
  275. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/vsapi.cpp +0 -1311
  276. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/vscore.cpp +0 -2415
  277. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/vscore.h +0 -1125
  278. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/vslog.cpp +0 -100
  279. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/vslog.h +0 -42
  280. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/vsresize.cpp +0 -905
  281. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/vsthreadpool.cpp +0 -408
  282. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/core/x86utils.h +0 -25
  283. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/cython/vapoursynth.pxd +0 -390
  284. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/cython/vapoursynth.pyx +0 -3111
  285. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/cython/vsconstants.pxd +0 -83
  286. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/cython/vsscript.pxd +0 -25
  287. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/cython/vsscript_internal.pxd +0 -31
  288. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/vfw/vsvfw.cpp +0 -956
  289. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/vfw/vsvfw.def +0 -5
  290. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/vsscript/vsscript.cpp +0 -355
  291. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/src/vsscript/vsscript_internal.h +0 -35
  292. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/async_test.py +0 -106
  293. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/expr_compiler/compiler_test.py +0 -22
  294. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/expr_compiler/havs_exprs.txt +0 -29
  295. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/expr_compiler/muvs_exprs.txt +0 -40
  296. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/expr_compiler/reference_output.txt +0 -1062
  297. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/expr_test.py +0 -391
  298. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/filter_test.py +0 -24
  299. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/log_test.py +0 -21
  300. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/lut_test.py +0 -70
  301. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/prop_dict_test.py +0 -101
  302. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/test.py +0 -239
  303. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/weakref_test.py +0 -31
  304. vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/test/zimgtest.py +0 -49
  305. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/.github/workflows/linux.yml +0 -86
  306. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/.github/workflows/linux_arm64.yml +0 -67
  307. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/.github/workflows/windows.yml +0 -158
  308. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/.github/workflows/windows_arm64.yml +0 -69
  309. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/CMakeLists.txt +0 -193
  310. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/README.md +0 -22
  311. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/common/config.h.in +0 -1
  312. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/cpu_source/CMakeLists.txt +0 -133
  313. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/cpu_source/dfttest2_cpu.h +0 -62
  314. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/cuda_source/kernel.hpp +0 -202
  315. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/cuda_source/source.cpp +0 -1208
  316. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/dfttest2.py +0 -851
  317. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/gcc_source/CMakeLists.txt +0 -38
  318. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/gcc_source/dfttest2_cpu.h +0 -52
  319. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/hip_source/kernel.hpp +0 -198
  320. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/hip_source/source.cpp +0 -1135
  321. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/hiprtc_source/source.cpp +0 -993
  322. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/nvrtc_source/kernel.hpp +0 -278
  323. vapoursynth_dfttest2_cuda-11.dev2/vs-dfttest2/nvrtc_source/source.cpp +0 -1062
  324. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/.gitmodules +0 -0
  325. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/LICENSE +0 -0
  326. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/LICENSE +0 -0
  327. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/README.md +0 -0
  328. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/changelog.txt +0 -0
  329. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/dispatch_example1.cpp +0 -0
  330. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/dispatch_example2.cpp +0 -0
  331. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/instrset.h +0 -0
  332. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/instrset_detect.cpp +0 -0
  333. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vector_convert.h +0 -0
  334. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorclass.h +0 -0
  335. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf128.h +0 -0
  336. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf256.h +0 -0
  337. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf256e.h +0 -0
  338. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf512.h +0 -0
  339. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf512e.h +0 -0
  340. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori128.h +0 -0
  341. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori256.h +0 -0
  342. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori256e.h +0 -0
  343. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512.h +0 -0
  344. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512e.h +0 -0
  345. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512s.h +0 -0
  346. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512se.h +0 -0
  347. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_common.h +0 -0
  348. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_exp.h +0 -0
  349. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_hyp.h +0 -0
  350. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_lib.h +0 -0
  351. {vapoursynth_dfttest2_cuda-11.dev2 → vapoursynth_dfttest2_cuda-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_trig.h +0 -0
  352. /vapoursynth_dfttest2_cuda-11.dev2/vapoursynth/.gitmodules → /vapoursynth_dfttest2_cuda-11.1.0/vs-dfttest2/python/py.typed +0 -0
@@ -0,0 +1,140 @@
1
+ cmake_minimum_required(VERSION 3.22)
2
+
3
+ if(NOT DEFINED SKBUILD_PROJECT_VERSION)
4
+ set(SKBUILD_PROJECT_VERSION "0.0.0")
5
+ endif()
6
+
7
+ project(DFTTEST2_CUDA_Package VERSION "${SKBUILD_PROJECT_VERSION}" LANGUAGES CXX)
8
+
9
+ set(SRC_DFTTEST2_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vs-dfttest2")
10
+
11
+ # === C++ Standard & Options ===
12
+ set(CMAKE_CXX_STANDARD 20)
13
+ set(CMAKE_CXX_STANDARD_REQUIRED ON)
14
+ set(CMAKE_CXX_EXTENSIONS OFF)
15
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
16
+
17
+ # === VapourSynth Include Resolution ===
18
+ find_path(
19
+ VAPOURSYNTH_INCLUDE_DIR
20
+ NAMES VapourSynth4.h VapourSynth.h
21
+ HINTS
22
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../.venv/Lib/site-packages/vapoursynth/include"
23
+ "${CMAKE_CURRENT_SOURCE_DIR}/.venv/Lib/site-packages/vapoursynth/include"
24
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../vapoursynth/include"
25
+ "${CMAKE_CURRENT_SOURCE_DIR}/vapoursynth/include"
26
+ "${CMAKE_CURRENT_SOURCE_DIR}/vapoursynth"
27
+ "${CMAKE_CURRENT_SOURCE_DIR}/.venv/include"
28
+ "${CMAKE_CURRENT_SOURCE_DIR}/.venv/Lib/site-packages/vapoursynth"
29
+ PATH_SUFFIXES vapoursynth/include vapoursynth include
30
+ DOC "Path to VapourSynth headers"
31
+ )
32
+
33
+ if(VAPOURSYNTH_INCLUDE_DIR)
34
+ message(STATUS "Found VapourSynth headers: ${VAPOURSYNTH_INCLUDE_DIR}")
35
+ else()
36
+ message(FATAL_ERROR "VapourSynth headers not found. Ensure vapoursynth>=75 is installed.")
37
+ endif()
38
+
39
+ # === Dependencies ===
40
+ find_package(CUDAToolkit REQUIRED)
41
+
42
+ # === Fatbin Generation ===
43
+ find_program(NVCC_EXECUTABLE nvcc HINTS "${CUDAToolkit_BIN_DIR}")
44
+ if(NOT NVCC_EXECUTABLE)
45
+ message(FATAL_ERROR "nvcc executable not found in CUDA Toolkit bin directory.")
46
+ endif()
47
+
48
+ set(KERNELS_CU "${SRC_DFTTEST2_DIR}/cuda_source/kernels.cu")
49
+ set(FATBIN_OUT "${CMAKE_CURRENT_BINARY_DIR}/kernels.fatbin")
50
+ set(FATBIN_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kernels_fatbin.h")
51
+
52
+ find_package(Python3 COMPONENTS Interpreter REQUIRED)
53
+
54
+ add_custom_command(
55
+ OUTPUT "${FATBIN_HEADER}"
56
+ COMMAND "${NVCC_EXECUTABLE}"
57
+ -fatbin
58
+ -O3
59
+ --use_fast_math
60
+ --threads 0
61
+ -gencode arch=compute_75,code=sm_75
62
+ -gencode arch=compute_80,code=sm_80
63
+ -gencode arch=compute_86,code=sm_86
64
+ -gencode arch=compute_89,code=sm_89
65
+ -gencode arch=compute_90,code=sm_90
66
+ -gencode arch=compute_120,code=sm_120
67
+ -gencode arch=compute_75,code=compute_75
68
+ "${KERNELS_CU}"
69
+ -o "${FATBIN_OUT}"
70
+ COMMAND "${Python3_EXECUTABLE}"
71
+ "${CMAKE_CURRENT_SOURCE_DIR}/bin2c.py"
72
+ "${FATBIN_OUT}"
73
+ "${FATBIN_HEADER}"
74
+ "kernels_fatbin"
75
+ DEPENDS "${KERNELS_CU}"
76
+ COMMENT "Compiling AOT CUDA kernels to Fatbin and embedding header..."
77
+ )
78
+
79
+ add_custom_target(generate_kernels_fatbin DEPENDS "${FATBIN_HEADER}")
80
+
81
+ # === Target Definition & Configuration ===
82
+ add_library(dfttest2_cuda MODULE "${SRC_DFTTEST2_DIR}/cuda_source/source.cpp" "${SRC_DFTTEST2_DIR}/cuda_source/win32.cpp")
83
+ add_dependencies(dfttest2_cuda generate_kernels_fatbin)
84
+
85
+ target_include_directories(
86
+ dfttest2_cuda
87
+ PRIVATE "${VAPOURSYNTH_INCLUDE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}" "${SRC_DFTTEST2_DIR}"
88
+ )
89
+
90
+ if(NOT PROJECT_VERSION_MAJOR)
91
+ set(PROJECT_VERSION_MAJOR 1)
92
+ endif()
93
+ if(NOT PROJECT_VERSION_MINOR)
94
+ set(PROJECT_VERSION_MINOR 0)
95
+ endif()
96
+
97
+ target_compile_definitions(
98
+ dfttest2_cuda
99
+ PRIVATE
100
+ PLUGIN_VERSION_MAJOR=${PROJECT_VERSION_MAJOR}
101
+ PLUGIN_VERSION_MINOR=${PROJECT_VERSION_MINOR}
102
+ PLUGIN_VERSION_STRING="v${PROJECT_VERSION}"
103
+ )
104
+
105
+ target_link_libraries(dfttest2_cuda PRIVATE CUDA::cuda_driver CUDA::cufft)
106
+
107
+ if(MSVC)
108
+ target_link_options(dfttest2_cuda PRIVATE "delayimp.lib" "/DELAYLOAD:cufft64_12.dll")
109
+ endif()
110
+
111
+ # Hide static and internal symbols to avoid conflicts with dynamically loaded CUDA libraries
112
+ if(UNIX)
113
+ set_target_properties(dfttest2_cuda PROPERTIES CXX_VISIBILITY_PRESET hidden VISIBILITY_INLINES_HIDDEN ON)
114
+ set_target_properties(dfttest2_cuda PROPERTIES INSTALL_RPATH "$ORIGIN;$ORIGIN/../../../nvidia/cu13/lib")
115
+ endif()
116
+
117
+ add_custom_target(build_cuda ALL DEPENDS dfttest2_cuda)
118
+
119
+ # === Link Libraries Setup ===
120
+ if(UNIX)
121
+ execute_process(
122
+ COMMAND
123
+ ${CMAKE_COMMAND} -E create_symlink "${CUDAToolkit_LIBRARY_DIR}/stubs/libcuda.so"
124
+ "${CMAKE_CURRENT_BINARY_DIR}/libcuda.so.1"
125
+ )
126
+
127
+ target_link_directories(dfttest2_cuda PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
128
+ target_link_libraries(dfttest2_cuda PRIVATE :libcuda.so.1)
129
+ target_link_options(dfttest2_cuda PRIVATE "-Wl,--exclude-libs,ALL")
130
+ endif()
131
+
132
+ # === Packaging & Installation ===
133
+ install(TARGETS dfttest2_cuda LIBRARY DESTINATION .)
134
+
135
+ if(WIN32)
136
+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/manifest.vs" "[VapourSynth Manifest V1]\ndfttest2_cuda\n")
137
+ else()
138
+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/manifest.vs" "[VapourSynth Manifest V1]\nlibdfttest2_cuda\n")
139
+ endif()
140
+ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/manifest.vs" DESTINATION .)
@@ -1,26 +1,27 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vapoursynth-dfttest2_cuda
3
- Version: 11.dev2
3
+ Version: 11.1.0
4
4
  Summary: A VapourSynth re-implementation of DFTTest, using NVIDIA cuFFT for GPU acceleration.
5
5
  Author: WolframRhodium
6
- Maintainer-Email: =?utf-8?b?VmFyZMOr?= <ichunjo.le.terrible@gmail.com>
6
+ Maintainer-Email: Vardë <ichunjo.le.terrible@gmail.com>
7
7
  License-Expression: GPL-2.0-or-later
8
8
  License-File: vs-dfttest2/LICENSE
9
- Project-URL: Source Code, https://github.com/AmusementClub/vs-dfttest2
10
- Project-URL: Bug Tracker, https://github.com/AmusementClub/vs-dfttest2/issues
9
+ Project-URL: Source Code, https://github.com/Ichunjo/vs-dfttest2
10
+ Project-URL: Bug Tracker, https://github.com/Ichunjo/vs-dfttest2/issues
11
11
  Project-URL: Repository, https://github.com/Jaded-Encoding-Thaumaturgy/vs-wheels
12
12
  Requires-Python: >=3.12
13
13
  Requires-Dist: vapoursynth>=75
14
+ Requires-Dist: nvidia-cufft<13.0.0,>=12.0.0
14
15
  Description-Content-Type: text/markdown
15
16
 
16
17
  # VapourSynth-DFTTEST2_CUDA
17
18
 
18
- This package contains the CUDA implementation of the [vs-dfttest2](https://github.com/AmusementClub/vs-dfttest2) implemetation.
19
+ This package contains the CUDA implementation of the [vs-dfttest2](https://github.com/Ichunjo/vs-dfttest2) implementation.
19
20
 
20
21
  ## Installation
21
22
 
22
23
  ```bash
23
- pip install vapoursynth-dfttest2-cuda --extra-index-url https://jaded-encoding-thaumaturgy.github.io/vs-wheels/simple
24
+ pip install vapoursynth-dfttest2-cuda
24
25
  ```
25
26
 
26
27
  ## Building from source
@@ -35,24 +36,13 @@ Detailed parameter information from the parent project follows.
35
36
 
36
37
  ---
37
38
  # vs-dfttest2
38
- DFTTest re-implemetation (CUDA and x86)
39
+ DFTTest re-implementation (GPU and CPU)
39
40
 
40
41
  ## Usage
41
42
  ```python3
42
43
  from dfttest2 import DFTTest
44
+
43
45
  output = DFTTest(input)
44
46
  ```
45
47
 
46
48
  See also [VapourSynth-DFTTest](https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest)
47
-
48
- ## Compilation
49
- ```bash
50
- # additional options: -D ENABLE_CUDA=ON -D ENABLE_CPU=ON
51
- cmake -S . -B build
52
-
53
- cmake --build build
54
-
55
- cmake --install build
56
- ```
57
-
58
- If the vapoursynth library cannot be found by pkg-config, then the cmake variable `VS_INCLUDE_DIR` should be set.
@@ -1,11 +1,11 @@
1
1
  # VapourSynth-DFTTEST2_CUDA
2
2
 
3
- This package contains the CUDA implementation of the [vs-dfttest2](https://github.com/AmusementClub/vs-dfttest2) implemetation.
3
+ This package contains the CUDA implementation of the [vs-dfttest2](https://github.com/Ichunjo/vs-dfttest2) implementation.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- pip install vapoursynth-dfttest2-cuda --extra-index-url https://jaded-encoding-thaumaturgy.github.io/vs-wheels/simple
8
+ pip install vapoursynth-dfttest2-cuda
9
9
  ```
10
10
 
11
11
  ## Building from source
@@ -0,0 +1,29 @@
1
+ import sys
2
+ from pathlib import Path
3
+
4
+
5
+ def main() -> None:
6
+ if len(sys.argv) < 3:
7
+ print("Usage: python bin2c.py <input.bin> <output.h> [var_name]")
8
+ sys.exit(1)
9
+
10
+ bin_path = Path(sys.argv[1])
11
+ h_path = Path(sys.argv[2])
12
+ var_name = sys.argv[3] if len(sys.argv) > 3 else "kernels_fatbin"
13
+
14
+ data = bin_path.read_bytes()
15
+ h_path.parent.mkdir(parents=True, exist_ok=True)
16
+
17
+ with open(h_path, "w", encoding="ascii") as f:
18
+ f.write("#pragma once\n")
19
+ f.write("#include <stddef.h>\n\n")
20
+ f.write(f"static const unsigned char {var_name}[] = {{\n")
21
+ for i in range(0, len(data), 16):
22
+ chunk = data[i : i + 16]
23
+ hex_str = ", ".join(f"0x{b:02x}" for b in chunk)
24
+ f.write(f" {hex_str},\n")
25
+ f.write("};\n\n")
26
+ f.write(f"static const size_t {var_name}_size = sizeof({var_name});\n")
27
+
28
+ if __name__ == "__main__":
29
+ main()
@@ -1,9 +1,5 @@
1
1
  [build-system]
2
- requires = [
3
- "scikit-build-core>=0.12",
4
- "setuptools-scm",
5
- "ninja ; sys_platform != 'win32'",
6
- ]
2
+ requires = ["scikit-build-core>=1.0.3", "setuptools-scm>=10.2.1", "vapoursynth>=75"]
7
3
  build-backend = "scikit_build_core.build"
8
4
 
9
5
  [project]
@@ -15,21 +11,14 @@ license-files = ["vs-dfttest2/LICENSE"]
15
11
  requires-python = ">=3.12"
16
12
  authors = [{ name = "WolframRhodium" }]
17
13
  maintainers = [{ name = "Vardë", email = "ichunjo.le.terrible@gmail.com" }]
18
- dependencies = ["vapoursynth>=75"]
14
+ dependencies = ["vapoursynth>=75", "nvidia-cufft>=12.0.0,<13.0.0"]
19
15
 
20
16
  [project.urls]
21
- "Source Code" = "https://github.com/AmusementClub/vs-dfttest2"
22
- "Bug Tracker" = "https://github.com/AmusementClub/vs-dfttest2/issues"
17
+ "Source Code" = "https://github.com/Ichunjo/vs-dfttest2"
18
+ "Bug Tracker" = "https://github.com/Ichunjo/vs-dfttest2/issues"
23
19
  "Repository" = "https://github.com/Jaded-Encoding-Thaumaturgy/vs-wheels"
24
20
 
25
- [tool.setuptools_scm]
26
- root = "vs-dfttest2"
27
- local_scheme = "no-local-version"
28
- tag_regex = '^v(?P<version>\d+.*)$'
29
-
30
21
  [tool.scikit-build]
31
- metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
32
- metadata.readme.provider = "scikit_build_core.metadata.fancy_pypi_readme"
33
22
  wheel.exclude = ["*.lib"]
34
23
  wheel.install-dir = "vapoursynth/plugins/dfttest2_cuda"
35
24
  wheel.expand-macos-universal-tags = true
@@ -58,6 +47,17 @@ if.platform-machine = "^aarch64"
58
47
  inherit.cmake.define = "append"
59
48
  cmake.define.CMAKE_CXX_COMPILER = "clang++"
60
49
 
50
+ [[tool.dynamic-metadata]]
51
+ provider = "scikit_build_core.metadata.setuptools_scm"
52
+
53
+ [[tool.dynamic-metadata]]
54
+ provider = "scikit_build_core.metadata.fancy_pypi_readme"
55
+
56
+ [tool.setuptools_scm]
57
+ root = "vs-dfttest2"
58
+ local_scheme = "no-local-version"
59
+ tag_regex = '^v(?P<version>\d+.*)$'
60
+
61
61
  [tool.hatch.metadata.hooks.fancy-pypi-readme]
62
62
  content-type = "text/markdown"
63
63
  fragments = [{ path = "README.md" }, { path = "vs-dfttest2/README.md" }]
@@ -0,0 +1,27 @@
1
+ ---
2
+ BasedOnStyle: LLVM
3
+ IndentWidth: 4
4
+ TabWidth: 4
5
+ ContinuationIndentWidth: 4
6
+ ColumnLimit: 120
7
+
8
+ # Custom wrapping & alignment overrides
9
+ AlignAfterOpenBracket: BlockIndent
10
+ BinPackParameters: false
11
+ BinPackArguments: false
12
+ AllowShortFunctionsOnASingleLine: Inline
13
+ AllowAllParametersOfDeclarationOnNextLine: false
14
+ IncludeBlocks: Regroup
15
+ PointerAlignment: Left
16
+ ReferenceAlignment: Left
17
+ SortIncludes: CaseSensitive
18
+ IncludeCategories:
19
+ - Regex: '^<windows\.h>'
20
+ Priority: 1
21
+ - Regex: '^<delayimp\.h>'
22
+ Priority: 2
23
+ - Regex: '^<.*'
24
+ Priority: 3
25
+ - Regex: '.*'
26
+ Priority: 4
27
+ ...
@@ -0,0 +1,289 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py.cover
50
+ *.lcov
51
+ .hypothesis/
52
+ .pytest_cache/
53
+ cover/
54
+
55
+ # Translations
56
+ *.mo
57
+ *.pot
58
+
59
+ # Django stuff:
60
+ *.log
61
+ local_settings.py
62
+ db.sqlite3
63
+ db.sqlite3-journal
64
+
65
+ # Flask stuff:
66
+ instance/
67
+ .webassets-cache
68
+
69
+ # Scrapy stuff:
70
+ .scrapy
71
+
72
+ # Sphinx documentation
73
+ docs/_build/
74
+
75
+ # PyBuilder
76
+ .pybuilder/
77
+ target/
78
+
79
+ # Jupyter Notebook
80
+ .ipynb_checkpoints
81
+
82
+ # IPython
83
+ profile_default/
84
+ ipython_config.py
85
+
86
+ # pyenv
87
+ # For a library or package, you might want to ignore these files since the code is
88
+ # intended to run in multiple environments; otherwise, check them in:
89
+ # .python-version
90
+
91
+ # pipenv
92
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
93
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
94
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
95
+ # install all needed dependencies.
96
+ # Pipfile.lock
97
+
98
+ # UV
99
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
100
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
101
+ # commonly ignored for libraries.
102
+ # uv.lock
103
+
104
+ # poetry
105
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
109
+ # poetry.lock
110
+ # poetry.toml
111
+
112
+ # pdm
113
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
114
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
115
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
116
+ # pdm.lock
117
+ # pdm.toml
118
+ .pdm-python
119
+ .pdm-build/
120
+
121
+ # pixi
122
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
123
+ # pixi.lock
124
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
125
+ # in the .venv directory. It is recommended not to include this directory in version control.
126
+ .pixi/*
127
+ !.pixi/config.toml
128
+
129
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130
+ __pypackages__/
131
+
132
+ # Celery stuff
133
+ celerybeat-schedule*
134
+ celerybeat.pid
135
+
136
+ # Redis
137
+ *.rdb
138
+ *.aof
139
+ *.pid
140
+
141
+ # RabbitMQ
142
+ mnesia/
143
+ rabbitmq/
144
+ rabbitmq-data/
145
+
146
+ # ActiveMQ
147
+ activemq-data/
148
+
149
+ # SageMath parsed files
150
+ *.sage.py
151
+
152
+ # Environments
153
+ .env
154
+ .envrc
155
+ .venv
156
+ env/
157
+ venv/
158
+ ENV/
159
+ env.bak/
160
+ venv.bak/
161
+
162
+ # Spyder project settings
163
+ .spyderproject
164
+ .spyproject
165
+
166
+ # Rope project settings
167
+ .ropeproject
168
+
169
+ # mkdocs documentation
170
+ /site
171
+
172
+ # mypy
173
+ .mypy_cache/
174
+ .dmypy.json
175
+ dmypy.json
176
+
177
+ # Pyre type checker
178
+ .pyre/
179
+
180
+ # pytype static type analyzer
181
+ .pytype/
182
+
183
+ # Cython debug symbols
184
+ cython_debug/
185
+
186
+ # PyCharm
187
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
188
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
189
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
190
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
191
+ # .idea/
192
+
193
+ # Abstra
194
+ # Abstra is an AI-powered process automation framework.
195
+ # Ignore directories containing user credentials, local state, and settings.
196
+ # Learn more at https://abstra.io/docs
197
+ .abstra/
198
+
199
+ # Visual Studio Code
200
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that
201
+ # can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
202
+ # and can be added to the global gitignore or merged into this file. However, if you prefer, you
203
+ # could uncomment the following to ignore the entire vscode folder
204
+ # .vscode/
205
+ # Temporary file for partial code execution
206
+ tempCodeRunnerFile.py
207
+
208
+ # Ruff stuff:
209
+ .ruff_cache/
210
+
211
+ # PyPI configuration file
212
+ .pypirc
213
+
214
+ # Marimo
215
+ marimo/_static/
216
+ marimo/_lsp/
217
+ __marimo__/
218
+
219
+ # Streamlit
220
+ .streamlit/secrets.toml
221
+
222
+ # Prerequisites
223
+ *.d
224
+
225
+ # Compiled Object files
226
+ *.slo
227
+ *.lo
228
+ *.o
229
+ *.obj
230
+
231
+ # Precompiled Headers
232
+ *.gch
233
+ *.pch
234
+
235
+ # Linker files
236
+ *.ilk
237
+
238
+ # Debugger Files
239
+ *.pdb
240
+
241
+ # Compiled Dynamic libraries
242
+ *.so
243
+ *.dylib
244
+ *.dll
245
+ *.so.*
246
+
247
+ # Fortran module files
248
+ *.mod
249
+ *.smod
250
+
251
+ # Compiled Static libraries
252
+ *.lai
253
+ *.la
254
+ *.a
255
+ *.lib
256
+
257
+ # Executables
258
+ *.exe
259
+ *.out
260
+ *.app
261
+
262
+ # Build directories
263
+ build/
264
+ Build/
265
+ build-*/
266
+
267
+ # CMake generated files
268
+ CMakeFiles/
269
+ CMakeCache.txt
270
+ cmake_install.cmake
271
+ Makefile
272
+ install_manifest.txt
273
+ compile_commands.json
274
+
275
+ # Temporary files
276
+ *.tmp
277
+ *.log
278
+ *.bak
279
+ *.swp
280
+
281
+ # vcpkg
282
+ vcpkg_installed/
283
+
284
+ # debug information files
285
+ *.dwo
286
+
287
+ # test output & cache
288
+ Testing/
289
+ .cache/
@@ -0,0 +1,11 @@
1
+ # vs-dfttest2
2
+ DFTTest re-implementation (GPU and CPU)
3
+
4
+ ## Usage
5
+ ```python3
6
+ from dfttest2 import DFTTest
7
+
8
+ output = DFTTest(input)
9
+ ```
10
+
11
+ See also [VapourSynth-DFTTest](https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest)
@@ -3,7 +3,7 @@
3
3
  #ifndef CPU_DISPATCH_H
4
4
  #define CPU_DISPATCH_H
5
5
 
6
- #include <VapourSynth.h>
6
+ #include <VapourSynth4.h>
7
7
 
8
8
  @GETFRAME_DECLARATIONS@
9
9
 
@@ -0,0 +1,62 @@
1
+ #ifndef DFTTEST2_CPU_H
2
+ #define DFTTEST2_CPU_H
3
+
4
+ #include <VSHelper4.h>
5
+ #include <VapourSynth4.h>
6
+ #include <array>
7
+ #include <atomic>
8
+ #include <cstdint>
9
+ #include <memory>
10
+ #include <shared_mutex>
11
+ #include <thread>
12
+ #include <unordered_map>
13
+ #include <vectorclass.h>
14
+
15
+ static inline void vs_aligned_free_float(float* ptr) {
16
+ vsh::vsh_aligned_free(static_cast<void*>(ptr));
17
+ }
18
+
19
+ struct DFTTestThreadData {
20
+ uint8_t* padded; // shape: (pad_height, pad_width)
21
+ float* padded2; // shape: (pad_height, pad_width)
22
+ };
23
+
24
+ struct DFTTestData {
25
+ VSNode* node;
26
+ int radius;
27
+ int block_size;
28
+ int block_step;
29
+ std::array<bool, 3> process;
30
+ bool zero_mean;
31
+ std::unique_ptr<float[], decltype(&vs_aligned_free_float)> window{nullptr, &vs_aligned_free_float};
32
+ std::unique_ptr<float[], decltype(&vs_aligned_free_float)> window_freq{nullptr, &vs_aligned_free_float};
33
+ std::unique_ptr<float[], decltype(&vs_aligned_free_float)> sigma{nullptr, &vs_aligned_free_float};
34
+ int filter_type;
35
+ float sigma2;
36
+ float pmin;
37
+ float pmax;
38
+
39
+ std::atomic<int> num_uninitialized_threads;
40
+ std::unordered_map<std::thread::id, DFTTestThreadData> thread_data;
41
+ std::shared_mutex thread_data_lock;
42
+ };
43
+
44
+ #if defined HAS_DISPATCH
45
+ #include <cpu_dispatch.h>
46
+ #else // HAS_DISPATCH
47
+ extern const VSFrame* VS_CC DFTTestGetFrame(
48
+ int n,
49
+ int activationReason,
50
+ void* instanceData,
51
+ void** frameData,
52
+ VSFrameContext* frameCtx,
53
+ VSCore* core,
54
+ const VSAPI* vsapi
55
+ ) noexcept;
56
+
57
+ extern bool supported_arch() noexcept;
58
+
59
+ extern const char* target_arch() noexcept;
60
+ #endif // HAS_DISPATCH
61
+
62
+ #endif // DFTTEST2_CPU_H