diff options
author | David Schleef <ds@schleef.org> | 2003-11-04 19:00:54 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-11-04 19:00:54 +0000 |
commit | 91b038973136ee8c5254690ac88ed9c536403d6e (patch) | |
tree | ec1a94e0e6d33e44a7d0a9dd52e323ad635fbf7d /gst/gstvalue.h | |
parent | b940244e5352f143622107f7ce2ed1d20e96a47c (diff) |
hacking. Add value_compare, value_union, and value_intersect functions
Original commit message from CVS:
hacking. Add value_compare, value_union, and value_intersect functions
Diffstat (limited to 'gst/gstvalue.h')
-rw-r--r-- | gst/gstvalue.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gst/gstvalue.h b/gst/gstvalue.h index fa9be7fa8..353e1dd27 100644 --- a/gst/gstvalue.h +++ b/gst/gstvalue.h @@ -24,6 +24,13 @@ G_BEGIN_DECLS +typedef int (* GstValueCompareFunc) (const GValue *value1, + const GValue *value2); +typedef int (* GstValueUnionFunc) (GValue *dest, const GValue *value1, + const GValue *value2); +typedef int (* GstValueIntersectFunc) (GValue *dest, const GValue *value1, + const GValue *value2); + #define GST_VALUE_HOLDS_FOURCC(x) TRUE #define GST_TYPE_FOURCC gst_type_fourcc @@ -38,8 +45,8 @@ void gst_value_set_fourcc (GValue *value, guint32 fourcc); guint32 gst_value_get_fourcc (const GValue *value); void gst_value_set_int_range (GValue *value, int start, int end); -int gst_value_get_int_range_start (const GValue *value); -int gst_value_get_int_range_end (const GValue *value); +int gst_value_get_int_range_min (const GValue *value); +int gst_value_get_int_range_max (const GValue *value); void gst_value_set_double_range (GValue *value, double start, double end); double gst_value_get_double_range_start (const GValue *value); |