gstallocators.global
Global functions for gstallocators1 library
Functions 9
fn
int dmabufMemoryGetFd(gst.memory.Memory mem) nothrowReturn the file descriptor associated with mem.fn
gst.memory.Memory drmDumbMemoryExportDmabuf(gst.memory.Memory mem) nothrowExports a DMABuf from the DRM Bumb buffer object. One can check if this feature is supported using [gstallocators.drmdumb_allocator.DRMDumbAllocator.hasPrimeExport];fn
uint drmDumbMemoryGetHandle(gst.memory.Memory mem) nothrowReturn the DRM buffer object handle associated with mem.fn
int fdMemoryGetFd(gst.memory.Memory mem) nothrowGet the fd from mem. Call [gstallocators.global.isFdMemory] to check if mem has an fd.