|
void | reference () const |
| Increment the reference count for this object. More...
|
|
void | unreference () const |
| Decrement the reference count for this object. More...
|
|
GstMemory* | gobj () |
| Provides access to the underlying C instance. More...
|
|
const GstMemory* | gobj () const |
| Provides access to the underlying C instance. More...
|
|
GstMemory* | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
gsize | get_maxsize () const |
|
gsize | get_align () const |
|
gsize | get_offset () const |
|
gsize | get_size () const |
|
void | reference () const |
| Increment the reference count for this object. More...
|
|
void | unreference () const |
| Decrement the reference count for this object. More...
|
|
GstMiniObject* | gobj () |
| Provides access to the underlying C instance. More...
|
|
const GstMiniObject* | gobj () const |
| Provides access to the underlying C instance. More...
|
|
GstMiniObject* | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
| ~MiniObject () |
|
guint | get_flags () const |
|
void | set_flags (const guint& value) |
|
bool | lock (LockFlags flags) |
| Lock the mini-object with the specified access mode in flags. More...
|
|
void | unlock (LockFlags flags) |
| Unlock the mini-object with the specified access mode in flags. More...
|
|
bool | is_writable () const |
| If mini_object has the LOCKABLE flag set, check if the current EXCLUSIVE lock on object is the only one, this means that changes to the object will not be visible to any other object. More...
|
|
Glib::RefPtr< MiniObject > | create_writable () |
| Checks if a mini-object is writable. More...
|
|
GstMemory is a lightweight refcounted object that wraps a region of memory.
They are typically used to manage the data of a #GstBuffer.
A GstMemory object has an allocated region of memory of maxsize. The maximum size does not change during the lifetime of the memory object. The memory also has an offset and size property that specifies the valid range of memory in the allocated region.