Skip to content

types

DT_T module-attribute

DT_T = TypeVar('DT_T')

FD_T module-attribute

FD_T = TypeVar('FD_T', bound=Any | SupportsKeysAndGetItem[str, object] | None)

OutputFunc_T module-attribute

OutputFunc_T = Union[
    Callable[[VideoFrame, int], VideoFrame],
    Callable[[tuple[VideoFrame, ...], int], VideoFrame],
]

FilterMode

Bases: CustomIntEnum

Async class-attribute instance-attribute

Async = 2

Async and parallelized requests

Parallel class-attribute instance-attribute

Parallel = 1

Parallel requests

Serial class-attribute instance-attribute

Serial = 0

Serial processing