GstPhysMemoryAllocator
GstPhysMemoryAllocator — Interface for allocators that pass around physical memory addresses
|
|
Includes
#include <gst/allocators/allocators.h>
Functions
gst_is_phys_memory ()
gboolean
gst_is_phys_memory (GstMemory *mem
);
Returns
whether the memory at mem
is backed by physical memory
Since: 1.14
gst_phys_memory_get_phys_addr ()
guintptr
gst_phys_memory_get_phys_addr (GstMemory *mem
);
Returns
Physical memory address that is backing mem
, or 0 if none
Since: 1.14
Types and Values
GstPhysMemoryAllocator
typedef struct _GstPhysMemoryAllocator GstPhysMemoryAllocator;
struct GstPhysMemoryAllocatorInterface
struct GstPhysMemoryAllocatorInterface {
GTypeInterface parent_iface;
guintptr (*get_phys_addr) (GstPhysMemoryAllocator * allocator, GstMemory * mem);
};
Marker interface for allocators with physical address backed memory
Since: 1.14