- public static Type array_get_type ()
- public static bool can_compare (Value value1, Value value2)
Determines if value1 and value2 can be compared.
- public static bool can_intersect (Value value1, Value value2)
Determines if intersecting two values will produce a valid result.
- public static bool can_subtract (Value minuend, Value subtrahend)
Checks if it's possible to subtract subtrahend from
minuend.
- public static bool can_union (Value value1, Value value2)
Determines if value1 and value2 can be
non-trivially unioned.
- public static int compare (Value value1, Value value2)
Compares value1 and value2.
- public static bool fraction_multiply (Value product, Value factor1, Value factor2)
Multiplies the two Value items containing a
GST_TYPE_FRACTION and sets product to the product of the two fractions.
- public static bool fraction_subtract (Value dest, Value minuend, Value subtrahend)
Subtracts the subtrahend from the minuend and sets
dest to the result.
- public static bool intersect (Value dest, Value value1, Value value2)
Calculates the intersection of two values.
- public static Type list_get_type ()
- public static uint make_fourcc (char a, char b, char c, char d)
- public static void register (ValueTable table)
Registers functions to perform calculations on Value
items of a given type.
- public static void register_intersect_func (Type type1, Type type2, ValueIntersectFunc func)
Registers a function that is called to calculate the intersection of the
values having the types type1 and type2.
- public static void register_subtract_func (Type minuend_type, Type subtrahend_type, ValueSubtractFunc func)
Registers func as a function capable of subtracting the values
of subtrahend_type from values of minuend_type.
- public static void register_union_func (Type type1, Type type2, ValueUnionFunc func)
Registers a union function that can create a union between
Value items of the type type1 and type2.
- public static uint str_fourcc (string str)
- public static bool subtract (Value dest, Value minuend, Value subtrahend)
Subtracts subtrahend from minuend and stores the
result in dest.
- public static bool union (Value dest, Value value1, Value value2)
Creates a GValue corresponding to the union of value1 and
value2.
- public void array_append_value (Value append_value)
Appends append_value to the GstValueArray in value
.
- public uint array_get_size ()
Gets the number of values contained in value.
- public unowned Value? array_get_value (uint index)
Gets the value that is a member of the array contained in value
and has the index index.
- public void array_prepend_value (Value prepend_value)
Prepends prepend_value to the GstValueArray in value
.
- public bool deserialize (string src)
Tries to deserialize a string into the type specified by the given GValue.
- public weak Buffer get_buffer ()
- public Caps get_caps ()
Gets the contents of value.
- public Date get_date ()
Gets the contents of value.
- public double get_double_range_max ()
Gets the maximum of the range specified by value.
- public double get_double_range_min ()
Gets the minimum of the range specified by value.
- public uint get_fourcc ()
Gets the uint32 fourcc
contained in value.
- public int get_fraction_denominator ()
Gets the denominator of the fraction specified by value.
- public int get_fraction_numerator ()
Gets the numerator of the fraction specified by value.
- public unowned Value? get_fraction_range_max ()
Gets the maximum of the range specified by value.
- public unowned Value? get_fraction_range_min ()
Gets the minimum of the range specified by value.
- public int get_int_range_max ()
Gets the maximum of the range specified by value.
- public int get_int_range_min ()
Gets the minimum of the range specified by value.
- public unowned Structure get_structure ()
Gets the contents of value.
- public void init_and_copy (Value src)
Initialises the target value to be of the same type as source and then
copies the contents from source to target.
- public bool is_fixed ()
Tests if the given GValue, if available in a GstStructure (or any other
container) contains a "fixed" (which means: one value) or an "unfixed" (which means: multiple possible values, such as data lists or data
ranges) value.
- public void list_append_value (Value append_value)
Appends append_value to the GstValueList in value.
- public void list_concat (Value value1, Value value2)
Concatenates copies of value1 and value2 into a
list.
- public uint list_get_size ()
Gets the number of values contained in value.
- public unowned Value? list_get_value (uint index)
Gets the value that is a member of the list contained in value
and has the index index.
- public void list_prepend_value (Value prepend_value)
Prepends prepend_value to the GstValueList in value
.
- public string serialize ()
tries to transform the given value into a string representation
that allows getting back this string later on using deserialize.
- public void set_buffer (Buffer b)
- public void set_caps (Caps caps)
Sets the contents of value to caps.
- public void set_date (Date date)
Sets the contents of value to correspond to date.
- public void set_double_range (double start, double end)
Sets value to the range specified by start and
end.
- public void set_fourcc (uint fourcc)
Sets value to fourcc.
- public void set_fraction (int numerator, int denominator)
Sets value to the fraction specified by numerator
over denominator.
- public void set_fraction_range (Value start, Value end)
Sets value to the range specified by start and
end.
- public void set_fraction_range_full (int numerator_start, int denominator_start, int numerator_end, int denominator_end)
Sets value to the range specified by numerator_start
/denominator_start and numerator_end/denominator_end.
- public void set_int_range (int start, int end)
Sets value to the range specified by start and
end.
- public void set_structure (Structure structure)
Sets the contents of value to structure.
- public void take_buffer (Buffer b)