Download .venv/lib/python3.12/site-packages/av/codec/hwaccel.pyi from FaustDerLegende/split: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/av/codec/hwaccel.pyi
- Command line
-
hf download hf://datasets/FaustDerLegende/split/.venv/lib/python3.12/site-packages/av/codec/hwaccel.pyi
-
curl -L -o hwaccel.pyi https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/av/codec/hwaccel.pyi
1.53 kB
| from enum import IntEnum | |
| from typing import cast | |
| from av.codec.codec import Codec | |
| from av.video.format import VideoFormat | |
| class HWDeviceType(IntEnum): | |
| none = cast(int, ...) | |
| vdpau = cast(int, ...) | |
| cuda = cast(int, ...) | |
| vaapi = cast(int, ...) | |
| dxva2 = cast(int, ...) | |
| qsv = cast(int, ...) | |
| videotoolbox = cast(int, ...) | |
| d3d11va = cast(int, ...) | |
| drm = cast(int, ...) | |
| opencl = cast(int, ...) | |
| mediacodec = cast(int, ...) | |
| vulkan = cast(int, ...) | |
| d3d12va = cast(int, ...) | |
| class HWConfigMethod(IntEnum): | |
| none = cast(int, ...) | |
| hw_device_ctx = cast(int, ...) | |
| hw_frame_ctx = cast(int, ...) | |
| internal = cast(int, ...) | |
| ad_hoc = cast(int, ...) | |
| class HWConfig: | |
| def device_type(self) -> HWDeviceType: ... | |
| def format(self) -> VideoFormat | None: ... | |
| def methods(self) -> HWConfigMethod: ... | |
| def is_supported(self) -> bool: ... | |
| class HWAccel: | |
| options: dict[str, object] | |
| def is_hw_owned(self) -> bool: ... | |
| def device_id(self) -> int: ... | |
| def __init__( | |
| self, | |
| device_type: str | HWDeviceType, | |
| device: str | int | None = None, | |
| allow_software_fallback: bool = False, | |
| options: dict[str, object] | None = None, | |
| flags: int | None = None, | |
| is_hw_owned: bool = False, | |
| ) -> None: ... | |
| def create(self, codec: Codec, for_encoding: bool = False) -> HWAccel: ... | |
| def hwdevices_available() -> list[str]: ... | |