dfttest2 10__py3-none-any.whl
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.
- dfttest2/__init__.py +17 -0
- dfttest2/_dfttest2.py +851 -0
- dfttest2/py.typed +0 -0
- dfttest2-10.dist-info/METADATA +103 -0
- dfttest2-10.dist-info/RECORD +7 -0
- dfttest2-10.dist-info/WHEEL +4 -0
- dfttest2-10.dist-info/licenses/vs-dfttest2/LICENSE +674 -0
dfttest2/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dfttest2
|
|
3
|
+
Version: 10
|
|
4
|
+
Summary: DFTTest re-implemetation
|
|
5
|
+
Project-URL: Source Code, https://github.com/AmusementClub/vs-dfttest2
|
|
6
|
+
Project-URL: Bug Tracker, https://github.com/AmusementClub/vs-dfttest2/issues
|
|
7
|
+
Project-URL: Repository, https://github.com/Jaded-Encoding-Thaumaturgy/vs-wheels
|
|
8
|
+
Author: WolframRhodium
|
|
9
|
+
Maintainer-email: Vardë <ichunjo.le.terrible@gmail.com>
|
|
10
|
+
License-Expression: GPL-3.0-or-later
|
|
11
|
+
License-File: vs-dfttest2/LICENSE
|
|
12
|
+
Requires-Python: >=3.12
|
|
13
|
+
Requires-Dist: vapoursynth>=75
|
|
14
|
+
Provides-Extra: cpu
|
|
15
|
+
Requires-Dist: vapoursynth-dfttest2-cpu; extra == 'cpu'
|
|
16
|
+
Provides-Extra: cuda
|
|
17
|
+
Requires-Dist: vapoursynth-dfttest2-cuda; extra == 'cuda'
|
|
18
|
+
Requires-Dist: vapoursynth-dfttest2-nvrtc; extra == 'cuda'
|
|
19
|
+
Provides-Extra: cufft
|
|
20
|
+
Requires-Dist: vapoursynth-dfttest2-cuda; extra == 'cufft'
|
|
21
|
+
Provides-Extra: gcc
|
|
22
|
+
Requires-Dist: vapoursynth-dfttest2-gcc; extra == 'gcc'
|
|
23
|
+
Provides-Extra: hip
|
|
24
|
+
Requires-Dist: vapoursynth-dfttest2-hip; extra == 'hip'
|
|
25
|
+
Requires-Dist: vapoursynth-dfttest2-hiprtc; extra == 'hip'
|
|
26
|
+
Provides-Extra: hipfft
|
|
27
|
+
Requires-Dist: vapoursynth-dfttest2-hip; extra == 'hipfft'
|
|
28
|
+
Provides-Extra: hiprtc
|
|
29
|
+
Requires-Dist: vapoursynth-dfttest2-hiprtc; extra == 'hiprtc'
|
|
30
|
+
Provides-Extra: nvrtc
|
|
31
|
+
Requires-Dist: vapoursynth-dfttest2-nvrtc; extra == 'nvrtc'
|
|
32
|
+
Description-Content-Type: text/markdown
|
|
33
|
+
|
|
34
|
+
# dfttest2
|
|
35
|
+
|
|
36
|
+
A VapourSynth re-implementation of DFTTest.
|
|
37
|
+
|
|
38
|
+
This package serves as a **meta-package** providing:
|
|
39
|
+
|
|
40
|
+
1. A high-level **Python interface** for `dfttest2`.
|
|
41
|
+
2. Optional **backend dependencies** via extras to simplify installation.
|
|
42
|
+
|
|
43
|
+
## Backends
|
|
44
|
+
|
|
45
|
+
### **GPU Backends**
|
|
46
|
+
|
|
47
|
+
| Backend | Platform | Implementation Type |
|
|
48
|
+
| -------- | --------------------------------------- | -------------------------- |
|
|
49
|
+
| `nvrtc` | Windows, Linux (x86-64, aarch64) | JIT Compilation |
|
|
50
|
+
| `hiprtc` | Windows, Linux (x86-64) | JIT Compilation |
|
|
51
|
+
| `cufft` | Windows, Linux (x86-64, aarch64) | Library |
|
|
52
|
+
| `hipfft` | Windows, Linux (x86-64) | Library |
|
|
53
|
+
| `cpu` | Windows, Linux (x86-64), macOS (x86-64) | VCL |
|
|
54
|
+
| `gcc` | All Platforms | Compiler Vector Extensions |
|
|
55
|
+
|
|
56
|
+
### **Which one to use?**
|
|
57
|
+
|
|
58
|
+
| Backend | Requirement |
|
|
59
|
+
| ------- | ----------------------------------- |
|
|
60
|
+
| NVRTC | `sbsize=16` and CUDA-enabled system |
|
|
61
|
+
| HIPRTC | `sbsize=16` and HIP-enabled system |
|
|
62
|
+
| cuFFT | CUDA-enabled system |
|
|
63
|
+
| hipFFT | HIP-enabled system |
|
|
64
|
+
| CPU | `sbsize=16` |
|
|
65
|
+
| GCC | `sbsize=16` |
|
|
66
|
+
|
|
67
|
+
**Approximate Speed:** NVRTC == HIPRTC >> cuFFT > hipFFT > CPU == GCC
|
|
68
|
+
|
|
69
|
+
## Installation
|
|
70
|
+
|
|
71
|
+
For example, to install the NVRTC and CPU backends:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pip install dfttest2[nvrtc,cpu]
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
README.md from parent project
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
# vs-dfttest2
|
|
83
|
+
DFTTest re-implemetation (CUDA and x86)
|
|
84
|
+
|
|
85
|
+
## Usage
|
|
86
|
+
```python3
|
|
87
|
+
from dfttest2 import DFTTest
|
|
88
|
+
output = DFTTest(input)
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
See also [VapourSynth-DFTTest](https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DFTTest)
|
|
92
|
+
|
|
93
|
+
## Compilation
|
|
94
|
+
```bash
|
|
95
|
+
# additional options: -D ENABLE_CUDA=ON -D ENABLE_CPU=ON
|
|
96
|
+
cmake -S . -B build
|
|
97
|
+
|
|
98
|
+
cmake --build build
|
|
99
|
+
|
|
100
|
+
cmake --install build
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
If the vapoursynth library cannot be found by pkg-config, then the cmake variable `VS_INCLUDE_DIR` should be set.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
dfttest2/__init__.py,sha256=KcJHEHFSkLsJoS--HQelhUS6blKZxOKpeddIZmiKSbU,285
|
|
2
|
+
dfttest2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
dfttest2/_dfttest2.py,sha256=h1yO94UraFBjZBvLLVxXYSZfgF7KQcnkXbYQfoqfYWU,27321
|
|
4
|
+
dfttest2-10.dist-info/METADATA,sha256=mjsLXQBrBmdImM1_qi0IwHxMraRVAcvYgf6Mwobupvg,3413
|
|
5
|
+
dfttest2-10.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
6
|
+
dfttest2-10.dist-info/licenses/vs-dfttest2/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
7
|
+
dfttest2-10.dist-info/RECORD,,
|