soifunc 0.10.0__tar.gz → 0.10.1__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.
- {soifunc-0.10.0 → soifunc-0.10.1}/PKG-INFO +2 -2
- {soifunc-0.10.0 → soifunc-0.10.1}/pyproject.toml +5 -5
- {soifunc-0.10.0 → soifunc-0.10.1}/soifunc/resize.py +4 -7
- {soifunc-0.10.0 → soifunc-0.10.1}/LICENSE +0 -0
- {soifunc-0.10.0 → soifunc-0.10.1}/README.md +0 -0
- {soifunc-0.10.0 → soifunc-0.10.1}/soifunc/__init__.py +0 -0
- {soifunc-0.10.0 → soifunc-0.10.1}/soifunc/deband.py +0 -0
- {soifunc-0.10.0 → soifunc-0.10.1}/soifunc/denoise.py +0 -0
- {soifunc-0.10.0 → soifunc-0.10.1}/soifunc/py.typed +0 -0
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "soifunc"
|
|
3
|
-
version = "0.10.
|
|
3
|
+
version = "0.10.1"
|
|
4
4
|
description = "Soichiro's VapourSynth Functions Collection"
|
|
5
5
|
authors = ["Josh Holmer <jholmer.in@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -9,12 +9,12 @@ readme = "README.md"
|
|
|
9
9
|
[tool.poetry.dependencies]
|
|
10
10
|
python = ">=3.12,<4.0"
|
|
11
11
|
vapoursynth = ">=68"
|
|
12
|
-
vsjetpack = "^0.
|
|
12
|
+
vsjetpack = "^0.4.0"
|
|
13
13
|
|
|
14
14
|
[tool.poetry.group.dev.dependencies]
|
|
15
|
-
black = "^
|
|
16
|
-
isort = "^
|
|
17
|
-
pre-commit = "^2.
|
|
15
|
+
black = "^25.1.0"
|
|
16
|
+
isort = "^6.0.1"
|
|
17
|
+
pre-commit = "^4.2.0"
|
|
18
18
|
|
|
19
19
|
[build-system]
|
|
20
20
|
requires = ["poetry-core"]
|
|
@@ -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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|