vapoursynth-dfttest2-hip 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.
- vapoursynth_dfttest2_hip-11.1.0/CMakeLists.txt +119 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/PKG-INFO +7 -18
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/README.md +1 -1
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/pyproject.toml +16 -16
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/.clang-format +27 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/.gitignore +289 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/README.md +11 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/cpu_dispatch.h.in +1 -1
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/cpu_source/dfttest2_cpu.h +62 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/getframe_impl.cpp +121 -130
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/kernel.hpp +79 -90
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/source.cpp +111 -136
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/cuda_source/kernels.cu +406 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/cuda_source/source.cpp +1136 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cuda_source/win32.cpp +33 -13
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/gcc_source/dfttest2_cpu.h +53 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/gcc_source/getframe_impl.cpp +126 -141
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/gcc_source/kernel.hpp +87 -106
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/gcc_source/source.cpp +91 -121
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/hip_source/kernel.hpp +386 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/hip_source/source.cpp +1154 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/hiprtc_source/dft_kernels.hpp +28 -16
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/hiprtc_source/kernel.hpp +95 -42
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/hiprtc_source/source.cpp +1059 -0
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/nvrtc_source/dft_kernels.hpp → vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/nvrtc_source/dft_codelets.cuh +24 -69
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/nvrtc_source/kernels.cu +411 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/nvrtc_source/source.cpp +985 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/python/__init__.py +4 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/python/backends.py +63 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/python/dfttest2.py +452 -0
- vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/python/helpers.py +109 -0
- vapoursynth_dfttest2_hip-11.dev2/CMakeLists.txt +0 -65
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/.codespellignore +0 -6
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/.github/workflows/codespell.yml +0 -15
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/.github/workflows/linux.yml +0 -77
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/.github/workflows/macos.yml +0 -63
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/.github/workflows/windows.yml +0 -100
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/.gitignore +0 -49
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/APIV4 changes.txt +0 -110
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/COPYING.LESSER +0 -502
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/ChangeLog +0 -769
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/MANIFEST.in +0 -9
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/Makefile.am +0 -162
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/README.md +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/autogen.sh +0 -3
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/configure.ac +0 -371
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/cython_build.bat +0 -12
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/api/vapoursynth.h.rst +0 -2635
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/api/vshelper.h.rst +0 -204
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/api/vsscript.h.rst +0 -330
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/apireference.rst +0 -118
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/applications.rst +0 -25
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/conf.py +0 -252
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/custom/css/custom.css +0 -19
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/assumesamplerate.rst +0 -5
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/audiogain.rst +0 -12
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/audioloop.rst +0 -11
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/audiomix.rst +0 -38
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/audioreverse.rst +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/audiosplice.rst +0 -12
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/audiotrim.rst +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/blankaudio.rst +0 -20
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/setaudiocache.rst +0 -7
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/shufflechannels.rst +0 -48
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/audio/splitchannels.rst +0 -8
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/general/loadallplugins.rst +0 -19
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/general/loadplugin.rst +0 -26
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/general/loadpluginavs.rst +0 -44
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/general/setmaxcpu.rst +0 -14
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/addborders.rst +0 -9
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/assumefps.rst +0 -16
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/averageframes.rst +0 -21
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/binarize_binarizemask.rst +0 -34
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/blankclip.rst +0 -18
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/boxblur.rst +0 -8
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/cliptoprop.rst +0 -15
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/convolution.rst +0 -84
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/copyframeprops.rst +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/crop_cropabs.rst +0 -20
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/deflate_inflate.rst +0 -44
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/deleteframes.rst +0 -11
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/doubleweave.rst +0 -23
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/duplicateframes.rst +0 -11
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/expr.rst +0 -118
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/flipvertical_fliphorizontal.rst +0 -8
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/frameeval.rst +0 -77
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/freezeframes.rst +0 -18
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/interleave.rst +0 -19
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/invert_invertmask.rst +0 -21
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/levels.rst +0 -39
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/limiter.rst +0 -23
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/loop.rst +0 -11
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/lut.rst +0 -39
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/lut2.rst +0 -40
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/makediff.rst +0 -15
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/maskedmerge.rst +0 -35
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/median.rst +0 -19
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/merge.rst +0 -29
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/mergediff.rst +0 -15
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/minimum_maximum.rst +0 -69
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/modifyframe.rst +0 -49
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/pemverifier.rst +0 -14
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/planestats.rst +0 -15
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/premultiply.rst +0 -14
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/prewitt_sobel.rst +0 -26
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/proptoclip.rst +0 -12
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/removeframeprops.rst +0 -9
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/resize.rst +0 -278
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/reverse.rst +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/selectevery.rst +0 -31
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/separatefields.rst +0 -20
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/setfieldbased.rst +0 -25
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/setframeprop.rst +0 -20
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/setframeprops.rst +0 -13
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/setvideocache.rst +0 -27
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/shuffleplanes.rst +0 -48
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/splice.rst +0 -12
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/splitplanes.rst +0 -8
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/stackvertical_stackhorizontal.rst +0 -12
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/text/clipinfo.rst +0 -9
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/text/coreinfo.rst +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/text/framenum.rst +0 -9
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/text/frameprops.rst +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/text/text.rst +0 -23
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/transpose.rst +0 -18
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/trim.rst +0 -17
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions/video/turn180.rst +0 -7
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/functions.rst +0 -38
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/gettingstarted.rst +0 -42
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/index.rst +0 -23
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/installation.rst +0 -334
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/introduction.rst +0 -36
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/make.bat +0 -190
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/output.rst +0 -125
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/doc/pythonreference.rst +0 -1035
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/docs_build.bat +0 -4
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/VSConstants4.h +0 -93
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/VSHelper.h +0 -174
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/VSHelper4.h +0 -224
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/VSScript.h +0 -85
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/VSScript4.h +0 -97
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/VapourSynth.h +0 -359
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/VapourSynth4.h +0 -484
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/cython/vapoursynth.h +0 -52
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/include/cython/vapoursynth_api.h +0 -144
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/CodeDependencies.iss +0 -755
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/MANIFEST.in +0 -2
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/make installers.bat +0 -2
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/make portable.bat +0 -106
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/setup.py +0 -93
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/template.vpy +0 -1
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/vs-detect-python.bat +0 -10
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/installer/vsinstaller.iss +0 -523
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/m4/ax_pthread.m4 +0 -507
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/AVFS/AVFS.vcxproj +0 -208
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/AVFS/AVFS.vcxproj.filters +0 -101
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/AvsCompat/AvsCompat.vcxproj +0 -183
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/AvsCompat/AvsCompat.vcxproj.filters +0 -42
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/Core/Core.vcxproj +0 -275
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/Core/Core.vcxproj.filters +0 -228
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/ExprDebugger/ExprDebugger.vcxproj +0 -152
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/ExprDebugger/ExprDebugger.vcxproj.filters +0 -25
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSPipe/VSPipe.vcxproj +0 -179
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSPipe/VSPipe.vcxproj.filters +0 -57
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSScript/VSScript.vcxproj +0 -174
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSScript/VSScript.vcxproj.filters +0 -39
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSScriptPython38/VSScriptPython38.vcxproj +0 -173
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSScriptPython38/VSScriptPython38.vcxproj.filters +0 -36
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSVFW/VSVFW.vcxproj +0 -175
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VSVFW/VSVFW.vcxproj.filters +0 -48
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/msvc_project/VapourSynth.sln +0 -149
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/pc/vapoursynth-script.pc.in +0 -14
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/pc/vapoursynth.pc.in +0 -13
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/python-requirements.txt +0 -6
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/sdk/filter_skeleton.c +0 -58
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/sdk/invert_example.c +0 -173
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/sdk/vsscript_example.c +0 -117
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/setup.py +0 -110
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/assertive.cpp +0 -16
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/assertive.h +0 -70
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfs.cpp +0 -810
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfs.h +0 -82
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfs.rc +0 -45
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfsavi2.cpp +0 -1715
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfsincludes.h +0 -32
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfspfm.cpp +0 -1653
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfspfm.h +0 -64
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/avfswav.cpp +0 -266
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/files.cpp +0 -346
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/files.h +0 -46
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/pfmapi.h +0 -291
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/pfmenum.h +0 -131
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/pfmformatter.h +0 -54
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/pfmmarshaller.h +0 -493
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/pfmprefix.h +0 -46
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/pfmprotocol.h +0 -552
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/ptblob.h +0 -41
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/ptfactory1.h +0 -221
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/ptpin.h +0 -74
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/include/ptpublic.h +0 -249
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/ss.cpp +0 -156
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/ss.h +0 -14
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/videoinfoadapter.h +0 -203
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/vsfs.cpp +0 -576
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/vsfs.h +0 -70
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avfs/xxfs.h +0 -53
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avisynth.h +0 -1329
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avisynth_compat.cpp +0 -1365
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avisynth_compat.h +0 -231
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avs/alignment.h +0 -134
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avs/capi.h +0 -66
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avs/config.h +0 -70
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avs/cpuid.h +0 -80
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avs/minmax.h +0 -54
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avs/types.h +0 -57
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/avs/win.h +0 -51
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/avisynth/interface.cpp +0 -1077
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/common/fourcc.cpp +0 -263
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/common/fourcc.h +0 -40
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/common/vsutf16.h +0 -43
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/common/wave.cpp +0 -163
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/common/wave.h +0 -82
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/VapourSynth3.h +0 -281
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/audiofilters.cpp +0 -1062
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/averageframesfilter.cpp +0 -304
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/boxblurfilter.cpp +0 -404
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/cpufeatures.cpp +0 -121
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/cpufeatures.h +0 -59
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/expr/expr.cpp +0 -1536
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/expr/expr.h +0 -110
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/expr/jitasm.h +0 -9723
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/expr/jitcompiler.cpp +0 -85
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/expr/jitcompiler.h +0 -81
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/expr/jitcompiler_x86.cpp +0 -1686
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/expr/main.cpp +0 -85
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/exprfilter.cpp +0 -373
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/filtershared.h +0 -181
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/filtersharedcpp.h +0 -146
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/genericfilters.cpp +0 -1110
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/internalfilters.h +0 -39
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/intrusive_ptr.h +0 -90
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/average.cpp +0 -89
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/average.h +0 -28
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/cpulevel.cpp +0 -57
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/cpulevel.h +0 -51
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/generic.cpp +0 -700
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/generic.h +0 -173
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/merge.c +0 -368
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/merge.h +0 -130
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/planestats.c +0 -174
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/planestats.h +0 -83
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/transpose.c +0 -58
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/transpose.h +0 -181
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/average_sse2.c +0 -282
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/generic_avx2.cpp +0 -1239
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/generic_sse2.cpp +0 -1265
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/merge_avx2.c +0 -430
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/merge_sse2.c +0 -441
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/planestats_avx2.c +0 -361
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/planestats_sse2.c +0 -349
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/kernel/x86/transpose_sse2.c +0 -182
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/lutfilters.cpp +0 -538
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/memoryuse.cpp +0 -279
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/memoryuse.h +0 -97
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/mergefilters.cpp +0 -685
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/reorderfilters.cpp +0 -710
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/settings.cpp +0 -151
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/settings.h +0 -6
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/simplefilters.cpp +0 -2492
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/ter-116n.h +0 -4804
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/ter-116n.ofl.txt +0 -94
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/textfilter.cpp +0 -765
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/version.h +0 -54
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/vsapi.cpp +0 -1311
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/vscore.cpp +0 -2415
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/vscore.h +0 -1125
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/vslog.cpp +0 -100
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/vslog.h +0 -42
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/vsresize.cpp +0 -905
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/vsthreadpool.cpp +0 -408
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/core/x86utils.h +0 -25
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/cython/vapoursynth.pxd +0 -390
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/cython/vapoursynth.pyx +0 -3111
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/cython/vsconstants.pxd +0 -83
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/cython/vsscript.pxd +0 -25
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/cython/vsscript_internal.pxd +0 -31
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/vfw/vsvfw.cpp +0 -956
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/vfw/vsvfw.def +0 -5
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/vsscript/vsscript.cpp +0 -355
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/src/vsscript/vsscript_internal.h +0 -35
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/async_test.py +0 -106
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/expr_compiler/compiler_test.py +0 -22
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/expr_compiler/havs_exprs.txt +0 -29
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/expr_compiler/muvs_exprs.txt +0 -40
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/expr_compiler/reference_output.txt +0 -1062
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/expr_test.py +0 -391
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/filter_test.py +0 -24
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/log_test.py +0 -21
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/lut_test.py +0 -70
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/prop_dict_test.py +0 -101
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/test.py +0 -239
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/weakref_test.py +0 -31
- vapoursynth_dfttest2_hip-11.dev2/vapoursynth/test/zimgtest.py +0 -49
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/.github/workflows/linux.yml +0 -86
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/.github/workflows/linux_arm64.yml +0 -67
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/.github/workflows/windows.yml +0 -158
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/.github/workflows/windows_arm64.yml +0 -69
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/CMakeLists.txt +0 -193
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/README.md +0 -22
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/common/config.h.in +0 -1
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/cpu_source/CMakeLists.txt +0 -133
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/cpu_source/dfttest2_cpu.h +0 -62
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/cuda_source/kernel.hpp +0 -202
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/cuda_source/source.cpp +0 -1208
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/dfttest2.py +0 -851
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/gcc_source/CMakeLists.txt +0 -38
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/gcc_source/dfttest2_cpu.h +0 -52
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/hip_source/kernel.hpp +0 -198
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/hip_source/source.cpp +0 -1135
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/hiprtc_source/source.cpp +0 -993
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/nvrtc_source/kernel.hpp +0 -278
- vapoursynth_dfttest2_hip-11.dev2/vs-dfttest2/nvrtc_source/source.cpp +0 -1062
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/.gitmodules +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/LICENSE +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/LICENSE +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/README.md +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/changelog.txt +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/dispatch_example1.cpp +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/dispatch_example2.cpp +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/instrset.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/instrset_detect.cpp +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vector_convert.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorclass.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf128.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf256.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf256e.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf512.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectorf512e.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori128.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori256.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori256e.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512e.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512s.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectori512se.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_common.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_exp.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_hyp.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_lib.h +0 -0
- {vapoursynth_dfttest2_hip-11.dev2 → vapoursynth_dfttest2_hip-11.1.0}/vs-dfttest2/cpu_source/vectorclass/vectormath_trig.h +0 -0
- /vapoursynth_dfttest2_hip-11.dev2/vapoursynth/.gitmodules → /vapoursynth_dfttest2_hip-11.1.0/vs-dfttest2/python/py.typed +0 -0
|
@@ -0,0 +1,119 @@
|
|
|
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_HIP_Package VERSION "${SKBUILD_PROJECT_VERSION}" LANGUAGES CXX)
|
|
8
|
+
|
|
9
|
+
set(CMAKE_CXX_STANDARD 20)
|
|
10
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
11
|
+
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
12
|
+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
|
13
|
+
|
|
14
|
+
# === VapourSynth Include Resolution ===
|
|
15
|
+
find_path(
|
|
16
|
+
VAPOURSYNTH_INCLUDE_DIR
|
|
17
|
+
NAMES VapourSynth4.h VapourSynth.h
|
|
18
|
+
HINTS
|
|
19
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/../../.venv/Lib/site-packages/vapoursynth/include"
|
|
20
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/.venv/Lib/site-packages/vapoursynth/include"
|
|
21
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/../../vapoursynth/include"
|
|
22
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/vapoursynth/include"
|
|
23
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/vapoursynth"
|
|
24
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/.venv/include"
|
|
25
|
+
"${CMAKE_CURRENT_SOURCE_DIR}/.venv/Lib/site-packages/vapoursynth"
|
|
26
|
+
PATH_SUFFIXES vapoursynth/include vapoursynth include
|
|
27
|
+
DOC "Path to VapourSynth headers"
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
if(VAPOURSYNTH_INCLUDE_DIR)
|
|
31
|
+
message(STATUS "Found VapourSynth headers: ${VAPOURSYNTH_INCLUDE_DIR}")
|
|
32
|
+
else()
|
|
33
|
+
message(FATAL_ERROR "VapourSynth headers not found. Ensure vapoursynth>=75 is installed.")
|
|
34
|
+
endif()
|
|
35
|
+
|
|
36
|
+
find_package(hip REQUIRED config)
|
|
37
|
+
find_package(hipfft REQUIRED config)
|
|
38
|
+
find_package(hiprtc REQUIRED config)
|
|
39
|
+
|
|
40
|
+
set(SRC_DFTTEST2_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vs-dfttest2")
|
|
41
|
+
|
|
42
|
+
add_library(dfttest2_hip MODULE "${SRC_DFTTEST2_DIR}/hip_source/source.cpp")
|
|
43
|
+
|
|
44
|
+
set_target_properties(
|
|
45
|
+
dfttest2_hip
|
|
46
|
+
PROPERTIES CXX_EXTENSIONS OFF CXX_STANDARD 20 CXX_STANDARD_REQUIRED ON POSITION_INDEPENDENT_CODE ON
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
target_include_directories(
|
|
50
|
+
dfttest2_hip
|
|
51
|
+
PRIVATE "${VAPOURSYNTH_INCLUDE_DIR}" "${SRC_DFTTEST2_DIR}" "${CMAKE_CURRENT_BINARY_DIR}"
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
if(NOT PROJECT_VERSION_MAJOR)
|
|
55
|
+
set(PROJECT_VERSION_MAJOR 1)
|
|
56
|
+
endif()
|
|
57
|
+
if(NOT PROJECT_VERSION_MINOR)
|
|
58
|
+
set(PROJECT_VERSION_MINOR 0)
|
|
59
|
+
endif()
|
|
60
|
+
|
|
61
|
+
target_compile_definitions(
|
|
62
|
+
dfttest2_hip
|
|
63
|
+
PRIVATE
|
|
64
|
+
PLUGIN_VERSION_MAJOR=${PROJECT_VERSION_MAJOR}
|
|
65
|
+
PLUGIN_VERSION_MINOR=${PROJECT_VERSION_MINOR}
|
|
66
|
+
PLUGIN_VERSION_STRING="v${PROJECT_VERSION}"
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
target_link_libraries(dfttest2_hip PRIVATE hip::host hip::hipfft hiprtc::hiprtc)
|
|
70
|
+
|
|
71
|
+
add_custom_target(build_hip ALL DEPENDS dfttest2_hip)
|
|
72
|
+
|
|
73
|
+
# === Packaging & Installation ===
|
|
74
|
+
if(WIN32)
|
|
75
|
+
file(TO_CMAKE_PATH "$ENV{HIP_PATH}" HIP_ROOT_DIR)
|
|
76
|
+
if(NOT HIP_ROOT_DIR)
|
|
77
|
+
file(TO_CMAKE_PATH "$ENV{ROCM_PATH}" HIP_ROOT_DIR)
|
|
78
|
+
endif()
|
|
79
|
+
|
|
80
|
+
if(HIP_ROOT_DIR)
|
|
81
|
+
set(HIP_BIN_DIR "${HIP_ROOT_DIR}/bin")
|
|
82
|
+
|
|
83
|
+
file(
|
|
84
|
+
GLOB HIP_DLLS
|
|
85
|
+
"${HIP_BIN_DIR}/amdhip64_*.dll"
|
|
86
|
+
"${HIP_BIN_DIR}/amd_comgr[0-9]*.dll"
|
|
87
|
+
"${HIP_BIN_DIR}/amd_comgr.dll"
|
|
88
|
+
"${HIP_BIN_DIR}/hipfft.dll"
|
|
89
|
+
"${HIP_BIN_DIR}/hiprtc[0-9]*.dll"
|
|
90
|
+
"${HIP_BIN_DIR}/hiprtc-builtins*.dll"
|
|
91
|
+
"${HIP_BIN_DIR}/rocfft.dll"
|
|
92
|
+
"${HIP_BIN_DIR}/rocm_kpack.dll"
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
if(HIP_DLLS)
|
|
96
|
+
message(STATUS "Found HIP/ROCm DLLs: ${HIP_DLLS}")
|
|
97
|
+
install(FILES ${HIP_DLLS} DESTINATION .)
|
|
98
|
+
|
|
99
|
+
add_custom_command(
|
|
100
|
+
TARGET build_hip
|
|
101
|
+
POST_BUILD
|
|
102
|
+
COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:dfttest2_hip>
|
|
103
|
+
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${HIP_DLLS} $<TARGET_FILE_DIR:dfttest2_hip>
|
|
104
|
+
COMMENT "Copying HIP/ROCm DLLs"
|
|
105
|
+
)
|
|
106
|
+
else()
|
|
107
|
+
message(WARNING "No HIP/ROCm DLLs found in ${HIP_BIN_DIR}")
|
|
108
|
+
endif()
|
|
109
|
+
endif()
|
|
110
|
+
endif()
|
|
111
|
+
|
|
112
|
+
install(TARGETS dfttest2_hip LIBRARY DESTINATION .)
|
|
113
|
+
|
|
114
|
+
if(WIN32)
|
|
115
|
+
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/manifest.vs" "[VapourSynth Manifest V1]\ndfttest2_hip\n")
|
|
116
|
+
else()
|
|
117
|
+
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/manifest.vs" "[VapourSynth Manifest V1]\nlibdfttest2_hip\n")
|
|
118
|
+
endif()
|
|
119
|
+
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/manifest.vs" DESTINATION .)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vapoursynth-dfttest2_hip
|
|
3
|
-
Version: 11.
|
|
3
|
+
Version: 11.1.0
|
|
4
4
|
Summary: A VapourSynth re-implementation of DFTTest, using AMD hipFFT for GPU acceleration.
|
|
5
5
|
Author: WolframRhodium
|
|
6
|
-
Maintainer-Email:
|
|
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/
|
|
10
|
-
Project-URL: Bug Tracker, https://github.com/
|
|
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
|
|
@@ -15,7 +15,7 @@ Description-Content-Type: text/markdown
|
|
|
15
15
|
|
|
16
16
|
# VapourSynth-DFTTEST2_HIP
|
|
17
17
|
|
|
18
|
-
This package contains the HIP implementation of the [vs-dfttest2](https://github.com/
|
|
18
|
+
This package contains the HIP implementation of the [vs-dfttest2](https://github.com/Ichunjo/vs-dfttest2) implementation.
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
21
21
|
|
|
@@ -35,24 +35,13 @@ Detailed parameter information from the parent project follows.
|
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
# vs-dfttest2
|
|
38
|
-
DFTTest re-
|
|
38
|
+
DFTTest re-implementation (GPU and CPU)
|
|
39
39
|
|
|
40
40
|
## Usage
|
|
41
41
|
```python3
|
|
42
42
|
from dfttest2 import DFTTest
|
|
43
|
+
|
|
43
44
|
output = DFTTest(input)
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
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,6 +1,6 @@
|
|
|
1
1
|
# VapourSynth-DFTTEST2_HIP
|
|
2
2
|
|
|
3
|
-
This package contains the HIP implementation of the [vs-dfttest2](https://github.com/
|
|
3
|
+
This package contains the HIP implementation of the [vs-dfttest2](https://github.com/Ichunjo/vs-dfttest2) implementation.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -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]
|
|
@@ -18,18 +14,11 @@ maintainers = [{ name = "Vardë", email = "ichunjo.le.terrible@gmail.com" }]
|
|
|
18
14
|
dependencies = ["vapoursynth>=75"]
|
|
19
15
|
|
|
20
16
|
[project.urls]
|
|
21
|
-
"Source Code" = "https://github.com/
|
|
22
|
-
"Bug Tracker" = "https://github.com/
|
|
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_hip"
|
|
35
24
|
wheel.expand-macos-universal-tags = true
|
|
@@ -47,12 +36,23 @@ if.platform-system = "^win32"
|
|
|
47
36
|
inherit.cmake.define = "append"
|
|
48
37
|
cmake.define.CMAKE_MSVC_RUNTIME_LIBRARY = "MultiThreaded"
|
|
49
38
|
cmake.define.HIP_PLATFORM = "amd"
|
|
50
|
-
cmake.define.GPU_TARGETS = "gfx1030;gfx1031;gfx1032;gfx1100;gfx1101;gfx1102;gfx1151;gfx1200;gfx1201"
|
|
39
|
+
cmake.define.GPU_TARGETS = "gfx1010;gfx1011;gfx1012;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201"
|
|
51
40
|
|
|
52
41
|
[[tool.scikit-build.overrides]]
|
|
53
42
|
if.platform-system = "^linux"
|
|
54
43
|
inherit.cmake.define = "append"
|
|
55
|
-
cmake.define.GPU_TARGETS = "gfx1010;gfx1011;gfx1012;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1200;gfx1201"
|
|
44
|
+
cmake.define.GPU_TARGETS = "gfx1010;gfx1011;gfx1012;gfx1030;gfx1031;gfx1032;gfx1033;gfx1034;gfx1035;gfx1036;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201"
|
|
45
|
+
|
|
46
|
+
[[tool.dynamic-metadata]]
|
|
47
|
+
provider = "scikit_build_core.metadata.setuptools_scm"
|
|
48
|
+
|
|
49
|
+
[[tool.dynamic-metadata]]
|
|
50
|
+
provider = "scikit_build_core.metadata.fancy_pypi_readme"
|
|
51
|
+
|
|
52
|
+
[tool.setuptools_scm]
|
|
53
|
+
root = "vs-dfttest2"
|
|
54
|
+
local_scheme = "no-local-version"
|
|
55
|
+
tag_regex = '^v(?P<version>\d+.*)$'
|
|
56
56
|
|
|
57
57
|
[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
|
58
58
|
content-type = "text/markdown"
|
|
@@ -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,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
|