Download .venv/lib/python3.12/site-packages/av/video/format.pyi from FaustDerLegende/split: direct link, hf CLI and curl.
- Browser
- Download file 805 Bytes
-
https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/av/video/format.pyi
- Command line
-
hf download hf://datasets/FaustDerLegende/split/.venv/lib/python3.12/site-packages/av/video/format.pyi
-
curl -L -o format.pyi https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/av/video/format.pyi
805 Bytes
| class VideoFormat: | |
| name: str | |
| bits_per_pixel: int | |
| padded_bits_per_pixel: int | |
| is_big_endian: bool | |
| has_palette: bool | |
| is_bit_stream: bool | |
| is_planar: bool | |
| width: int | |
| height: int | |
| @property | |
| def components(self) -> tuple[VideoFormatComponent, ...]: ... | |
| @property | |
| def is_rgb(self) -> bool: ... | |
| @property | |
| def is_bayer(self) -> bool: ... | |
| def __init__(self, name: str, width: int = 0, height: int = 0) -> None: ... | |
| def chroma_width(self, luma_width: int = 0) -> int: ... | |
| def chroma_height(self, luma_height: int = 0) -> int: ... | |
| class VideoFormatComponent: | |
| plane: int | |
| bits: int | |
| is_alpha: bool | |
| is_luma: bool | |
| is_chroma: bool | |
| width: int | |
| height: int | |
| def __init__(self, format: VideoFormat, index: int) -> None: ... | |