Beta/venv/lib/python3.12/site-packages/av/video/plane.pyi
2026-06-16 17:09:34 +00:00

15 lines
385 B
Python

from types import CapsuleType
from av.plane import Plane
from .frame import VideoFrame
class VideoPlane(Plane):
line_size: int
width: int
height: int
buffer_size: int
def __init__(self, frame: VideoFrame, index: int) -> None: ...
def __dlpack_device__(self) -> tuple[int, int]: ...
def __dlpack__(self, *, stream: int | None = None) -> CapsuleType: ...