gstallocators.c.types
C types for gstallocators1 library
Types 11
Various flags to control the operation of the fd backed memory.
Private intance object for #GstDRMDumbAllocator.
GstAllocatorClass parentClassParent Class.Base class for allocators with dmabuf-backed memory
Base class for allocators with fd-backed memory
GstAllocator parentGstAllocatorClass parentClassMarker interface for allocators with physical address backed memory
GTypeInterface parentIfacesize_t function(GstPhysMemoryAllocator * allocator, GstMemory * mem) getPhysAddrImplementations shall return the physicall memory address that is backing the provided memory, or 0 if none.This is a subclass of #GstFdAllocator that implements the [gst.allocator.Allocator.alloc] method using memfd_create() when available, POSIX shm_open() otherwise. Platforms not supporting any of those (Windows) will always return null.
Note that allocating new shared memories has a significant performance cost, it is thus recommended to keep a pool of pre-allocated #GstMemory, using #GstBufferPool. For that reason, this allocator has the [gst.types.AllocatorFlags.NoCopy] flag set.
GstFdAllocatorClass parentClassParent Class.