gst.map_info

Module for [MapInfo] class

class MapInfo

Types 1

classMapInfo

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.

Fields
GstMapInfo _cInstance
Methods
void * _cPtr() nothrow
gst.memory.Memory memory() @property nothrowGet `memory` field. Returns: a pointer to the mapped memory
void memory(gst.memory.Memory propval) @property nothrowSet `memory` field. Params: propval = a pointer to the mapped memory
gst.types.MapFlags flags() @property nothrowGet `flags` field. Returns: flags used when mapping the memory
void flags(gst.types.MapFlags propval) @property nothrowSet `flags` field. Params: propval = flags used when mapping the memory
size_t size() @property nothrowGet `size` field. Returns: the valid size in @data
void size(size_t propval) @property nothrowSet `size` field. Params: propval = the valid size in @data
size_t maxsize() @property nothrowGet `maxsize` field. Returns: the maximum bytes in @data
void maxsize(size_t propval) @property nothrowSet `maxsize` field. Params: propval = the maximum bytes in @data
Constructors
this(void * ptr, Flag!"Take" take)