gstcontroller.h | gstcontroller.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __GST_CONTROLLER_H__ | #ifndef __GST_CONTROLLER_H__ | |||
#define __GST_CONTROLLER_H__ | #define __GST_CONTROLLER_H__ | |||
#include <string.h> | #include <string.h> | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <glib/gprintf.h> | #include <glib/gprintf.h> | |||
#include <gst/gst.h> | #include <gst/gst.h> | |||
#include "gstcontrolsource.h" | #include <gst/controller/gstcontrolsource.h> | |||
#include "gstinterpolationcontrolsource.h" | #include <gst/controller/gstinterpolationcontrolsource.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
/* type macros */ | /* type macros */ | |||
#define GST_TYPE_CONTROLLER (gst_controller_get_type ()) | #define GST_TYPE_CONTROLLER (gst_controller_get_type ()) | |||
#define GST_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G ST_TYPE_CONTROLLER, GstController)) | #define GST_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G ST_TYPE_CONTROLLER, GstController)) | |||
#define GST_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G ST_TYPE_CONTROLLER, GstControllerClass)) | #define GST_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G ST_TYPE_CONTROLLER, GstControllerClass)) | |||
#define GST_IS_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G ST_TYPE_CONTROLLER)) | #define GST_IS_CONTROLLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G ST_TYPE_CONTROLLER)) | |||
#define GST_IS_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G ST_TYPE_CONTROLLERE)) | #define GST_IS_CONTROLLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G ST_TYPE_CONTROLLERE)) | |||
skipping to change at line 93 | skipping to change at line 93 | |||
GstController *gst_controller_new_list (GObject * object, GList *list); | GstController *gst_controller_new_list (GObject * object, GList *list); | |||
GstController *gst_controller_new (GObject * object, ...) G_GNUC_NULL_TERMI NATED; | GstController *gst_controller_new (GObject * object, ...) G_GNUC_NULL_TERMI NATED; | |||
gboolean gst_controller_remove_properties_valist (GstController * self, | gboolean gst_controller_remove_properties_valist (GstController * self, | |||
va_list var_args); | va_list var_args); | |||
gboolean gst_controller_remove_properties_list (GstController * self, | gboolean gst_controller_remove_properties_list (GstController * self, | |||
GList *list); | GList *list); | |||
gboolean gst_controller_remove_properties (GstController * self, ...) G_GNU C_NULL_TERMINATED; | gboolean gst_controller_remove_properties (GstController * self, ...) G_GNU C_NULL_TERMINATED; | |||
void gst_controller_set_disabled (GstController *self, gboolean disabled); | void gst_controller_set_disabled (GstController *self, gboolean disabled); | |||
void gst_controller_set_property_disabled (GstController *self, gchar * pro | void gst_controller_set_property_disabled (GstController *self, const gchar | |||
perty_name, gboolean disabled); | * property_name, gboolean disabled); | |||
gboolean gst_controller_set_control_source (GstController *self, gchar * pr | gboolean gst_controller_set_control_source (GstController *self, const gcha | |||
operty_name, GstControlSource *csource); | r * property_name, GstControlSource *csource); | |||
GstControlSource * gst_controller_get_control_source (GstController *self, | GstControlSource * gst_controller_get_control_source (GstController *self, | |||
gchar * property_name); | const gchar * property_name); | |||
GstClockTime gst_controller_suggest_next_sync (GstController *self); | GstClockTime gst_controller_suggest_next_sync (GstController *self); | |||
gboolean gst_controller_sync_values (GstController * self, | gboolean gst_controller_sync_values (GstController * self, | |||
GstClockTime timestamp); | GstClockTime timestamp); | |||
GValue *gst_controller_get (GstController * self, gchar * property_name, | GValue *gst_controller_get (GstController * self, const gchar * property_na me, | |||
GstClockTime timestamp); | GstClockTime timestamp); | |||
gboolean gst_controller_get_value_arrays (GstController * self, | gboolean gst_controller_get_value_arrays (GstController * self, | |||
GstClockTime timestamp, GSList * value_arrays); | GstClockTime timestamp, GSList * value_arrays); | |||
gboolean gst_controller_get_value_array (GstController * self, | gboolean gst_controller_get_value_array (GstController * self, | |||
GstClockTime timestamp, GstValueArray * value_array); | GstClockTime timestamp, GstValueArray * value_array); | |||
/* GObject convenience functions */ | /* GObject convenience functions */ | |||
GstController *gst_object_control_properties (GObject * object, ...) G_GNUC _NULL_TERMINATED; | GstController *gst_object_control_properties (GObject * object, ...) G_GNUC _NULL_TERMINATED; | |||
gboolean gst_object_uncontrol_properties (GObject * object, ...) G_GNUC_NUL L_TERMINATED; | gboolean gst_object_uncontrol_properties (GObject * object, ...) G_GNUC_NUL L_TERMINATED; | |||
GstController *gst_object_get_controller (GObject * object); | GstController *gst_object_get_controller (GObject * object); | |||
gboolean gst_object_set_controller (GObject * object, GstController * contr oller); | gboolean gst_object_set_controller (GObject * object, GstController * contr oller); | |||
GstClockTime gst_object_suggest_next_sync (GObject * object); | GstClockTime gst_object_suggest_next_sync (GObject * object); | |||
gboolean gst_object_sync_values (GObject * object, GstClockTime timestamp); | gboolean gst_object_sync_values (GObject * object, GstClockTime timestamp); | |||
gboolean gst_object_set_control_source (GObject *object, gchar * property_n | gboolean gst_object_set_control_source (GObject *object, const gchar * prop | |||
ame, GstControlSource *csource); | erty_name, GstControlSource *csource); | |||
GstControlSource * gst_object_get_control_source (GObject *object, gchar * | GstControlSource * gst_object_get_control_source (GObject *object, const gc | |||
property_name); | har * property_name); | |||
gboolean gst_object_get_value_arrays (GObject * object, | gboolean gst_object_get_value_arrays (GObject * object, | |||
GstClockTime timestamp, GSList * value_arrays); | GstClockTime timestamp, GSList * value_arrays); | |||
gboolean gst_object_get_value_array (GObject * object, | gboolean gst_object_get_value_array (GObject * object, | |||
GstClockTime timestamp, GstValueArray * value_array); | GstClockTime timestamp, GstValueArray * value_array); | |||
GstClockTime gst_object_get_control_rate (GObject * object); | GstClockTime gst_object_get_control_rate (GObject * object); | |||
void gst_object_set_control_rate (GObject * object, GstClockTime control_ra te); | void gst_object_set_control_rate (GObject * object, GstClockTime control_ra te); | |||
/* lib init/done */ | /* lib init/done */ | |||
gboolean gst_controller_init (int * argc, char ***argv); | gboolean gst_controller_init (int * argc, char ***argv); | |||
/* FIXME: deprecated functions */ | /* FIXME: deprecated functions */ | |||
#ifndef GST_DISABLE_DEPRECATED | #ifndef GST_DISABLE_DEPRECATED | |||
gboolean gst_controller_set (GstController * self, gchar * property_name, | gboolean gst_controller_set (GstController * self, const gchar * property_n ame, | |||
GstClockTime timestamp, GValue * value); | GstClockTime timestamp, GValue * value); | |||
gboolean gst_controller_set_from_list (GstController * self, | gboolean gst_controller_set_from_list (GstController * self, | |||
gchar * property_name, GSList * timedvalues); | const gchar * property_name, GSList * timedvalues); | |||
gboolean gst_controller_unset (GstController * self, gchar * property_name, | gboolean gst_controller_unset (GstController * self, const gchar * property _name, | |||
GstClockTime timestamp); | GstClockTime timestamp); | |||
gboolean gst_controller_unset_all (GstController * self, gchar * property_n ame); | gboolean gst_controller_unset_all (GstController * self, const gchar * prop erty_name); | |||
const GList *gst_controller_get_all (GstController * self, | const GList *gst_controller_get_all (GstController * self, | |||
gchar * property_name); | const gchar * property_name); | |||
gboolean gst_controller_set_interpolation_mode (GstController * self, | gboolean gst_controller_set_interpolation_mode (GstController * self, | |||
gchar * property_name, GstInterpolateMode mode); | const gchar * property_name, GstInterpolateMode mode); | |||
#endif /* GST_DISABLE_DEPRECATED */ | #endif /* GST_DISABLE_DEPRECATED */ | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __GST_CONTROLLER_H__ */ | #endif /* __GST_CONTROLLER_H__ */ | |||
End of changes. 10 change blocks. | ||||
19 lines changed or deleted | 19 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |