vsview-fftspectrum 0.2.3__tar.gz → 0.3.0__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_fftspectrum-0.2.3 → vsview_fftspectrum-0.3.0}/.gitignore +159 -4
- {vsview_fftspectrum-0.2.3 → vsview_fftspectrum-0.3.0}/PKG-INFO +2 -1
- {vsview_fftspectrum-0.2.3 → vsview_fftspectrum-0.3.0}/pyproject.toml +1 -0
- {vsview_fftspectrum-0.2.3 → vsview_fftspectrum-0.3.0}/src/vsview_fftspectrum/__init__.py +3 -5
- {vsview_fftspectrum-0.2.3 → vsview_fftspectrum-0.3.0}/LICENSE +0 -0
- {vsview_fftspectrum-0.2.3 → vsview_fftspectrum-0.3.0}/README.md +0 -0
- {vsview_fftspectrum-0.2.3 → vsview_fftspectrum-0.3.0}/src/vsview_fftspectrum/py.typed +0 -0
|
@@ -1,3 +1,153 @@
|
|
|
1
|
+
## TS/JS
|
|
2
|
+
# Logs
|
|
3
|
+
logs
|
|
4
|
+
*.log
|
|
5
|
+
npm-debug.log*
|
|
6
|
+
yarn-debug.log*
|
|
7
|
+
yarn-error.log*
|
|
8
|
+
lerna-debug.log*
|
|
9
|
+
|
|
10
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
11
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
12
|
+
|
|
13
|
+
# Runtime data
|
|
14
|
+
pids
|
|
15
|
+
*.pid
|
|
16
|
+
*.seed
|
|
17
|
+
*.pid.lock
|
|
18
|
+
|
|
19
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
20
|
+
lib-cov
|
|
21
|
+
|
|
22
|
+
# Coverage directory used by tools like istanbul
|
|
23
|
+
coverage
|
|
24
|
+
*.lcov
|
|
25
|
+
|
|
26
|
+
# nyc test coverage
|
|
27
|
+
.nyc_output
|
|
28
|
+
|
|
29
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
30
|
+
.grunt
|
|
31
|
+
|
|
32
|
+
# Bower dependency directory (https://bower.io/)
|
|
33
|
+
bower_components
|
|
34
|
+
|
|
35
|
+
# node-waf configuration
|
|
36
|
+
.lock-wscript
|
|
37
|
+
|
|
38
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
39
|
+
build/Release
|
|
40
|
+
|
|
41
|
+
# Dependency directories
|
|
42
|
+
node_modules/
|
|
43
|
+
jspm_packages/
|
|
44
|
+
|
|
45
|
+
# Snowpack dependency directory (https://snowpack.dev/)
|
|
46
|
+
web_modules/
|
|
47
|
+
|
|
48
|
+
# TypeScript cache
|
|
49
|
+
*.tsbuildinfo
|
|
50
|
+
|
|
51
|
+
# Optional npm cache directory
|
|
52
|
+
.npm
|
|
53
|
+
|
|
54
|
+
# Optional eslint cache
|
|
55
|
+
.eslintcache
|
|
56
|
+
|
|
57
|
+
# Optional stylelint cache
|
|
58
|
+
.stylelintcache
|
|
59
|
+
|
|
60
|
+
# Optional REPL history
|
|
61
|
+
.node_repl_history
|
|
62
|
+
|
|
63
|
+
# Output of 'npm pack'
|
|
64
|
+
*.tgz
|
|
65
|
+
|
|
66
|
+
# Yarn Integrity file
|
|
67
|
+
.yarn-integrity
|
|
68
|
+
|
|
69
|
+
# dotenv environment variable files
|
|
70
|
+
.env
|
|
71
|
+
.env.*
|
|
72
|
+
!.env.example
|
|
73
|
+
|
|
74
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
75
|
+
.cache
|
|
76
|
+
.parcel-cache
|
|
77
|
+
|
|
78
|
+
# Next.js build output
|
|
79
|
+
.next
|
|
80
|
+
out
|
|
81
|
+
|
|
82
|
+
# Nuxt.js build / generate output
|
|
83
|
+
.nuxt
|
|
84
|
+
dist
|
|
85
|
+
.output
|
|
86
|
+
|
|
87
|
+
# Gatsby files
|
|
88
|
+
.cache/
|
|
89
|
+
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
90
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
91
|
+
# public
|
|
92
|
+
|
|
93
|
+
# vuepress build output
|
|
94
|
+
.vuepress/dist
|
|
95
|
+
|
|
96
|
+
# vuepress v2.x temp directory
|
|
97
|
+
.temp
|
|
98
|
+
|
|
99
|
+
# Sveltekit cache directory
|
|
100
|
+
.svelte-kit/
|
|
101
|
+
|
|
102
|
+
# vitepress build output
|
|
103
|
+
**/.vitepress/dist
|
|
104
|
+
|
|
105
|
+
# vitepress cache directory
|
|
106
|
+
**/.vitepress/cache
|
|
107
|
+
|
|
108
|
+
# Docusaurus cache and generated files
|
|
109
|
+
.docusaurus
|
|
110
|
+
|
|
111
|
+
# Serverless directories
|
|
112
|
+
.serverless/
|
|
113
|
+
|
|
114
|
+
# FuseBox cache
|
|
115
|
+
.fusebox/
|
|
116
|
+
|
|
117
|
+
# DynamoDB Local files
|
|
118
|
+
.dynamodb/
|
|
119
|
+
|
|
120
|
+
# Firebase cache directory
|
|
121
|
+
.firebase/
|
|
122
|
+
|
|
123
|
+
# TernJS port file
|
|
124
|
+
.tern-port
|
|
125
|
+
|
|
126
|
+
# Stores VSCode versions used for testing VSCode extensions
|
|
127
|
+
.vscode-test
|
|
128
|
+
|
|
129
|
+
# pnpm
|
|
130
|
+
.pnpm-store
|
|
131
|
+
|
|
132
|
+
# yarn v3
|
|
133
|
+
.pnp.*
|
|
134
|
+
.yarn/*
|
|
135
|
+
!.yarn/patches
|
|
136
|
+
!.yarn/plugins
|
|
137
|
+
!.yarn/releases
|
|
138
|
+
!.yarn/sdks
|
|
139
|
+
!.yarn/versions
|
|
140
|
+
|
|
141
|
+
# Vite files
|
|
142
|
+
vite.config.js.timestamp-*
|
|
143
|
+
vite.config.ts.timestamp-*
|
|
144
|
+
.vite/
|
|
145
|
+
|
|
146
|
+
# Repo specific
|
|
147
|
+
web_dist/
|
|
148
|
+
sboms-js.cdx.json
|
|
149
|
+
|
|
150
|
+
## Python
|
|
1
151
|
# Byte-compiled / optimized / DLL files
|
|
2
152
|
__pycache__/
|
|
3
153
|
*.py[codz]
|
|
@@ -196,11 +346,13 @@ cython_debug/
|
|
|
196
346
|
.abstra/
|
|
197
347
|
|
|
198
348
|
# Visual Studio Code
|
|
199
|
-
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
349
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
200
350
|
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
201
|
-
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
351
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
202
352
|
# you could uncomment the following to ignore the entire vscode folder
|
|
203
|
-
|
|
353
|
+
.vscode/*
|
|
354
|
+
!.vscode/tasks.json
|
|
355
|
+
!.vscode/extensions.json
|
|
204
356
|
|
|
205
357
|
# Ruff stuff:
|
|
206
358
|
.ruff_cache/
|
|
@@ -224,4 +376,7 @@ vs_objects.inv
|
|
|
224
376
|
vs_fixed.inv
|
|
225
377
|
|
|
226
378
|
# Doc workraws
|
|
227
|
-
docs/assets/raws
|
|
379
|
+
docs/assets/raws
|
|
380
|
+
|
|
381
|
+
# Local AGENTS.md
|
|
382
|
+
AGENTS.md
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vsview-fftspectrum
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: A vsview plugin displaying the Fast Fourier transform spectrum of a video clip
|
|
5
5
|
Project-URL: Documentation, https://jaded-encoding-thaumaturgy.github.io/vs-view/plugins/second-party/#fft-spectrum
|
|
6
6
|
Project-URL: Source Code, https://github.com/Jaded-Encoding-Thaumaturgy/vs-view/tree/main/src/plugins/fftspectrum
|
|
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
19
|
Classifier: Typing :: Typed
|
|
19
20
|
Requires-Python: >=3.12
|
|
20
21
|
Requires-Dist: vapoursynth-fftspectrum-rs>=1.0.13
|
|
@@ -20,6 +20,7 @@ classifiers = [
|
|
|
20
20
|
"Programming Language :: Python :: 3.12",
|
|
21
21
|
"Programming Language :: Python :: 3.13",
|
|
22
22
|
"Programming Language :: Python :: 3.14",
|
|
23
|
+
"Programming Language :: Python :: 3.15",
|
|
23
24
|
"Operating System :: OS Independent",
|
|
24
25
|
"Typing :: Typed",
|
|
25
26
|
]
|
|
@@ -4,7 +4,7 @@ from pydantic import BaseModel
|
|
|
4
4
|
from PySide6.QtCore import Slot
|
|
5
5
|
from PySide6.QtWidgets import QHBoxLayout, QWidget
|
|
6
6
|
from vapoursynth import VideoNode
|
|
7
|
-
from vstools import ColorRange, DitherType,
|
|
7
|
+
from vstools import ColorRange, DitherType, finalize_output, initialize_input, join, split, stack_planes
|
|
8
8
|
|
|
9
9
|
from vsview.api import (
|
|
10
10
|
Checkbox,
|
|
@@ -90,6 +90,7 @@ class FFTSpectrumView(PluginGraphicsView):
|
|
|
90
90
|
self.settings = settings
|
|
91
91
|
self.autofit = self.settings.global_.autofit
|
|
92
92
|
|
|
93
|
+
@finalize_output(bits=8, range_in=ColorRange.FULL, range_out=ColorRange.FULL, dither_type=DitherType.NONE)
|
|
93
94
|
@initialize_input(bits=32)
|
|
94
95
|
@override
|
|
95
96
|
def get_node(self, clip: VideoNode) -> VideoNode:
|
|
@@ -109,11 +110,8 @@ class FFTSpectrumView(PluginGraphicsView):
|
|
|
109
110
|
planes = [fft(p, k) for k, p in zip(clip.format.name, planes)]
|
|
110
111
|
|
|
111
112
|
# TODO: Add grid frequencies
|
|
112
|
-
|
|
113
113
|
clip_fft = join(planes, clip.format.color_family)
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
return depth(stacked, 8, range_out=ColorRange.FULL, dither_type=DitherType.NONE)
|
|
114
|
+
return stack_planes(clip_fft, False, False, self.settings.global_.mode)
|
|
117
115
|
|
|
118
116
|
|
|
119
117
|
@hookimpl
|
|
File without changes
|
|
File without changes
|
|
File without changes
|