gstallocators.global
Global functions for gstallocators1 library
Functions 9
fn
gst.memory.Memory drmDumbMemoryExportDmabuf(gst.memory.Memory mem)Exports 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)Return the DRM buffer object handle associated with mem.fn
int fdMemoryGetFd(gst.memory.Memory mem)Get the fd from mem. Call [gstallocators.global.isFdMemory] to check if mem has an fd.fn
bool isDrmDumbMemory(gst.memory.Memory mem)fn
bool isPhysMemory(gst.memory.Memory mem)fn
size_t physMemoryGetPhysAddr(gst.memory.Memory mem)