Appends append_value to the GstValueArray in value.
Gets the number of values contained in value.
Gets the value that is a member of the array contained in value and has the index index.
Prepends prepend_value to the GstValueArray in value.
Determines if value1 and value2 can be compared.
Determines if intersecting two values will produce a valid result. Two values will produce a valid intersection if they have the same type, or if there is a method (registered by gst_value_register_intersect_func()) to calculate the intersection.
Checks if it's possible to subtract subtrahend from minuend.
Determines if value1 and value2 can be non-trivially unioned. Any two values can be trivially unioned by adding both of them to a GstValueList. However, certain types have the possibility to be unioned in a simpler way. For example, an integer range and an integer can be unioned if the integer is a subset of the integer range. If there is the possibility that two values can be unioned, this function returns TRUE.
Compares value1 and value2. If value1 and value2 cannot be compared, the function returns GST_VALUE_UNORDERED. Otherwise, if value1 is greater than value2, GST_VALUE_GREATER_THAN is returned. If value1 is less than value2, GST_VALUE_LESS_THAN is returned. If the values are equal, GST_VALUE_EQUAL is returned.
Tries to deserialize a string into the type specified by the given GValue. If the operation succeeds, TRUE is returned, FALSE otherwise.
Fixate src into a new value dest. For ranges, the first element is taken. For lists and arrays, the first item is fixated and returned. If src is already fixed, this function returns FALSE.
Multiplies the two GValue items containing a GST_TYPE_FRACTION and sets product to the product of the two fractions.
Subtracts the subtrahend from the minuend and sets dest to the result.
Gets the bitmask specified by value.
Gets the contents of value. The reference count of the returned GstCaps will not be modified, therefore the caller must take one before getting rid of the value.
Gets the contents of value.
Gets the maximum of the range specified by value.
Gets the minimum of the range specified by value.
Gets the denominator of the fraction specified by value.
Gets the numerator of the fraction specified by value.
Gets the maximum of the range specified by value.
Gets the minimum of the range specified by value.
Gets the maximum of the range specified by value.
Gets the minimum of the range specified by value.
Gets the step of the range specified by value.
Gets the maximum of the range specified by value.
Gets the minimum of the range specified by value.
Gets the step of the range specified by value.
Gets the contents of value.
Initialises the target value to be of the same type as source and then copies the contents from source to target.
Calculates the intersection of two values. If the values have a non-empty intersection, the value representing the intersection is placed in dest, unless NULL. If the intersection is non-empty, dest is not modified.
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.
Check that value1 is a subset of value2. Return: TRUE is value1 is a subset of value2
Appends append_value to the GstValueList in value.
Concatenates copies of value1 and value2 into a list. Values that are not of type GST_TYPE_LIST are treated as if they were lists of length 1. dest will be initialized to the type GST_TYPE_LIST.
Gets the number of values contained in value.
Gets the value that is a member of the list contained in value and has the index index.
Merges copies of value1 and value2. Values that are not of type GST_TYPE_LIST are treated as if they were lists of length 1. The result will be put into dest and will either be a list that will not contain any duplicates, or a non-list type (if value1 and value2 were equal).
Prepends prepend_value to the GstValueList in value.
Registers functions to perform calculations on GValue items of a given type. Each type can only be added once.
tries to transform the given value into a string representation that allows getting back this string later on using gst_value_deserialize(). Free-function: g_free
Sets value to the bitmask specified by bitmask.
Sets the contents of value to caps. A reference to the provided caps will be taken by the value.
Sets the contents of value to features.
Sets value to the range specified by start and end.
Sets value to the fraction specified by numerator over denominator. The fraction gets reduced to the smallest numerator and denominator, and if necessary the sign is moved to the numerator.
Sets value to the range specified by start and end.
Sets value to the range specified by numerator_start/denominator_start and numerator_end/denominator_end.
Sets value to the range specified by start and end.
Sets value to the range specified by start, end and step.
Sets value to the range specified by start and end.
Sets value to the range specified by start, end and step.
Sets the contents of value to structure. The actual
Subtracts subtrahend from minuend and stores the result in dest. Note that this means subtraction as in sets, not as in mathematics.
Creates a GValue corresponding to the union of value1 and value2.
GValue implementations specific to GStreamer.
Note that operations on the same GValue from multiple threads may lead to undefined behaviour.
Last reviewed on 2008-03-11 (0.10.18)