2005-01-26 15:15:26 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GstDParamManager
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
dynamic parameter manager
|
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2005-02-22 13:44:28 +00:00
|
|
|
The manager provides a set of functions to work with #GstElements and their #GstDParams.
|
2005-01-26 15:15:26 +00:00
|
|
|
One can find out which dparams an element has, get the parameter specs and
|
|
|
|
pick a control change rate.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Some functions are meant for dparam implementor (plugin writers), where others
|
|
|
|
are for applications that use elements with dparams.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2005-07-15 11:04:18 +00:00
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
|
|
|
2005-01-26 15:15:26 +00:00
|
|
|
<!-- ##### STRUCT GstDParamManager ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GstDParamManager::new-required-dparam ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gstdparammanager: the object which received the signal.
|
|
|
|
@arg1:
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@name:
|
|
|
|
@parent:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_add_required_dparam_callback ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@param_spec:
|
|
|
|
@unit_name:
|
|
|
|
@update_func:
|
|
|
|
@update_data:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_add_required_dparam_direct ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@param_spec:
|
|
|
|
@unit_name:
|
|
|
|
@update_data:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_add_required_dparam_array ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@param_spec:
|
|
|
|
@unit_name:
|
|
|
|
@update_data:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_remove_required_dparam ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@dparam_name:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_attach_dparam ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@dparam_name:
|
|
|
|
@dparam:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_detach_dparam ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@dparam_name:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_get_dparam ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@dparam_name:
|
|
|
|
@Returns:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@name:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_get_dparam_type ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@dparam_name:
|
|
|
|
@Returns:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@name:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_list_dparam_specs ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_get_param_spec ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@dparam_name:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_set_rate ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@rate:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_register_mode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@klass:
|
|
|
|
@modename:
|
|
|
|
@preprocessfunc:
|
|
|
|
@processfunc:
|
|
|
|
@setupfunc:
|
|
|
|
@teardownfunc:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_set_mode ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@modename:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_set_parent ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@parent:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_get_manager ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@parent:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gst_dpman_bypass_dparam ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@dpman:
|
|
|
|
@dparam_name:
|
|
|
|
|
|
|
|
|