GstData
Abstract structure for information that is passed among elements
This abstract structure provides a common base for #GstBuffer, #GstBufferPool
and #GstEvent. It is the main data type that is passed along in a pipeline.
GstData provides refcounting, freeing and copying for its child classes.
#GstBuffer, #GstBufferPool, #GstEvent
Cast a pointer to a GstData
@data: The pointer to cast
Get the type of the GstData
@data: The data to get the type of
Get the flags of this GstData
@data: The data to get the flags of
Shift a given flag so that it can be used in an or operation
@flag: The flag to shift
Unset the given flag
@data: The data to unset the flag of
@flag: The flag to unset
The base structure
@type: The type of this data.
@refcount: A refcount
@flags: The flags of this GstData
@free: A pointer to a custom free function
@copy: A pointer to a custom copy function
@_gst_reserved: for future extensions
The signature of the free function. Subclasses should provide a free function
with this signature and pass it in the gst_data_init() function.
@data: The GstData to free
The signature of the copy function. Subclasses should provide a copy function
with this signature and pass it in the gst_data_init() function.
@data: The GstData to copy
@Returns: A new GstData that is a copy of data
Various flags that can be set on a GstData
@GST_DATA_READONLY: The data is readonly
@GST_DATA_FLAG_LAST: Subclasses can add additional flags starting from this offset
Get access to the refcount field of the GstData
@data: The GstData to get the refcount field of
Get the current refcount value
@data: The GstData to query
Get access to the copy function of the data
@data: The data to query
Get access to the free function of the data
@data: The data to query
@data:
@type:
@flags:
@free:
@copy:
@data:
@data:
@target:
@data:
@Returns:
@data:
@Returns:
@data:
@Returns:
@data:
@Returns:
@data:
@count:
@Returns:
@data: