DmaBufAllocator

Base class for allocators with dmabuf-backed memory

Constructors

this
this(void* ptr, Flag!"Take" take)
this
this()

Return a new dmabuf allocator.

Members

Functions

self
DmaBufAllocator self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

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.

getGType
GType getGType()

Inherited Members

From FdAllocator

getGType
GType getGType()
gType
GType gType [@property getter]
self
FdAllocator self()

Returns this, for use in with statements.

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.