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()
gst.memory.Memory memory() @propertyGet `memory` field. Returns: a pointer to the mapped memory
void memory(gst.memory.Memory propval) @propertySet `memory` field. Params: propval = a pointer to the mapped memory
gst.types.MapFlags flags() @propertyGet `flags` field. Returns: flags used when mapping the memory
void flags(gst.types.MapFlags propval) @propertySet `flags` field. Params: propval = flags used when mapping the memory
size_t size() @propertyGet `size` field. Returns: the valid size in @data
void size(size_t propval) @propertySet `size` field. Params: propval = the valid size in @data
size_t maxsize() @propertyGet `maxsize` field. Returns: the maximum bytes in @data
void maxsize(size_t propval) @propertySet `maxsize` field. Params: propval = the maximum bytes in @data
Constructors
this(void * ptr, Flag!"Take" take)