GstData
Common structure for GstBuffer, GstBufferPool, and GstEvent
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
Check if a given flag is set on the data
@data: The data to check
@flag: The flag to check for
Set the flag on the data
@data: The data to set the flag on
@flag: The flag to set
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
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:
@data:
@Returns:
@data:
@count:
@Returns:
@data: