gstallocators.fd_allocator

Module for [FdAllocator] class

Types 3

Base class for allocators with fd-backed memory

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
FdAllocator self() nothrowReturns `this`, for use in `with` statements.
FdAllocatorGidBuilder builder() static nothrowGet builder for [gstallocators.fd_allocator.FdAllocator] Returns: New builder object
gst.memory.Memory alloc(gst.allocator.Allocator allocator, int fd, size_t size, gstallocators.types.FdMemoryFlags flags) static nothrowReturn a [gst.memory.Memory] that wraps a generic file descriptor.
Constructors
this(void * ptr, Flag!"Take" take)
this()Return a new fd allocator. Returns: a new fd allocator. Use [gst.object.ObjectWrap.unref] to release the allocator after usage
Methods
FdAllocator build() nothrowCreate object from builder. Returns: New object