gstallocators.drmdumb_allocator

Module for [DRMDumbAllocator] class

Types 3

Private intance object for #GstDRMDumbAllocator.

Methods
GType _gType() @property
DRMDumbAllocator self()Returns `this`, for use in `with` statements.
DRMDumbAllocatorGidBuilder builder()Get builder for [gstallocators.drmdumb_allocator.DRMDumbAllocator] Returns: New builder object
string drmDevicePath() @property
int drmFd() @property
gstallocators.drmdumb_allocator.DRMDumbAllocator newWithDevicePath(string drmDevicePath)Creates a new #GstDRMDumbAllocator for the specific device path. This function can fail if the path does not exist, is not a DRM device or if the DRM device doesnot support DUMB allocation.
gstallocators.drmdumb_allocator.DRMDumbAllocator newWithFd(int drmFd)Creates a new #GstDRMDumbAllocator for the specific file desciptor. This function can fail if the file descriptor is not a DRM device or if the DRM device does not support DUMB allocation.
gst.memory.Memory alloc(uint drmFourcc, uint width, uint height, out uint outPitch)Allocated a DRM buffer object for the specific drmfourcc, width and height. Note that the DRM Dumb allocation interface is agnostic to the pixel format. This drmfourcc is converted into a bpp (bit-...
bool hasPrimeExport()This function allow verifying if the driver support dma-buf exportation. Returns: true if the allocator support exporting dma-buf.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gstallocators.drmdumb_allocator.DRMDumbAllocator]