- public bool can_compare (Value value1, Value value2)
Determines if value1
and value2
can be
compared.
- public bool can_intersect (Value value1, Value value2)
Determines if intersecting two values will produce a valid result.
- public bool can_subtract (Value minuend, Value subtrahend)
Checks if it's possible to subtract subtrahend
from
minuend
.
- public bool can_union (Value value1, Value value2)
Determines if value1
and value2
can be
non-trivially unioned.
- public int compare (Value value1, Value value2)
Compares value1
and value2
.
- public bool deserialize (ref Value dest, string src)
Tries to deserialize a string into the type specified by the given
GValue.
- public bool deserialize_with_pspec (ref Value dest, string src, ParamSpec? pspec)
Tries to deserialize a string into the type specified by the given
GValue.
- public bool fixate (Value dest, Value src)
Fixate src
into a new value dest
.
- public bool fraction_multiply (ref 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 bool fraction_subtract (ref Value dest, Value minuend, Value subtrahend)
Subtracts the subtrahend
from the minuend
and sets dest
to the result.
- public uint64 get_bitmask (Value value)
Gets the bitmask specified by value
.
- public unowned Caps get_caps (Value value)
Gets the contents of value
.
- public unowned CapsFeatures get_caps_features (Value value)
Gets the contents of value
.
- public double get_double_range_max (Value value)
Gets the maximum of the range specified by value
.
- public double get_double_range_min (Value value)
Gets the minimum of the range specified by value
.
- public uint get_flagset_flags (Value value)
Retrieve the flags field of a GstFlagSet value
.
- public uint get_flagset_mask (Value value)
Retrieve the mask field of a GstFlagSet value
.
- public int get_fraction_denominator (Value value)
Gets the denominator of the fraction specified by value
.
- public int get_fraction_numerator (Value value)
Gets the numerator of the fraction specified by value
.
- public unowned Value? get_fraction_range_max (Value value)
Gets the maximum of the range specified by value
.
- public unowned Value? get_fraction_range_min (Value value)
Gets the minimum of the range specified by value
.
- public int64 get_int64_range_max (Value value)
Gets the maximum of the range specified by value
.
- public int64 get_int64_range_min (Value value)
Gets the minimum of the range specified by value
.
- public int64 get_int64_range_step (Value value)
Gets the step of the range specified by value
.
- public int get_int_range_max (Value value)
Gets the maximum of the range specified by value
.
- public int get_int_range_min (Value value)
Gets the minimum of the range specified by value
.
- public int get_int_range_step (Value value)
Gets the step of the range specified by value
.
- public unowned Structure get_structure (Value value)
Gets the contents of value
.
- public void init_and_copy (ref Value dest, 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 intersect (out Value dest, Value value1, Value value2)
Calculates the intersection of two values.
- public bool is_fixed (Value value)
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 bool is_subset (Value value1, Value value2)
Check that value1
is a subset of value2
.
- public void register (ValueTable table)
Registers functions to perform calculations on
Value items of a given type.
- public string? serialize (Value value)
tries to transform the given value
into a string
representation that allows getting back this string later on using deserialize
.
- public void set_bitmask (ref Value value, uint64 bitmask)
Sets value
to the bitmask specified by bitmask
.
- public void set_caps (ref Value value, Caps caps)
Sets the contents of value
to caps
.
- public void set_caps_features (ref Value value, CapsFeatures features)
Sets the contents of value
to features
.
- public void set_double_range (ref Value value, double start, double end)
Sets value
to the range specified by start
and end
.
- public void set_flagset (ref Value value, uint flags, uint mask)
Sets value
to the flags and mask values provided in
flags
and mask
.
- public void set_fraction (ref Value value, int numerator, int denominator)
Sets value
to the fraction specified by numerator
over denominator
.
- public void set_fraction_range (ref Value value, Value start, Value end)
Sets value
to the range specified by start
and end
.
- public void set_fraction_range_full (ref Value value, 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_int64_range (ref Value value, int64 start, int64 end)
Sets value
to the range specified by start
and end
.
- public void set_int64_range_step (ref Value value, int64 start, int64 end, int64 step)
Sets value
to the range specified by start
,
end
and step
.
- public void set_int_range (ref Value value, int start, int end)
Sets value
to the range specified by start
and end
.
- public void set_int_range_step (ref Value value, int start, int end, int step)
Sets value
to the range specified by start
,
end
and step
.
- public void set_structure (ref Value value, Structure structure)
Sets the contents of value
to structure
.
- public bool subtract (out Value dest, Value minuend, Value subtrahend)
Subtracts subtrahend
from minuend
and stores
the result in dest
.
- public bool union (out Value dest, Value value1, Value value2)
Creates a GValue corresponding to the union of value1
and
value2
.