One storage-neutral video frame.
Binary storage owns its immutable BEAM binary and has no lease. Borrowed or reusable storage such as DMA-BUF carries a producer lifetime lease. Timestamps belong to the transport using the frame.
Summary
Functions
Builds a validated, tightly packed or explicitly strided binary frame.
Types
@type acquire_sync() :: :implicit | VideoInterop.SyncFile.t()
@type storage() :: VideoInterop.Binary.t() | VideoInterop.DMABuf.Descriptor.t()
@type t() :: %VideoInterop.Frame{ acquire_sync: acquire_sync(), coded_height: pos_integer(), coded_width: pos_integer(), format: VideoInterop.Format.t() | nil, lease: VideoInterop.Lease.t() | nil, storage: storage(), visible_rect: VideoInterop.Rect.t() }