manpagez: man pages & more
html files: gst-plugins-base-libs-1.0
Home | html | info | man

GstPhysMemoryAllocator

GstPhysMemoryAllocator — Interface for allocators that pass around physical memory addresses

Includes

#include <gst/allocators/allocators.h>

Description

Functions

gst_is_phys_memory ()

gboolean
gst_is_phys_memory (GstMemory *mem);

Parameters

mem

a GstMemory

 

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

Parameters

mem

a GstMemory

 

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

See Also

GstMemory

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.