av/video/plane.pyi
raw| 1 | from types import CapsuleType |
| 2 | |
| 3 | from av.plane import Plane |
| 4 | |
| 5 | from .frame import VideoFrame |
| 6 | |
| 7 | class VideoPlane(Plane): |
| 8 | line_size: int |
| 9 | width: int |
| 10 | height: int |
| 11 | buffer_size: int |
| 12 | |
| 13 | def __init__(self, frame: VideoFrame, index: int) -> None: ... |
| 14 | def __dlpack_device__(self) -> tuple[int, int]: ... |
| 15 | def __dlpack__(self, *, stream: int | None = None) -> CapsuleType: ... |