soifunc 0.10.0__py3-none-any.whl → 0.10.1__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/resize.py +4 -7
- {soifunc-0.10.0.dist-info → soifunc-0.10.1.dist-info}/METADATA +2 -2
- soifunc-0.10.1.dist-info/RECORD +9 -0
- {soifunc-0.10.0.dist-info → soifunc-0.10.1.dist-info}/WHEEL +1 -1
- soifunc-0.10.0.dist-info/RECORD +0 -9
- {soifunc-0.10.0.dist-info → soifunc-0.10.1.dist-info}/LICENSE +0 -0
soifunc/resize.py
CHANGED
|
@@ -6,16 +6,13 @@ from typing import Any
|
|
|
6
6
|
|
|
7
7
|
from vsaa.antialiasers.nnedi3 import Nnedi3SS
|
|
8
8
|
from vskernels import (
|
|
9
|
-
Catrom,
|
|
10
|
-
EwaLanczos,
|
|
11
9
|
Hermite,
|
|
12
|
-
KeepArScaler,
|
|
13
10
|
Scaler,
|
|
14
11
|
ScalerT,
|
|
15
12
|
Spline36,
|
|
16
13
|
)
|
|
17
|
-
from vsscale import SSIM, ArtCNN, GenericScaler
|
|
18
|
-
from vstools import check_variable_format, is_gpu_available, join, vs
|
|
14
|
+
from vsscale import SSIM, ArtCNN, GenericScaler
|
|
15
|
+
from vstools import check_variable_format, inject_self, is_gpu_available, join, vs
|
|
19
16
|
|
|
20
17
|
__all__ = [
|
|
21
18
|
"good_resize",
|
|
@@ -65,7 +62,7 @@ def good_resize(
|
|
|
65
62
|
else:
|
|
66
63
|
luma_scaler = Hermite(sigmoid=True)
|
|
67
64
|
elif is_upscale:
|
|
68
|
-
luma_scaler =
|
|
65
|
+
luma_scaler = Nnedi3SS(scaler=SSIM())
|
|
69
66
|
else:
|
|
70
67
|
luma_scaler = SSIM()
|
|
71
68
|
|
|
@@ -85,7 +82,7 @@ class HybridScaler(GenericScaler):
|
|
|
85
82
|
self._luma = Scaler.ensure_obj(self.luma_scaler)
|
|
86
83
|
self._chroma = Scaler.ensure_obj(self.chroma_scaler)
|
|
87
84
|
|
|
88
|
-
@property
|
|
85
|
+
@inject_self.cached.property
|
|
89
86
|
def kernel_radius(self) -> int:
|
|
90
87
|
return self._luma.kernel_radius
|
|
91
88
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: soifunc
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.1
|
|
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.
|
|
14
|
+
Requires-Dist: vsjetpack (>=0.4.0,<0.5.0)
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
|
|
17
17
|
## soifunc
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
soifunc/__init__.py,sha256=o8id_imdLYtSpVNfB-G4Pru9GtEPqdkcpyyW3yQt-6U,127
|
|
2
|
+
soifunc/deband.py,sha256=GB9ksv-G1EOkro7mEN44p1vxLCnY2x4d4SqKhHxQ6Z8,1176
|
|
3
|
+
soifunc/denoise.py,sha256=OaNZVEtuaVTy_onD0zMareexUvHuda0pIgcIJollFFc,6841
|
|
4
|
+
soifunc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
soifunc/resize.py,sha256=6t42dTVpAkVLp9p4v4O6glSrcMNfUPLwlKNSWeqWZ5E,3033
|
|
6
|
+
soifunc-0.10.1.dist-info/LICENSE,sha256=vgEDSMEV1J2nMiCgXE5_sjNtw2VT7_lP7rkAnrFKOWI,1068
|
|
7
|
+
soifunc-0.10.1.dist-info/METADATA,sha256=DhI2DhEjEUnVL7PJ4wUQ_1-UktuEmEsUHw83su21ka0,3364
|
|
8
|
+
soifunc-0.10.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
9
|
+
soifunc-0.10.1.dist-info/RECORD,,
|
soifunc-0.10.0.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
soifunc/__init__.py,sha256=o8id_imdLYtSpVNfB-G4Pru9GtEPqdkcpyyW3yQt-6U,127
|
|
2
|
-
soifunc/deband.py,sha256=GB9ksv-G1EOkro7mEN44p1vxLCnY2x4d4SqKhHxQ6Z8,1176
|
|
3
|
-
soifunc/denoise.py,sha256=OaNZVEtuaVTy_onD0zMareexUvHuda0pIgcIJollFFc,6841
|
|
4
|
-
soifunc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
-
soifunc/resize.py,sha256=E7tiiqvfvt_PMsJFSlZrr9heuYVuySQiZXEbQ7Kjacs,3045
|
|
6
|
-
soifunc-0.10.0.dist-info/LICENSE,sha256=vgEDSMEV1J2nMiCgXE5_sjNtw2VT7_lP7rkAnrFKOWI,1068
|
|
7
|
-
soifunc-0.10.0.dist-info/METADATA,sha256=_C-g7OvcdJNIBTbrc5NDFqznt2-Wnjp_7IKYUNZu8x0,3364
|
|
8
|
-
soifunc-0.10.0.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
9
|
-
soifunc-0.10.0.dist-info/RECORD,,
|
|
File without changes
|