vsview-split-planes 0.2.0__tar.gz → 0.2.2__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.
- {vsview_split_planes-0.2.0 → vsview_split_planes-0.2.2}/.gitignore +3 -0
- {vsview_split_planes-0.2.0 → vsview_split_planes-0.2.2}/PKG-INFO +1 -1
- {vsview_split_planes-0.2.0 → vsview_split_planes-0.2.2}/src/vsview_split_planes/__init__.py +5 -2
- {vsview_split_planes-0.2.0 → vsview_split_planes-0.2.2}/LICENSE +0 -0
- {vsview_split_planes-0.2.0 → vsview_split_planes-0.2.2}/README.md +0 -0
- {vsview_split_planes-0.2.0 → vsview_split_planes-0.2.2}/pyproject.toml +0 -0
- {vsview_split_planes-0.2.0 → vsview_split_planes-0.2.2}/src/vsview_split_planes/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vsview-split-planes
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: A vsview plugin displaying video clips' constituent planes
|
|
5
5
|
Project-URL: Documentation, https://jaded-encoding-thaumaturgy.github.io/vs-view/plugins/second-party/#split-planes
|
|
6
6
|
Project-URL: Source Code, https://github.com/Jaded-Encoding-Thaumaturgy/vs-view/tree/main/src/plugins/split-planes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from math import copysign
|
|
2
|
-
from typing import Annotated, Any, Literal, assert_never
|
|
2
|
+
from typing import Annotated, Any, Literal, assert_never, override
|
|
3
3
|
|
|
4
4
|
from jetpytools import fallback
|
|
5
5
|
from pydantic import BaseModel
|
|
@@ -44,7 +44,7 @@ class GlobalSettings(BaseModel):
|
|
|
44
44
|
Dropdown(
|
|
45
45
|
label="Offset chroma",
|
|
46
46
|
items=[("Fixed", 0.0), ("Min", "min"), ("Max", "max")],
|
|
47
|
-
tooltip="Apply chroma plane
|
|
47
|
+
tooltip="Apply chroma plane offsetting\n"
|
|
48
48
|
'- "min": match luma minimum\n'
|
|
49
49
|
'- "max": match luma maximum\n'
|
|
50
50
|
"- Fixed: use a custom float value",
|
|
@@ -169,12 +169,14 @@ class SplitPlanesView(PluginGraphicsView):
|
|
|
169
169
|
if self.settings.local_.autofit:
|
|
170
170
|
self.autofit_action.trigger()
|
|
171
171
|
|
|
172
|
+
@override
|
|
172
173
|
def parent(self) -> SplitPlanesPlugin:
|
|
173
174
|
if isinstance(parent := super().parent(), SplitPlanesPlugin):
|
|
174
175
|
return parent
|
|
175
176
|
|
|
176
177
|
raise NotImplementedError
|
|
177
178
|
|
|
179
|
+
@override
|
|
178
180
|
def get_node(self, clip: VideoNode) -> VideoNode:
|
|
179
181
|
if (offset_chroma := self.settings.local_.offset_chroma) is None:
|
|
180
182
|
offset = False
|
|
@@ -230,6 +232,7 @@ class SplitPlanesView(PluginGraphicsView):
|
|
|
230
232
|
self.parent().update_local_settings(offset_chroma=value)
|
|
231
233
|
self.refresh()
|
|
232
234
|
|
|
235
|
+
@override
|
|
233
236
|
def _on_autofit_action(self) -> None:
|
|
234
237
|
super()._on_autofit_action()
|
|
235
238
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|