GstMapInfo

A structure containing the result of a map operation such as gst.memory.Memory.map. It contains the data and size.

#GstMapInfo cannot be used with g_auto() because it is ambiguous whether it needs to be unmapped using gst.buffer.Buffer.unmap or gst.memory.Memory.unmap. Instead, #GstBufferMapInfo and #GstMemoryMapInfo can be used in that case.

Members

Variables

GstReserved
void*[4] GstReserved;
data
ubyte* data;

a pointer to the mapped data

flags
GstMapFlags flags;

flags used when mapping the memory

maxsize
size_t maxsize;

the maximum bytes in @data

memory
GstMemory* memory;

a pointer to the mapped memory

size
size_t size;

the valid size in @data

userData
void*[4] userData;

extra private user_data that the implementation of the memory can use to store extra info.