soifunc 0.11.2__py3-none-any.whl → 0.11.3__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.
soifunc/interpolate.py
CHANGED
|
@@ -4,6 +4,7 @@ import platform
|
|
|
4
4
|
from typing import TYPE_CHECKING
|
|
5
5
|
|
|
6
6
|
import vstools
|
|
7
|
+
from vsscale import autoselect_backend
|
|
7
8
|
from vstools import vs
|
|
8
9
|
|
|
9
10
|
if TYPE_CHECKING:
|
|
@@ -40,15 +41,7 @@ def rate_doubler(
|
|
|
40
41
|
model=vsmlrt.RIFEModel.v4_25_heavy,
|
|
41
42
|
# Why these defaults? Because running ML stuff on AMD on Windows sucks hard.
|
|
42
43
|
# Trial and error led me to finally find that ORT_DML works.
|
|
43
|
-
backend=(
|
|
44
|
-
backend
|
|
45
|
-
if backend
|
|
46
|
-
else (
|
|
47
|
-
vsmlrt.Backend.ORT_DML()
|
|
48
|
-
if platform.system() == "Windows"
|
|
49
|
-
else vsmlrt.Backend.TRT()
|
|
50
|
-
)
|
|
51
|
-
),
|
|
44
|
+
backend=(backend if backend else autoselect_backend()),
|
|
52
45
|
)
|
|
53
46
|
# TODO: Handle other chroma samplings
|
|
54
47
|
clip = clip.resize.Bicubic(
|
|
@@ -98,15 +91,7 @@ def decimation_fixer(
|
|
|
98
91
|
doubled = vsmlrt.RIFE(
|
|
99
92
|
clip,
|
|
100
93
|
model=vsmlrt.RIFEModel.v4_25_heavy,
|
|
101
|
-
backend=(
|
|
102
|
-
backend
|
|
103
|
-
if backend
|
|
104
|
-
else (
|
|
105
|
-
vsmlrt.Backend.ORT_DML()
|
|
106
|
-
if platform.system() == "Windows"
|
|
107
|
-
else vsmlrt.Backend.TRT()
|
|
108
|
-
)
|
|
109
|
-
),
|
|
94
|
+
backend=(backend if backend else autoselect_backend()),
|
|
110
95
|
)
|
|
111
96
|
|
|
112
97
|
out_clip = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: soifunc
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.3
|
|
4
4
|
Summary: Soichiro's VapourSynth Functions Collection
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Josh Holmer
|
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Requires-Dist: vapoursynth (>=68)
|
|
14
|
-
Requires-Dist: vsjetpack (>=0.5.
|
|
14
|
+
Requires-Dist: vsjetpack (>=0.5.2,<0.6.0)
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
|
|
17
17
|
## soifunc
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
soifunc/__init__.py,sha256=H6BWoCLRW2ZD47wQtL72SIZvTpD6REH7cUqIYWvCn0k,174
|
|
2
2
|
soifunc/deband.py,sha256=MbI5OOG8JpWqM5B5ux6OU784-39PtCMQWrh9mk4k2xY,1273
|
|
3
3
|
soifunc/denoise.py,sha256=ALTftqL9Q1cPLKtAU60mT3-RUkVHXBqgg2Pa9GwjGIY,6982
|
|
4
|
-
soifunc/interpolate.py,sha256=
|
|
4
|
+
soifunc/interpolate.py,sha256=dgYczCdn716afJ3sZgQgcF6KfAkaU2J_obJD-Kp7wP4,4091
|
|
5
5
|
soifunc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
soifunc/resize.py,sha256=jr1kLU8IrXcLphjkhcXhls1HjhIKiryD8n6Kvwe1DU4,2988
|
|
7
|
-
soifunc-0.11.
|
|
8
|
-
soifunc-0.11.
|
|
9
|
-
soifunc-0.11.
|
|
10
|
-
soifunc-0.11.
|
|
7
|
+
soifunc-0.11.3.dist-info/LICENSE,sha256=vgEDSMEV1J2nMiCgXE5_sjNtw2VT7_lP7rkAnrFKOWI,1068
|
|
8
|
+
soifunc-0.11.3.dist-info/METADATA,sha256=WOVeRBpkaPbIDrnl59VYGDRD07cwKb-XACCUhv4Tr4s,1214
|
|
9
|
+
soifunc-0.11.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
10
|
+
soifunc-0.11.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|