gstallocators.drmdumb_allocator
Module for [DRMDumbAllocator] class
Types 3
Private intance object for #GstDRMDumbAllocator.
Methods
DRMDumbAllocatorGidBuilder builder() static nothrowGet builder for [gstallocators.drmdumb_allocator.DRMDumbAllocator] Returns: New builder objectgstallocators.drmdumb_allocator.DRMDumbAllocator newWithDevicePath(string drmDevicePath) static nothrowCreates 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) static nothrowCreates 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) nothrowAllocated a DRM buffer object for the specific drm_fourcc, width and height. Note that the DRM Dumb allocation interface is agnostic to the pixel format. This drm_fourcc is converted into a bpp (bi...bool hasPrimeExport() nothrowThis function allow verifying if the driver support dma-buf exportation. Returns: true if the allocator support exporting dma-buf.Fluent builder implementation template for gstallocators.drmdumb_allocator.DRMDumbAllocator
Fluent builder for gstallocators.drmdumb_allocator.DRMDumbAllocator
Methods