mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
1c0dbd87b9
Original commit message from CVS: * docs/gst/tmpl/gstcaps.sgml: * docs/gst/tmpl/gstfilesrc.sgml: * docs/gst/tmpl/gststructure.sgml: * docs/gst/tmpl/gstvalue.sgml: update for recent API changes * gst/gstcaps.c: (gst_caps_do_simplify): fix to stop trying with a freed structure * gst/gstpad.c: (gst_pad_link_fixate): simplify caps * gst/gstpad.c: (gst_pad_template_get_caps_by_name): remove C++ comment * gst/gstpad.h: deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway * gst/gststructure.c: (gst_structure_value_get_generic_type), (gst_structure_to_string): keep the correct type when using lists of ranges * gst/gstvalue.c: (gst_value_list_prepend_value), (gst_value_list_append_value): copy the value before adding to the list (d'oh) * gst/gstvalue.c: (gst_value_subtract_int_range_int), (gst_value_subtract_int_range_int_range): handle overflows correctly * gst/gstvalue.c: (gst_value_subtract_from_list): fix memleak * testsuite/caps/caps.h: add a caps that caused segfaults
542 lines
5.4 KiB
Text
542 lines
5.4 KiB
Text
<!-- ##### SECTION Title ##### -->
|
|
GstValue
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
GValue implementations specific to GStreamer
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### MACRO GST_MAKE_FOURCC ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@a:
|
|
@b:
|
|
@c:
|
|
@d:
|
|
|
|
|
|
<!-- ##### MACRO GST_STR_FOURCC ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@f:
|
|
|
|
|
|
<!-- ##### MACRO GST_FOURCC_FORMAT ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_FOURCC_ARGS ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@fourcc:
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_HOLDS_FOURCC ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_HOLDS_INT_RANGE ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_HOLDS_DOUBLE_RANGE ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_HOLDS_LIST ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_HOLDS_CAPS ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@x:
|
|
|
|
|
|
<!-- ##### MACRO GST_TYPE_FOURCC ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_TYPE_INT_RANGE ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_TYPE_DOUBLE_RANGE ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_TYPE_LIST ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_LESS_THAN ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_EQUAL ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_GREATER_THAN ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### MACRO GST_VALUE_UNORDERED ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstValueCompareFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstValueSerializeFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value1:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstValueDeserializeFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@s:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstValueUnionFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstValueIntersectFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### USER_FUNCTION GstValueSubtractFunc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@minuend:
|
|
@subtrahend:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### STRUCT GstValueTable ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@compare:
|
|
@serialize:
|
|
@deserialize:
|
|
@_gst_reserved:
|
|
|
|
<!-- ##### VARIABLE gst_type_fourcc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### VARIABLE gst_type_int_range ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### VARIABLE gst_type_double_range ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### VARIABLE gst_type_list ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gst_type_is_fixed ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_register ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@table:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_init_and_copy ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@src:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_serialize ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_deserialize ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@src:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_list_append_value ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@append_value:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_list_prepend_value ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@prepend_value:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_list_concat ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@value1:
|
|
@value2:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_list_get_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_list_get_value ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@index:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_set_fourcc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@fourcc:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_get_fourcc ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_set_int_range ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@start:
|
|
@end:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_get_int_range_min ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_get_int_range_max ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_set_double_range ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@start:
|
|
@end:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_get_double_range_min ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_get_double_range_max ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_get_caps ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_set_caps ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value:
|
|
@caps:
|
|
<!-- # Unused Parameters # -->
|
|
@calue:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_compare ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_can_compare ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_union ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_can_union ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_register_union_func ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type1:
|
|
@type2:
|
|
@func:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_subtract ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@minuend:
|
|
@subtrahend:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_can_subtract ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@minuend:
|
|
@subtrahend:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_register_subtract_func ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@minuend_type:
|
|
@subtrahend_type:
|
|
@func:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_intersect ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@dest:
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_can_intersect ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@value1:
|
|
@value2:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_value_register_intersect_func ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type1:
|
|
@type2:
|
|
@func:
|
|
|
|
|