A value mapping object that attaches multiple control sources to a guint
gobject properties representing a color. A control value of 0.0 will turn the
color component off and a value of 1.0 will be the color level.
Create a new control-binding that attaches the given #GstControlSource to the
#GObject property.
the new #GstARGBControlBinding
the object of the property
the property-name to attach the control source
the control source for the alpha channel
the control source for the red channel
the control source for the green channel
the control source for the blue channel
The class structure of #GstARGBControlBinding.
Parent class
An internal structure for value+time and various temporary
values used for interpolation. This "inherits" from
GstTimedValue.
timestamp of the value change
the new value
Frees all data allocated by a #GstControlPoint instance.
the object to free
A value mapping object that attaches control sources to gobject properties. It
will map the control values directly to the target property range. If a
non-absolute direct control binding is used, the value range [0.0 ... 1.0]
is mapped to full target property range, and all values outside the range
will be clipped. An absolute control binding will not do any value
transformations.
Create a new control-binding that attaches the #GstControlSource to the
#GObject property. It will map the control source range [0.0 ... 1.0] to
the full target property range, and clip all values outside this range.
the new #GstDirectControlBinding
the object of the property
the property-name to attach the control source
the control source
Create a new control-binding that attaches the #GstControlSource to the
#GObject property. It will directly map the control source values to the
target property range without any transformations.
the new #GstDirectControlBinding
the object of the property
the property-name to attach the control source
the control source
The class structure of #GstDirectControlBinding.
Parent class
Function to map a control-value to the target GValue.
the #GstDirectControlBinding instance
the value returned by the cotnrol source
the target GValue
Function to map a control-value to the target plain data type.
the #GstDirectControlBinding instance
the value returned by the cotnrol source
the target location
#GstInterpolationControlSource is a #GstControlSource, that interpolates values between user-given
control points. It supports several interpolation modes and property types.
To use #GstInterpolationControlSource get a new instance by calling
gst_interpolation_control_source_new(), bind it to a #GParamSpec and set some
control points by calling gst_timed_value_control_source_set().
All functions are MT-safe.
This returns a new, unbound #GstInterpolationControlSource.
a new, unbound #GstInterpolationControlSource.
The various interpolation modes available.
steps-like interpolation, default
linear interpolation
cubic interpolation (natural), may overshoot
the min or max values set by the control point, but is more 'curvy'
monotonic cubic interpolation, will not
produce any values outside of the min-max range set by the control points
(Since: 1.8)
#GstLFOControlSource is a #GstControlSource, that provides several periodic
waveforms as control values.
To use #GstLFOControlSource get a new instance by calling
gst_lfo_control_source_new(), bind it to a #GParamSpec and set the relevant
properties.
All functions are MT-safe.
This returns a new, unbound #GstLFOControlSource.
a new, unbound #GstLFOControlSource.
Specifies the amplitude for the waveform of this #GstLFOControlSource.
Specifies the frequency that should be used for the waveform
of this #GstLFOControlSource. It should be large enough
so that the period is longer than one nanosecond.
Specifies the value offset for the waveform of this #GstLFOControlSource.
Specifies the timeshift to the right that should be used for the waveform
of this #GstLFOControlSource in nanoseconds.
To get a n nanosecond shift to the left use
"(GST_SECOND / frequency) - n".
Specifies the waveform that should be used for this #GstLFOControlSource.
The various waveform modes available.
sine waveform
square waveform
saw waveform
reverse saw waveform
triangle waveform
A #GstControlBinding that forwards requests to another #GstControlBinding
#GstProxyControlBinding forwards all access to data or sync_values()
requests from @property_name on @object to the control binding at
@ref_property_name on @ref_object.
a new #GstControlBinding that proxies the control interface between
properties on different #GstObject's
a #GstObject
the property name in @object to control
a #GstObject to forward all
#GstControlBinding requests to
the property_name in @ref_object to control
Opaque #GstProxyControlBindingClass struct
Base class for #GstControlSource that use time-stamped values.
When overriding bind, chain up first to give this bind implementation a
chance to setup things.
All functions are MT-safe.
Find last value before given timestamp in control point list.
If all values in the control point list come after the given
timestamp or no values exist, %NULL is returned.
For use in control source implementations.
the found #GSequenceIter or %NULL
the control source to search in
the search key
Returns a read-only copy of the list of #GstTimedValue for the given property.
Free the list after done with it.
a copy
of the list, or %NULL if the property isn't handled by the controller
the #GstTimedValueControlSource to get the list from
Get the number of control points that are set.
the number of control points that are set.
the #GstTimedValueControlSource to get the number of values from
Set the value of given controller-handled property at a certain time.
FALSE if the values couldn't be set, TRUE otherwise.
the #GstTimedValueControlSource object
the time the control-change is scheduled for
the control-value
Sets multiple timed values at once.
FALSE if the values couldn't be set, TRUE otherwise.
the #GstTimedValueControlSource object
a list
with #GstTimedValue items
Used to remove the value of given controller-handled property at a certain
time.
FALSE if the value couldn't be unset (i.e. not found, TRUE otherwise.
the #GstTimedValueControlSource object
the time the control-change should be removed from
Used to remove all time-stamped values of given controller-handled property
the #GstTimedValueControlSource object
Emitted right after the new value has been added to @self
The newly added #GstTimedValue
Emitted right after the new value has been set on @timed_signals
The #GstTimedValue where the value changed
Emitted when @timed_value is removed from @self
The removed #GstTimedValue
#GstTriggerControlSource is a #GstControlSource, that returns values from user-given
control points. It allows for a tolerance on the time-stamps.
To use #GstTriggerControlSource get a new instance by calling
gst_trigger_control_source_new(), bind it to a #GParamSpec and set some
control points by calling gst_timed_value_control_source_set().
All functions are MT-safe.
This returns a new, unbound #GstTriggerControlSource.
a new, unbound #GstTriggerControlSource.
Reset the controlled value cache.
the #GstTimedValueControlSource