mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
b38d9a945b
Original commit message from CVS: A rather large patch: - changed the API for the padtemplates: - remove the factories (array of pointers) for the padtemplates, properties and caps. The static array was a nice idea but converting all the property values to a gpointer was not a good idea. float properties were not possible, and casting a gint to a pointer is not very portable. The new API just uses the _padtemplate_new, _caps_new and _props_new functions to create the templates. This has the added benefit that the API is now uniform for static and dynamic templates and that the code can be made cleaner. - lots of cleanups in the way the capabilities are constructed (va_list) - lots of updates for all the plugins (new API) - docs updates (new API) - removed the videoraw docs.
267 lines
3 KiB
Text
267 lines
3 KiB
Text
<!-- ##### SECTION Title ##### -->
|
|
GstProps
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Properties
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
GstProps is used to attach certain properties to a pad. Properties
|
|
are usually used in conjunction with GstCaps.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
GstCaps
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GstProps ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@refcount:
|
|
@lock:
|
|
@properties: the properties
|
|
|
|
<!-- ##### MACRO GST_MAKE_FOURCC ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@a:
|
|
@b:
|
|
@c:
|
|
@d:
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_LIST ##### -->
|
|
<para>
|
|
Create a list of properties.
|
|
</para>
|
|
|
|
@a...: the list of GstProps
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_INT ##### -->
|
|
<para>
|
|
Create an integer property.
|
|
</para>
|
|
|
|
@a: the integer property
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_INT_RANGE ##### -->
|
|
<para>
|
|
Create an integer range property.
|
|
</para>
|
|
|
|
@a: the min value for the range
|
|
@b: the max value for the range
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_FOURCC ##### -->
|
|
<para>
|
|
Construct a fourcc property out of four bytes.
|
|
</para>
|
|
|
|
@a: first byte
|
|
<!-- # Unused Parameters # -->
|
|
@b: second byte
|
|
@c: third byte
|
|
@d: fourth byte
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_BOOLEAN ##### -->
|
|
<para>
|
|
Create a boolean property.
|
|
</para>
|
|
|
|
@a: the boolean property
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_STRING ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@a:
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_FLOAT ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@a:
|
|
|
|
|
|
<!-- ##### MACRO GST_PROPS_FLOAT_RANGE ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@a:
|
|
@b:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@firstname:
|
|
@Varargs:
|
|
@Returns:
|
|
<!-- # Unused Parameters # -->
|
|
@entry:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_newv ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@firstname:
|
|
@var_args:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_merge ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@tomerge:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_copy ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_copy_on_write ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_destroy ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_ref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_unref ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_check_compatibility ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@fromprops:
|
|
@toprops:
|
|
@Returns:
|
|
<!-- # Unused Parameters # -->
|
|
@props1:
|
|
@props2:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_set ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@name:
|
|
@Varargs:
|
|
@Returns:
|
|
<!-- # Unused Parameters # -->
|
|
@entry:
|
|
@value:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_get_boolean ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@name:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_get_fourcc_int ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@name:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_get_int ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@name:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_get_string ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@name:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_save_thyself ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@props:
|
|
@parent:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gst_props_load_thyself ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@parent:
|
|
@Returns:
|
|
|
|
|