gstallocators.global

Undocumented in source.

Members

Functions

dmabufMemoryGetFd
int dmabufMemoryGetFd(gst.memory.Memory mem)

Return the file descriptor associated with mem.

drmDumbMemoryExportDmabuf
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;

drmDumbMemoryGetHandle
uint drmDumbMemoryGetHandle(gst.memory.Memory mem)

Return the DRM buffer object handle associated with mem.

fdMemoryGetFd
int fdMemoryGetFd(gst.memory.Memory mem)

Get the fd from mem. Call gstallocators.global.isFdMemory to check if mem has an fd.

isDmabufMemory
bool isDmabufMemory(gst.memory.Memory mem)

Check if mem is dmabuf memory.

isDrmDumbMemory
bool isDrmDumbMemory(gst.memory.Memory mem)
isFdMemory
bool isFdMemory(gst.memory.Memory mem)

Check if mem is memory backed by an fd

isPhysMemory
bool isPhysMemory(gst.memory.Memory mem)
physMemoryGetPhysAddr
size_t physMemoryGetPhysAddr(gst.memory.Memory mem)