Debian Codegraph @

av/filter/context.pyi

raw
1 from av.filter import Graph
2 from av.frame import Frame
3
4 class FilterContext:
5 name: str | None
6
7 def init(self, args: str | None = None, **kwargs: str | None) -> None: ...
8 def link_to(
9 self, input_: FilterContext, output_idx: int = 0, input_idx: int = 0
10 ) -> None: ...
11 @property
12 def graph(self) -> Graph: ...
13 def push(self, frame: Frame | None) -> None: ...
14 def pull(self) -> Frame: ...
15 def process_command(
16 self, cmd: str, arg: str | None = None, res_len: int = 1024, flags: int = 0
17 ) -> str | None: ...