generic ¶
BoundVSMapValue module-attribute
¶
BoundVSMapValue = TypeVar('BoundVSMapValue', bound=VSMapValue)
Type variable that can be one of the types in a VSMapValue.
HoldsPropValueT module-attribute
¶
HoldsPropValueT = Union[
FrameProps, VideoFrame, AudioFrame, VideoNode, AudioNode
]
Types that can hold :py:attr:vs.FrameProps
.
HoldsVideoFormatT module-attribute
¶
HoldsVideoFormatT = Union[VideoNode, VideoFrame, VideoFormat]
Types from which a clear VideoFormat can be retrieved.
VSFunction module-attribute
¶
VSFunction = (
VSFunctionNoArgs | VSFunctionArgs | VSFunctionKwArgs | VSFunctionAllArgs
)
Function that takes a :py:attr:vs.VideoNode
as its first argument and returns a :py:attr:vs.VideoNode
.
VSMapValue module-attribute
¶
Values that a VSMap can hold, so all that a :py:attr:`vs.Function`` can accept in args and can return.
VSMapValueCallback module-attribute
¶
VSMapValueCallback = Callable[..., VSMapValue]
Callback that can be held in a VSMap. It can only return values representable in a VSMap.
VideoFormatT module-attribute
¶
VideoFormatT = Union[VSPresetVideoFormat, VideoFormat]
Types representing a clear VideoFormat.