gstallocators.dma_buf_allocator

Module for [DmaBufAllocator] class

Types 3

Base class for allocators with dmabuf-backed memory

Methods
GType _gType() @property
DmaBufAllocator self()Returns `this`, for use in `with` statements.
DmaBufAllocatorGidBuilder builder()Get builder for [gstallocators.dmabufallocator.DmaBufAllocator] Returns: New builder object
gst.memory.Memory alloc(gst.allocator.Allocator allocator, int fd, size_t size)Return a [gst.memory.Memory] that wraps a dmabuf file descriptor.
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.
Constructors
this(void * ptr, Flag!"Take" take)
this()Return a new dmabuf allocator. Returns: a new dmabuf allocator. Use [gst.object.ObjectWrap.unref] to release the allocator after usage

Fluent builder for [gstallocators.dma_buf_allocator.DmaBufAllocator]