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

_getGType
GType _getGType()
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

_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.