GstTimedValueControlSource
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.
GstControlPoint
An internal structure for value+time and various temporary values used for interpolation. This "inherits" from GstTimedValue.
Members
timestamp
(GstClockTime)
–
timestamp of the value change
value
(gdouble)
–
the new value
cache.cubic.h
(gdouble)
–
cache.cubic.z
(gdouble)
–
c1s
(gdouble)
–
c2s
(gdouble)
–
c3s
(gdouble)
–
_gst_reserved
(guint8 *)
–
GstController.ControlPoint
An internal structure for value+time and various temporary values used for interpolation. This "inherits" from GstTimedValue.
Methods
gst_control_point_copy
GstControlPoint * gst_control_point_copy (GstControlPoint * cp)
Copies a GstControlPoint
Parameters:
cp
–
The control point to copy
A copy of cp
GstController.ControlPoint.prototype.copy
function GstController.ControlPoint.prototype.copy(): {
// javascript wrapper for 'gst_control_point_copy'
}
Copies a GstController.ControlPoint
Parameters:
The control point to copy
A copy of cp
GstController.ControlPoint.copy
def GstController.ControlPoint.copy (self):
#python wrapper for 'gst_control_point_copy'
Copies a GstController.ControlPoint
Parameters:
The control point to copy
A copy of cp
gst_control_point_free
gst_control_point_free (GstControlPoint * cp)
Frees all data allocated by a GstControlPoint instance.
Parameters:
cp
–
the object to free
GstController.ControlPoint.prototype.free
function GstController.ControlPoint.prototype.free(): {
// javascript wrapper for 'gst_control_point_free'
}
Frees all data allocated by a GstController.ControlPoint instance.
Parameters:
the object to free
GstController.ControlPoint.free
def GstController.ControlPoint.free (self):
#python wrapper for 'gst_control_point_free'
Frees all data allocated by a GstController.ControlPoint instance.
Parameters:
the object to free
GstTimedValueControlSource
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstControlSource ╰──GstTimedValueControlSource ╰──GstInterpolationControlSource ╰──GstTriggerControlSource
The instance structure of GstControlSource.
Members
parent
(GstControlSource)
–
lock
(GMutex)
–
values
(GSequence *)
–
nvalues
(gint)
–
valid_cache
(gboolean)
–
Class structure
GstTimedValueControlSourceClass
Fields
parent_class
(GstControlSourceClass)
–
GstController.TimedValueControlSourceClass
Attributes
parent_class
(Gst.ControlSourceClass)
–
GstController.TimedValueControlSourceClass
Attributes
parent_class
(Gst.ControlSourceClass)
–
GstController.TimedValueControlSource
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.ControlSource ╰──GstController.TimedValueControlSource ╰──GstController.InterpolationControlSource ╰──GstController.TriggerControlSource
The instance structure of Gst.ControlSource.
Members
parent
(Gst.ControlSource)
–
lock
(GLib.Mutex)
–
values
(GLib.Sequence)
–
nvalues
(Number)
–
valid_cache
(Number)
–
GstController.TimedValueControlSource
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──Gst.ControlSource ╰──GstController.TimedValueControlSource ╰──GstController.InterpolationControlSource ╰──GstController.TriggerControlSource
The instance structure of Gst.ControlSource.
Members
parent
(Gst.ControlSource)
–
lock
(GLib.Mutex)
–
values
(GLib.Sequence)
–
nvalues
(int)
–
valid_cache
(bool)
–
Methods
gst_timed_value_control_source_find_control_point_iter
GSequenceIter * gst_timed_value_control_source_find_control_point_iter (GstTimedValueControlSource * self, GstClockTime timestamp)
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.
Parameters:
self
–
the control source to search in
timestamp
–
the search key
the found GSequenceIter or NULL
GstController.TimedValueControlSource.prototype.find_control_point_iter
function GstController.TimedValueControlSource.prototype.find_control_point_iter(timestamp: Number): {
// javascript wrapper for 'gst_timed_value_control_source_find_control_point_iter'
}
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.
Parameters:
the control source to search in
the search key
the found GLib.SequenceIter or null
GstController.TimedValueControlSource.find_control_point_iter
def GstController.TimedValueControlSource.find_control_point_iter (self, timestamp):
#python wrapper for 'gst_timed_value_control_source_find_control_point_iter'
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, None is returned.
For use in control source implementations.
Parameters:
the control source to search in
the search key
the found GLib.SequenceIter or None
gst_timed_value_control_source_get_all
GList * gst_timed_value_control_source_get_all (GstTimedValueControlSource * self)
Returns a read-only copy of the list of GstTimedValue for the given property. Free the list after done with it.
Parameters:
self
–
the GstTimedValueControlSource to get the list from
a copy of the list, or NULL if the property isn't handled by the controller
GstController.TimedValueControlSource.prototype.get_all
function GstController.TimedValueControlSource.prototype.get_all(): {
// javascript wrapper for 'gst_timed_value_control_source_get_all'
}
Returns a read-only copy of the list of Gst.TimedValue for the given property. Free the list after done with it.
Parameters:
the GstController.TimedValueControlSource to get the list from
a copy of the list, or null if the property isn't handled by the controller
GstController.TimedValueControlSource.get_all
def GstController.TimedValueControlSource.get_all (self):
#python wrapper for 'gst_timed_value_control_source_get_all'
Returns a read-only copy of the list of Gst.TimedValue for the given property. Free the list after done with it.
Parameters:
the GstController.TimedValueControlSource to get the list from
a copy of the list, or None if the property isn't handled by the controller
gst_timed_value_control_source_get_count
gint gst_timed_value_control_source_get_count (GstTimedValueControlSource * self)
Get the number of control points that are set.
Parameters:
self
–
the GstTimedValueControlSource to get the number of values from
the number of control points that are set.
GstController.TimedValueControlSource.prototype.get_count
function GstController.TimedValueControlSource.prototype.get_count(): {
// javascript wrapper for 'gst_timed_value_control_source_get_count'
}
Get the number of control points that are set.
Parameters:
the GstController.TimedValueControlSource to get the number of values from
the number of control points that are set.
GstController.TimedValueControlSource.get_count
def GstController.TimedValueControlSource.get_count (self):
#python wrapper for 'gst_timed_value_control_source_get_count'
Get the number of control points that are set.
Parameters:
the GstController.TimedValueControlSource to get the number of values from
the number of control points that are set.
gst_timed_value_control_source_set
gboolean gst_timed_value_control_source_set (GstTimedValueControlSource * self, GstClockTime timestamp, const gdouble value)
Set the value of given controller-handled property at a certain time.
Parameters:
self
–
the GstTimedValueControlSource object
timestamp
–
the time the control-change is scheduled for
value
–
the control-value
FALSE if the values couldn't be set, TRUE otherwise.
GstController.TimedValueControlSource.prototype.set
function GstController.TimedValueControlSource.prototype.set(timestamp: Number, value: Number): {
// javascript wrapper for 'gst_timed_value_control_source_set'
}
Set the value of given controller-handled property at a certain time.
Parameters:
the GstController.TimedValueControlSource object
the time the control-change is scheduled for
the control-value
FALSE if the values couldn't be set, TRUE otherwise.
GstController.TimedValueControlSource.set
def GstController.TimedValueControlSource.set (self, timestamp, value):
#python wrapper for 'gst_timed_value_control_source_set'
Set the value of given controller-handled property at a certain time.
Parameters:
the GstController.TimedValueControlSource object
the time the control-change is scheduled for
the control-value
FALSE if the values couldn't be set, TRUE otherwise.
gst_timed_value_control_source_set_from_list
gboolean gst_timed_value_control_source_set_from_list (GstTimedValueControlSource * self, const GSList * timedvalues)
Sets multiple timed values at once.
Parameters:
self
–
the GstTimedValueControlSource object
timedvalues
(
[transfer: none][element-typeGstTimedValue])
–
a list with GstTimedValue items
FALSE if the values couldn't be set, TRUE otherwise.
GstController.TimedValueControlSource.prototype.set_from_list
function GstController.TimedValueControlSource.prototype.set_from_list(timedvalues: GLib.SList): {
// javascript wrapper for 'gst_timed_value_control_source_set_from_list'
}
Sets multiple timed values at once.
FALSE if the values couldn't be set, TRUE otherwise.
GstController.TimedValueControlSource.set_from_list
def GstController.TimedValueControlSource.set_from_list (self, timedvalues):
#python wrapper for 'gst_timed_value_control_source_set_from_list'
Sets multiple timed values at once.
FALSE if the values couldn't be set, TRUE otherwise.
gst_timed_value_control_source_unset
gboolean gst_timed_value_control_source_unset (GstTimedValueControlSource * self, GstClockTime timestamp)
Used to remove the value of given controller-handled property at a certain time.
Parameters:
self
–
the GstTimedValueControlSource object
timestamp
–
the time the control-change should be removed from
FALSE if the value couldn't be unset (i.e. not found, TRUE otherwise.
GstController.TimedValueControlSource.prototype.unset
function GstController.TimedValueControlSource.prototype.unset(timestamp: Number): {
// javascript wrapper for 'gst_timed_value_control_source_unset'
}
Used to remove the value of given controller-handled property at a certain time.
Parameters:
the GstController.TimedValueControlSource object
the time the control-change should be removed from
FALSE if the value couldn't be unset (i.e. not found, TRUE otherwise.
GstController.TimedValueControlSource.unset
def GstController.TimedValueControlSource.unset (self, timestamp):
#python wrapper for 'gst_timed_value_control_source_unset'
Used to remove the value of given controller-handled property at a certain time.
Parameters:
the GstController.TimedValueControlSource object
the time the control-change should be removed from
FALSE if the value couldn't be unset (i.e. not found, TRUE otherwise.
gst_timed_value_control_source_unset_all
gst_timed_value_control_source_unset_all (GstTimedValueControlSource * self)
Used to remove all time-stamped values of given controller-handled property
Parameters:
self
–
the GstTimedValueControlSource object
GstController.TimedValueControlSource.prototype.unset_all
function GstController.TimedValueControlSource.prototype.unset_all(): {
// javascript wrapper for 'gst_timed_value_control_source_unset_all'
}
Used to remove all time-stamped values of given controller-handled property
Parameters:
the GstController.TimedValueControlSource object
GstController.TimedValueControlSource.unset_all
def GstController.TimedValueControlSource.unset_all (self):
#python wrapper for 'gst_timed_value_control_source_unset_all'
Used to remove all time-stamped values of given controller-handled property
Parameters:
the GstController.TimedValueControlSource object
Signals
value-added
value_added_callback (GstTimedValueControlSource * self, GstControlPoint * timed_value, gpointer user_data)
Emitted right after the new value has been added to self
Parameters:
self
–
The GstTimedValueControlSource into which a GstTimedValue has been added
timed_value
–
The newly added GstTimedValue
user_data
–
Flags: Run First
Since : 1.6
value-added
function value_added_callback(self: GstController.TimedValueControlSource, timed_value: GstController.ControlPoint, user_data: Object): {
// javascript callback for the 'value-added' signal
}
Emitted right after the new value has been added to self
Parameters:
The GstController.TimedValueControlSource into which a Gst.TimedValue has been added
The newly added Gst.TimedValue
Flags: Run First
Since : 1.6
value-added
def value_added_callback (self, timed_value, *user_data):
#python callback for the 'value-added' signal
Emitted right after the new value has been added to self
Parameters:
The GstController.TimedValueControlSource into which a Gst.TimedValue has been added
The newly added Gst.TimedValue
Flags: Run First
Since : 1.6
value-changed
value_changed_callback (GstTimedValueControlSource * self, GstControlPoint * timed_value, gpointer user_data)
Emitted right after the new value has been set on timed_signals
Parameters:
self
–
The GstTimedValueControlSource on which a GstTimedValue has changed
timed_value
–
The GstTimedValue where the value changed
user_data
–
Flags: Run First
Since : 1.6
value-changed
function value_changed_callback(self: GstController.TimedValueControlSource, timed_value: GstController.ControlPoint, user_data: Object): {
// javascript callback for the 'value-changed' signal
}
Emitted right after the new value has been set on timed_signals
Parameters:
The GstController.TimedValueControlSource on which a Gst.TimedValue has changed
The Gst.TimedValue where the value changed
Flags: Run First
Since : 1.6
value-changed
def value_changed_callback (self, timed_value, *user_data):
#python callback for the 'value-changed' signal
Emitted right after the new value has been set on timed_signals
Parameters:
The GstController.TimedValueControlSource on which a Gst.TimedValue has changed
The Gst.TimedValue where the value changed
Flags: Run First
Since : 1.6
value-removed
value_removed_callback (GstTimedValueControlSource * self, GstControlPoint * timed_value, gpointer user_data)
Emitted when timed_value is removed from self
Parameters:
self
–
The GstTimedValueControlSource from which a GstTimedValue has been removed
timed_value
–
The removed GstTimedValue
user_data
–
Flags: Run First
Since : 1.6
value-removed
function value_removed_callback(self: GstController.TimedValueControlSource, timed_value: GstController.ControlPoint, user_data: Object): {
// javascript callback for the 'value-removed' signal
}
Emitted when timed_value is removed from self
Parameters:
The GstController.TimedValueControlSource from which a Gst.TimedValue has been removed
The removed Gst.TimedValue
Flags: Run First
Since : 1.6
value-removed
def value_removed_callback (self, timed_value, *user_data):
#python callback for the 'value-removed' signal
Emitted when timed_value is removed from self
Parameters:
The GstController.TimedValueControlSource from which a Gst.TimedValue has been removed
The removed Gst.TimedValue
Flags: Run First
Since : 1.6
Functions
gst_timed_value_control_invalidate_cache
gst_timed_value_control_invalidate_cache (GstTimedValueControlSource * self)
Reset the controlled value cache.
Parameters:
self
–
GstController.prototype.timed_value_control_invalidate_cache
function GstController.prototype.timed_value_control_invalidate_cache(self: GstController.TimedValueControlSource): {
// javascript wrapper for 'gst_timed_value_control_invalidate_cache'
}
Reset the controlled value cache.
Parameters:
GstController.timed_value_control_invalidate_cache
def GstController.timed_value_control_invalidate_cache (self):
#python wrapper for 'gst_timed_value_control_invalidate_cache'
Reset the controlled value cache.
Parameters:
Function Macros
GST_TIMED_VALUE_CONTROL_SOURCE_LOCK
#define GST_TIMED_VALUE_CONTROL_SOURCE_LOCK(o) \ g_mutex_lock(&((GstTimedValueControlSource *)o)->lock)
GST_TIMED_VALUE_CONTROL_SOURCE_UNLOCK
#define GST_TIMED_VALUE_CONTROL_SOURCE_UNLOCK(o) \ g_mutex_unlock(&((GstTimedValueControlSource *)o)->lock)
Constants
GST_TYPE_TIMED_VALUE_CONTROL_SOURCE
#define GST_TYPE_TIMED_VALUE_CONTROL_SOURCE \ (gst_timed_value_control_source_get_type ())
The results of the search are