2026-06-16 17:09:34 +00:00
|
|
|
from types import CapsuleType
|
|
|
|
|
|
2026-02-06 22:23:20 +01:00
|
|
|
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: ...
|
2026-06-16 17:09:34 +00:00
|
|
|
def __dlpack_device__(self) -> tuple[int, int]: ...
|
|
|
|
|
def __dlpack__(self, *, stream: int | None = None) -> CapsuleType: ...
|