VideoInterop.DMABuf.Object (video_interop v0.1.0)

Copy Markdown View Source

One DMA-BUF memory object referenced by a descriptor.

fd is borrowed and remains valid only while the enclosing frame lease is retained. Native consumers must duplicate it before asynchronous use.

Summary

Types

t()

@type t() :: %VideoInterop.DMABuf.Object{
  fd: non_neg_integer(),
  modifier: VideoInterop.DMABuf.Modifier.t(),
  size: pos_integer()
}