gststructure.h   gststructure.h 
skipping to change at line 26 skipping to change at line 26
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GST_STRUCTURE_H__ #ifndef __GST_STRUCTURE_H__
#define __GST_STRUCTURE_H__ #define __GST_STRUCTURE_H__
#include <gst/gstconfig.h> #include <gst/gstconfig.h>
#include <glib-object.h> #include <glib-object.h>
#include <gst/gstclock.h> #include <gst/gstclock.h>
#include <gst/gstdatetime.h>
#include <gst/glib-compat.h> #include <gst/glib-compat.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_TYPE_STRUCTURE (gst_structure_get_type ()) #define GST_TYPE_STRUCTURE (gst_structure_get_type ())
#define GST_STRUCTURE(object) ((GstStructure *)(object)) #define GST_STRUCTURE(object) ((GstStructure *)(object))
#define GST_IS_STRUCTURE(object) ((object) && (GST_STRUCTURE(object)- >type == GST_TYPE_STRUCTURE)) #define GST_IS_STRUCTURE(object) ((object) && (GST_STRUCTURE(object)- >type == GST_TYPE_STRUCTURE))
typedef struct _GstStructure GstStructure; typedef struct _GstStructure GstStructure;
skipping to change at line 98 skipping to change at line 99
GType gst_structure_get_type (void); GType gst_structure_get_type (void);
GstStructure * gst_structure_empty_new (const gchar * name); GstStructure * gst_structure_empty_new (const gchar * name);
GstStructure * gst_structure_id_empty_new (GQuark quark); GstStructure * gst_structure_id_empty_new (GQuark quark);
GstStructure * gst_structure_new (const gchar * name, GstStructure * gst_structure_new (const gchar * name,
const gchar * firstfield, const gchar * firstfield,
...); ...);
GstStructure * gst_structure_new_valist (const gchar * name, GstStructure * gst_structure_new_valist (const gchar * name,
const gchar * firstfield, const gchar * firstfield,
va_list varargs); va_list varargs);
GstStructure * gst_structure_id_new (GQuark
name_quark,
GQuark
field_quark,
...);
GstStructure * gst_structure_copy (const GstStruct ure *structure); GstStructure * gst_structure_copy (const GstStruct ure *structure);
void gst_structure_set_parent_refcount (GstStructure *structure, void gst_structure_set_parent_refcount (GstStructure *structure,
gint *refcount); gint *refcount);
void gst_structure_free (GstStructure *structure); void gst_structure_free (GstStructure *structure);
G_CONST_RETURN gchar * gst_structure_get_name (const GstStruct ure *structure); G_CONST_RETURN gchar * gst_structure_get_name (const GstStruct ure *structure);
GQuark gst_structure_get_name_id (const GstStructu re *structure); GQuark gst_structure_get_name_id (const GstStructu re *structure);
gboolean gst_structure_has_name (const GstStruct ure *structure, gboolean gst_structure_has_name (const GstStruct ure *structure,
const gchar *name); const gchar *name);
void gst_structure_set_name (GstStructure *structure, void gst_structure_set_name (GstStructure *structure,
const gchar *name); const gchar *name);
void gst_structure_id_set_value (GstStructure *structure, void gst_structure_id_set_value (GstStructure *structure,
GQuark field, GQuark field,
const GValue *value); const GValue *value);
void gst_structure_set_value (GstStructure *structure, void gst_structure_set_value (GstStructure *structure,
const gchar *fieldname, const gchar *fieldname,
const GValue *value); const GValue *value);
void gst_structure_id_take_value (GstStructure
*structure,
GQuark
field,
GValue
*value);
void gst_structure_take_value (GstStructure
*structure,
const gchar
*fieldname,
GValue
*value);
void gst_structure_set (GstStructure *structure, void gst_structure_set (GstStructure *structure,
const gchar *fieldname, const gchar *fieldname,
...) G_GNUC_NULL _TERMINATED; ...) G_GNUC_NULL _TERMINATED;
void gst_structure_set_valist (GstStructure *structure, void gst_structure_set_valist (GstStructure *structure,
const gchar *fieldname, const gchar *fieldname,
va_list varargs) ; va_list varargs) ;
void gst_structure_id_set (GstStructure *structure, void gst_structure_id_set (GstStructure *structure,
GQuark fieldname, GQuark fieldname,
...) G_GNUC_NULL _TERMINATED; ...) G_GNUC_NULL _TERMINATED;
void gst_structure_id_set_valist (GstStructure *structure, void gst_structure_id_set_valist (GstStructure *structure,
GQuark fieldname, GQuark fieldname,
va_list varargs) ; va_list varargs) ;
gboolean gst_structure_get_valist (const GstStruct
ure *structure,
const char
*first_fieldname,
va_list
args);
gboolean gst_structure_get (const GstStruct
ure *structure,
const char
*first_fieldname,
...) G_GNUC_NUL
L_TERMINATED;
gboolean gst_structure_id_get_valist (const GstStruct
ure *structure,
GQuark
first_field_id,
va_list
args);
gboolean gst_structure_id_get (const GstStruct
ure *structure,
GQuark
first_field_id,
...) G_GNUC_NUL
L_TERMINATED;
G_CONST_RETURN GValue * gst_structure_id_get_value (const GstStruct ure *structure, G_CONST_RETURN GValue * gst_structure_id_get_value (const GstStruct ure *structure,
GQuark field); GQuark field);
G_CONST_RETURN GValue * gst_structure_get_value (const GstStruct ure *structure, G_CONST_RETURN GValue * gst_structure_get_value (const GstStruct ure *structure,
const gchar *fieldname); const gchar *fieldname);
void gst_structure_remove_field (GstStructure *structure, void gst_structure_remove_field (GstStructure *structure,
const gchar *fieldname); const gchar *fieldname);
void gst_structure_remove_fields (GstStructure *structure, void gst_structure_remove_fields (GstStructure *structure,
const gchar *fieldname, const gchar *fieldname,
...) G_GNUC_NULL _TERMINATED; ...) G_GNUC_NULL _TERMINATED;
void gst_structure_remove_fields_valist (GstStructure *structure, void gst_structure_remove_fields_valist (GstStructure *structure,
skipping to change at line 156 skipping to change at line 182
GType gst_structure_get_field_type (const GstStruct ure *structure, GType gst_structure_get_field_type (const GstStruct ure *structure,
const gchar *fieldname); const gchar *fieldname);
gboolean gst_structure_foreach (const GstStruct ure *structure, gboolean gst_structure_foreach (const GstStruct ure *structure,
GstStructureFore achFunc func, GstStructureFore achFunc func,
gpointer user_data); gpointer user_data);
gboolean gst_structure_map_in_place (GstStructure *structure, gboolean gst_structure_map_in_place (GstStructure *structure,
GstStructureMapF unc func, GstStructureMapF unc func,
gpointer user_data); gpointer user_data);
gint gst_structure_n_fields (const GstStruct ure *structure); gint gst_structure_n_fields (const GstStruct ure *structure);
const gchar * gst_structure_nth_field_name (const GstStruct ure *structure, guint index); const gchar * gst_structure_nth_field_name (const GstStruct ure *structure, guint index);
gboolean gst_structure_id_has_field (const GstStruct
ure *structure,
GQuark
field);
gboolean gst_structure_id_has_field_typed (const GstStruct
ure *structure,
GQuark
field,
GType
type);
gboolean gst_structure_has_field (const GstStruct ure *structure, gboolean gst_structure_has_field (const GstStruct ure *structure,
const gchar *fieldname); const gchar *fieldname);
gboolean gst_structure_has_field_typed (const GstStruct ure *structure, gboolean gst_structure_has_field_typed (const GstStruct ure *structure,
const gchar *fieldname, const gchar *fieldname,
GType type); GType type);
/* utility functions */ /* utility functions */
gboolean gst_structure_get_boolean (const GstStruct ure *structure, gboolean gst_structure_get_boolean (const GstStruct ure *structure,
const gchar *fieldname, const gchar *fieldname,
gboolean *value); gboolean *value);
skipping to change at line 181 skipping to change at line 212
guint *value); guint *value);
gboolean gst_structure_get_fourcc (const GstStruct ure *structure, gboolean gst_structure_get_fourcc (const GstStruct ure *structure,
const gchar *fieldname, const gchar *fieldname,
guint32 *value); guint32 *value);
gboolean gst_structure_get_double (const GstStruct ure *structure, gboolean gst_structure_get_double (const GstStruct ure *structure,
const gchar *fieldname, const gchar *fieldname,
gdouble *value); gdouble *value);
gboolean gst_structure_get_date (const GstStruct ure *structure, gboolean gst_structure_get_date (const GstStruct ure *structure,
const gchar *fieldname, const gchar *fieldname,
GDate **value); GDate **value);
gboolean gst_structure_get_date_time (const GstStruct
ure *structure,
const gchar
*fieldname,
GstDateTime
**value);
gboolean gst_structure_get_clock_time (const GstStruct ure *structure, gboolean gst_structure_get_clock_time (const GstStruct ure *structure,
const gchar *fieldname, const gchar *fieldname,
GstClockTime *value); GstClockTime *value);
G_CONST_RETURN gchar * gst_structure_get_string (const GstStruct ure *structure, G_CONST_RETURN gchar * gst_structure_get_string (const GstStruct ure *structure,
const gchar *fieldname); const gchar *fieldname);
gboolean gst_structure_get_enum (const GstStruct ure *structure, gboolean gst_structure_get_enum (const GstStruct ure *structure,
const gchar *fieldname, const gchar *fieldname,
GType enumtype, GType enumtype,
gint *value); gint *value);
gboolean gst_structure_get_fraction (const GstStruct ure *structure, gboolean gst_structure_get_fraction (const GstStruct ure *structure,
skipping to change at line 209 skipping to change at line 243
gboolean gst_structure_fixate_field_nearest_int (GstStru cture *structure, gboolean gst_structure_fixate_field_nearest_int (GstStru cture *structure,
con st char *field_name, con st char *field_name,
int target); int target);
gboolean gst_structure_fixate_field_nearest_double (GstStru cture *structure, gboolean gst_structure_fixate_field_nearest_double (GstStru cture *structure,
con st char *field_name, con st char *field_name,
dou ble target); dou ble target);
gboolean gst_structure_fixate_field_boolean (GstStructure * structure, gboolean gst_structure_fixate_field_boolean (GstStructure * structure,
con st char *field_name, con st char *field_name,
gbo olean target); gbo olean target);
gboolean gst_structure_fixate_field_string (GstStructure *s
tructure,
con
st char *field_name,
con
st gchar *target);
gboolean gst_structure_fixate_field_nearest_fraction (GstSt ructure *structure, gboolean gst_structure_fixate_field_nearest_fraction (GstSt ructure *structure,
con st char *field_name, con st char *field_name,
con st gint target_numerator, con st gint target_numerator,
con st gint target_denominator); con st gint target_denominator);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 7 change blocks. 
0 lines changed or deleted 68 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/