analyticsmeta: Make output struct annotation more explicit
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8489>
This commit is contained in:
parent
7b6ba90416
commit
3dc6abbe68
@ -465,7 +465,7 @@ new struct sub-classing GstAnalyticsRelatableMtd.</doc>
|
|||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Size required</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Size required</doc>
|
||||||
<type name="gsize" c:type="gsize"/>
|
<type name="gsize" c:type="gsize"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="rlt_mtd" transfer-ownership="none">
|
<parameter name="rlt_mtd" direction="out" caller-allocates="1" transfer-ownership="none" nullable="1">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Updated handle</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Updated handle</doc>
|
||||||
<type name="Mtd" c:type="GstAnalyticsMtd*"/>
|
<type name="Mtd" c:type="GstAnalyticsMtd*"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
@ -777,7 +777,7 @@ otherwise this method return FALSE and @rlt is invalid.</doc>
|
|||||||
to @an_meta_id will be set in @rlt_mtd. Doesn't need to be free.</doc>
|
to @an_meta_id will be set in @rlt_mtd. Doesn't need to be free.</doc>
|
||||||
<type name="gpointer" c:type="gpointer*"/>
|
<type name="gpointer" c:type="gpointer*"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="rlt_mtd" transfer-ownership="none">
|
<parameter name="rlt_mtd" direction="out" caller-allocates="1" transfer-ownership="none">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Handle updated to directly related relatable meta.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Handle updated to directly related relatable meta.</doc>
|
||||||
<type name="Mtd" c:type="GstAnalyticsMtd*"/>
|
<type name="Mtd" c:type="GstAnalyticsMtd*"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
@ -946,7 +946,7 @@ otherwise this method return FALSE and @rlt is invalid.</doc>
|
|||||||
%GST_ANALYTICS_MTD_TYPE_ANY for any.</doc>
|
%GST_ANALYTICS_MTD_TYPE_ANY for any.</doc>
|
||||||
<type name="MtdType" c:type="GstAnalyticsMtdType"/>
|
<type name="MtdType" c:type="GstAnalyticsMtdType"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
<parameter name="rlt_mtd" transfer-ownership="none">
|
<parameter name="rlt_mtd" direction="out" caller-allocates="1" transfer-ownership="none">
|
||||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Handle updated to iterated GstAnalyticsRelatableMtd.</doc>
|
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/analytics/gstanalyticsmeta.c">Handle updated to iterated GstAnalyticsRelatableMtd.</doc>
|
||||||
<type name="Mtd" c:type="GstAnalyticsMtd*"/>
|
<type name="Mtd" c:type="GstAnalyticsMtd*"/>
|
||||||
</parameter>
|
</parameter>
|
||||||
|
@ -882,7 +882,7 @@ gst_buffer_get_analytics_relation_meta (GstBuffer * buffer)
|
|||||||
* @meta: Instance
|
* @meta: Instance
|
||||||
* @impl: Implementation of relatable (#GstAnalyticsRelatableMtd)
|
* @impl: Implementation of relatable (#GstAnalyticsRelatableMtd)
|
||||||
* @size: Size required
|
* @size: Size required
|
||||||
* @rlt_mtd: Updated handle
|
* @rlt_mtd: (out caller-allocates)(nullable): Updated handle
|
||||||
*
|
*
|
||||||
* Add a relatable metadata to @meta. This method is meant to be used by
|
* Add a relatable metadata to @meta. This method is meant to be used by
|
||||||
* new struct sub-classing GstAnalyticsRelatableMtd.
|
* new struct sub-classing GstAnalyticsRelatableMtd.
|
||||||
@ -1037,7 +1037,7 @@ gst_analytics_relation_meta_get_mtd_data (const GstAnalyticsRelationMeta *
|
|||||||
* @state: (inout) (not nullable): Opaque data to store state of the query.
|
* @state: (inout) (not nullable): Opaque data to store state of the query.
|
||||||
* If @state point to NULL, the first analytics-metadata directly related
|
* If @state point to NULL, the first analytics-metadata directly related
|
||||||
* to @an_meta_id will be set in @rlt_mtd. Doesn't need to be free.
|
* to @an_meta_id will be set in @rlt_mtd. Doesn't need to be free.
|
||||||
* @rlt_mtd: Handle updated to directly related relatable meta.
|
* @rlt_mtd: (out caller-allocates)(not nullable): Handle updated to directly related relatable meta.
|
||||||
*
|
*
|
||||||
* Returns: TRUE if @rlt_mtd was updated, other wise FALSE
|
* Returns: TRUE if @rlt_mtd was updated, other wise FALSE
|
||||||
* Since: 1.24
|
* Since: 1.24
|
||||||
@ -1109,7 +1109,7 @@ gst_analytics_relation_meta_get_direct_related (GstAnalyticsRelationMeta * meta,
|
|||||||
* free it.
|
* free it.
|
||||||
* @type: Type of GstAnalyticsMtd to iterate on or use
|
* @type: Type of GstAnalyticsMtd to iterate on or use
|
||||||
* %GST_ANALYTICS_MTD_TYPE_ANY for any.
|
* %GST_ANALYTICS_MTD_TYPE_ANY for any.
|
||||||
* @rlt_mtd: Handle updated to iterated GstAnalyticsRelatableMtd.
|
* @rlt_mtd: (out caller-allocates)(not nullable): Handle updated to iterated GstAnalyticsRelatableMtd.
|
||||||
*
|
*
|
||||||
* Returns: FALSE if end was reached and iteration is completed.
|
* Returns: FALSE if end was reached and iteration is completed.
|
||||||
* Since: 1.24
|
* Since: 1.24
|
||||||
|
Loading…
x
Reference in New Issue
Block a user