DmaBufAllocator

Base class for allocators with dmabuf-backed memory

Constructors

this
this()

Return a new dmabuf allocator.

Members

Static functions

alloc
gst.memory.Memory alloc(gst.allocator.Allocator allocator, int fd, size_t size)

Return a gst.memory.Memory that wraps a dmabuf file descriptor.

allocWithFlags
gst.memory.Memory allocWithFlags(gst.allocator.Allocator allocator, int fd, size_t size, gstallocators.types.FdMemoryFlags flags)

Return a gst.memory.Memory that wraps a dmabuf file descriptor.

Inherited Members

From FdAllocator

alloc
gst.memory.Memory alloc(gst.allocator.Allocator allocator, int fd, size_t size, gstallocators.types.FdMemoryFlags flags)

Return a gst.memory.Memory that wraps a generic file descriptor.