vs_proxy ¶
Classes:
Functions:
-
clear_cache
– -
register_on_creation
–Register a callback on every core creation.
-
unregister_on_creation
–Unregister this callback from every core creation.
Attributes:
-
GRAY10
– -
GRAY11
– -
GRAY12
– -
GRAY13
– -
GRAY14
– -
GRAY15
– -
GRAY16
– -
GRAY17
– -
GRAY18
– -
GRAY19
– -
GRAY20
– -
GRAY21
– -
GRAY22
– -
GRAY23
– -
GRAY24
– -
GRAY25
– -
GRAY26
– -
GRAY27
– -
GRAY28
– -
GRAY29
– -
GRAY30
– -
GRAY31
– -
GRAY32
– -
GRAY8
– -
GRAY9
– -
GRAYH
– -
GRAYS
– -
RGB24
– -
RGB27
– -
RGB30
– -
RGB33
– -
RGB36
– -
RGB39
– -
RGB42
– -
RGB45
– -
RGB48
– -
RGB51
– -
RGB54
– -
RGB57
– -
RGB60
– -
RGB63
– -
RGB66
– -
RGB69
– -
RGB72
– -
RGB75
– -
RGB78
– -
RGB81
– -
RGB84
– -
RGB87
– -
RGB90
– -
RGB93
– -
RGB96
– -
RGBH
– -
RGBS
– -
YUV410P10
– -
YUV410P11
– -
YUV410P12
– -
YUV410P13
– -
YUV410P14
– -
YUV410P15
– -
YUV410P16
– -
YUV410P17
– -
YUV410P18
– -
YUV410P19
– -
YUV410P20
– -
YUV410P21
– -
YUV410P22
– -
YUV410P23
– -
YUV410P24
– -
YUV410P25
– -
YUV410P26
– -
YUV410P27
– -
YUV410P28
– -
YUV410P29
– -
YUV410P30
– -
YUV410P31
– -
YUV410P32
– -
YUV410P8
– -
YUV410P9
– -
YUV410PH
– -
YUV410PS
– -
YUV411P10
– -
YUV411P11
– -
YUV411P12
– -
YUV411P13
– -
YUV411P14
– -
YUV411P15
– -
YUV411P16
– -
YUV411P17
– -
YUV411P18
– -
YUV411P19
– -
YUV411P20
– -
YUV411P21
– -
YUV411P22
– -
YUV411P23
– -
YUV411P24
– -
YUV411P25
– -
YUV411P26
– -
YUV411P27
– -
YUV411P28
– -
YUV411P29
– -
YUV411P30
– -
YUV411P31
– -
YUV411P32
– -
YUV411P8
– -
YUV411P9
– -
YUV411PH
– -
YUV411PS
– -
YUV420P10
– -
YUV420P11
– -
YUV420P12
– -
YUV420P13
– -
YUV420P14
– -
YUV420P15
– -
YUV420P16
– -
YUV420P17
– -
YUV420P18
– -
YUV420P19
– -
YUV420P20
– -
YUV420P21
– -
YUV420P22
– -
YUV420P23
– -
YUV420P24
– -
YUV420P25
– -
YUV420P26
– -
YUV420P27
– -
YUV420P28
– -
YUV420P29
– -
YUV420P30
– -
YUV420P31
– -
YUV420P32
– -
YUV420P8
– -
YUV420P9
– -
YUV420PH
– -
YUV420PS
– -
YUV422P10
– -
YUV422P11
– -
YUV422P12
– -
YUV422P13
– -
YUV422P14
– -
YUV422P15
– -
YUV422P16
– -
YUV422P17
– -
YUV422P18
– -
YUV422P19
– -
YUV422P20
– -
YUV422P21
– -
YUV422P22
– -
YUV422P23
– -
YUV422P24
– -
YUV422P25
– -
YUV422P26
– -
YUV422P27
– -
YUV422P28
– -
YUV422P29
– -
YUV422P30
– -
YUV422P31
– -
YUV422P32
– -
YUV422P8
– -
YUV422P9
– -
YUV422PH
– -
YUV422PS
– -
YUV440P10
– -
YUV440P11
– -
YUV440P12
– -
YUV440P13
– -
YUV440P14
– -
YUV440P15
– -
YUV440P16
– -
YUV440P17
– -
YUV440P18
– -
YUV440P19
– -
YUV440P20
– -
YUV440P21
– -
YUV440P22
– -
YUV440P23
– -
YUV440P24
– -
YUV440P25
– -
YUV440P26
– -
YUV440P27
– -
YUV440P28
– -
YUV440P29
– -
YUV440P30
– -
YUV440P31
– -
YUV440P32
– -
YUV440P8
– -
YUV440P9
– -
YUV440PH
– -
YUV440PS
– -
YUV444P10
– -
YUV444P11
– -
YUV444P12
– -
YUV444P13
– -
YUV444P14
– -
YUV444P15
– -
YUV444P16
– -
YUV444P17
– -
YUV444P18
– -
YUV444P19
– -
YUV444P20
– -
YUV444P21
– -
YUV444P22
– -
YUV444P23
– -
YUV444P24
– -
YUV444P25
– -
YUV444P26
– -
YUV444P27
– -
YUV444P28
– -
YUV444P29
– -
YUV444P30
– -
YUV444P31
– -
YUV444P32
– -
YUV444P8
– -
YUV444P9
– -
YUV444PH
– -
YUV444PS
– -
core
–
core_on_creation_callbacks module-attribute
¶
core_on_creation_callbacks = dict[int, ReferenceType[Callable[..., None]]]()
CoreProxy ¶
CoreProxy(core: Core | None, vs_proxy: VSCoreProxy, lazy: bool)
Bases: CoreProxyBase
Attributes:
-
lazy
–
Source code
239 240 241 |
|
EnvironmentProxy ¶
EnvironmentProxy()
EnvironmentProxyBase ¶
EnvironmentProxyBase()
Bases: Environment
Source code
196 197 |
|
FunctionProxy ¶
FunctionProxy(plugin: PluginProxy, func_name: str)
Bases: FunctionProxyBase
Methods:
-
__call__
–
Source code
203 204 |
|
FunctionProxyBase ¶
Bases: Function
PluginProxy ¶
Bases: PluginProxyBase
Source code
219 220 |
|
PluginProxyBase ¶
Bases: Plugin
PresetVideoFormat ¶
Bases: PresetVideoFormatBase
Attributes:
-
GRAY10
– -
GRAY11
– -
GRAY12
– -
GRAY13
– -
GRAY14
– -
GRAY15
– -
GRAY16
– -
GRAY17
– -
GRAY18
– -
GRAY19
– -
GRAY20
– -
GRAY21
– -
GRAY22
– -
GRAY23
– -
GRAY24
– -
GRAY25
– -
GRAY26
– -
GRAY27
– -
GRAY28
– -
GRAY29
– -
GRAY30
– -
GRAY31
– -
GRAY32
– -
GRAY8
– -
GRAY9
– -
GRAYH
– -
GRAYS
– -
RGB24
– -
RGB27
– -
RGB30
– -
RGB33
– -
RGB36
– -
RGB39
– -
RGB42
– -
RGB45
– -
RGB48
– -
RGB51
– -
RGB54
– -
RGB57
– -
RGB60
– -
RGB63
– -
RGB66
– -
RGB69
– -
RGB72
– -
RGB75
– -
RGB78
– -
RGB81
– -
RGB84
– -
RGB87
– -
RGB90
– -
RGB93
– -
RGB96
– -
RGBH
– -
RGBS
– -
YUV410P10
– -
YUV410P11
– -
YUV410P12
– -
YUV410P13
– -
YUV410P14
– -
YUV410P15
– -
YUV410P16
– -
YUV410P17
– -
YUV410P18
– -
YUV410P19
– -
YUV410P20
– -
YUV410P21
– -
YUV410P22
– -
YUV410P23
– -
YUV410P24
– -
YUV410P25
– -
YUV410P26
– -
YUV410P27
– -
YUV410P28
– -
YUV410P29
– -
YUV410P30
– -
YUV410P31
– -
YUV410P32
– -
YUV410P8
– -
YUV410P9
– -
YUV410PH
– -
YUV410PS
– -
YUV411P10
– -
YUV411P11
– -
YUV411P12
– -
YUV411P13
– -
YUV411P14
– -
YUV411P15
– -
YUV411P16
– -
YUV411P17
– -
YUV411P18
– -
YUV411P19
– -
YUV411P20
– -
YUV411P21
– -
YUV411P22
– -
YUV411P23
– -
YUV411P24
– -
YUV411P25
– -
YUV411P26
– -
YUV411P27
– -
YUV411P28
– -
YUV411P29
– -
YUV411P30
– -
YUV411P31
– -
YUV411P32
– -
YUV411P8
– -
YUV411P9
– -
YUV411PH
– -
YUV411PS
– -
YUV420P10
– -
YUV420P11
– -
YUV420P12
– -
YUV420P13
– -
YUV420P14
– -
YUV420P15
– -
YUV420P16
– -
YUV420P17
– -
YUV420P18
– -
YUV420P19
– -
YUV420P20
– -
YUV420P21
– -
YUV420P22
– -
YUV420P23
– -
YUV420P24
– -
YUV420P25
– -
YUV420P26
– -
YUV420P27
– -
YUV420P28
– -
YUV420P29
– -
YUV420P30
– -
YUV420P31
– -
YUV420P32
– -
YUV420P8
– -
YUV420P9
– -
YUV420PH
– -
YUV420PS
– -
YUV422P10
– -
YUV422P11
– -
YUV422P12
– -
YUV422P13
– -
YUV422P14
– -
YUV422P15
– -
YUV422P16
– -
YUV422P17
– -
YUV422P18
– -
YUV422P19
– -
YUV422P20
– -
YUV422P21
– -
YUV422P22
– -
YUV422P23
– -
YUV422P24
– -
YUV422P25
– -
YUV422P26
– -
YUV422P27
– -
YUV422P28
– -
YUV422P29
– -
YUV422P30
– -
YUV422P31
– -
YUV422P32
– -
YUV422P8
– -
YUV422P9
– -
YUV422PH
– -
YUV422PS
– -
YUV440P10
– -
YUV440P11
– -
YUV440P12
– -
YUV440P13
– -
YUV440P14
– -
YUV440P15
– -
YUV440P16
– -
YUV440P17
– -
YUV440P18
– -
YUV440P19
– -
YUV440P20
– -
YUV440P21
– -
YUV440P22
– -
YUV440P23
– -
YUV440P24
– -
YUV440P25
– -
YUV440P26
– -
YUV440P27
– -
YUV440P28
– -
YUV440P29
– -
YUV440P30
– -
YUV440P31
– -
YUV440P32
– -
YUV440P8
– -
YUV440P9
– -
YUV440PH
– -
YUV440PS
– -
YUV444P10
– -
YUV444P11
– -
YUV444P12
– -
YUV444P13
– -
YUV444P14
– -
YUV444P15
– -
YUV444P16
– -
YUV444P17
– -
YUV444P18
– -
YUV444P19
– -
YUV444P20
– -
YUV444P21
– -
YUV444P22
– -
YUV444P23
– -
YUV444P24
– -
YUV444P25
– -
YUV444P26
– -
YUV444P27
– -
YUV444P28
– -
YUV444P29
– -
YUV444P30
– -
YUV444P31
– -
YUV444P32
– -
YUV444P8
– -
YUV444P9
– -
YUV444PH
– -
YUV444PS
–
VSCoreProxy ¶
VSCoreProxy(core: Core | None = None)
Bases: CoreProxyBase
Class for wrapping a VapourSynth core.
Methods:
-
register_on_destroy
–Register a callback on this core destroy.
-
set_affinity
– -
unregister_on_destroy
–Unregister a callback from this core destroy.
Attributes:
-
active
(bool
) – -
core
(Core
) –The underlying VapourSynth Core instance.
-
core_id
(int
) – -
env
(EnvironmentProxy
) – -
lazy
(CoreProxy
) –Lazy Core where plugins and functions are lazily retrieved and checked,
-
proxied
(CoreProxy
) –Proxied Core where plugins and functions are lazily retrieved,
Source code
424 425 426 |
|
lazy property
¶
lazy: CoreProxy
Lazy Core where plugins and functions are lazily retrieved and checked, so it's safe to hold a reference and set default of anything from this, without having to worry of creating a core.
proxied property
¶
proxied: CoreProxy
Proxied Core where plugins and functions are lazily retrieved, so it's safe to hold a reference of anything from this.
register_on_destroy ¶
Register a callback on this core destroy.
Source code
489 490 491 492 493 |
|
set_affinity ¶
set_affinity(
threads: int | float | range | tuple[int, int] | list[int] | None = None,
max_cache: int | None = None,
reserve: int | Iterable[int] = 2,
) -> None
Source code
501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 |
|
unregister_on_destroy ¶
unregister_on_destroy(callback: Callable[..., None]) -> None
Unregister a callback from this core destroy.
Source code
495 496 497 498 499 |
|
proxy_utils ¶
Methods:
-
get_core
– -
get_plugin
– -
get_vs_core
– -
get_vs_function
–
get_core staticmethod
¶
get_core(plugin: PluginProxy) -> tuple[CoreProxy, str]
Source code
283 284 285 |
|
get_plugin staticmethod
¶
get_plugin(func: FunctionProxy) -> tuple[PluginProxy, str]
Source code
279 280 281 |
|
get_vs_core staticmethod
¶
get_vs_core(core: CoreProxy) -> Core
Source code
256 257 258 259 260 261 262 263 264 265 266 267 268 269 |
|
get_vs_function staticmethod
¶
get_vs_function(func: FunctionProxy) -> Function
Source code
271 272 273 274 275 276 277 |
|
clear_cache ¶
clear_cache() -> None
Source code
168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
|
register_on_creation ¶
Register a callback on every core creation.
Source code
150 151 152 153 154 155 156 157 158 159 |
|
unregister_on_creation ¶
unregister_on_creation(callback: Callable[..., None]) -> None
Unregister this callback from every core creation.
Source code
162 163 164 165 |
|
vstools_isinstance ¶
vstools_isinstance(
__obj: object,
__class_or_tuple: (
type | UnionType | tuple[type | UnionType | tuple[Any, ...], ...]
),
) -> bool
Source code
288 289 290 291 292 293 294 295 296 297 |
|