NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
_NvDsMeta Struct Reference

Detailed Description

Holds DeepSteam metadata.

Definition at line 81 of file gstnvdsmeta.h.

Data Fields

GstMeta meta
 
gpointer meta_data
 Holds a pointer to metadata. More...
 
gpointer user_data
 Holds a pointer to user-specific data . More...
 
gint meta_type
 Holds the type of metadata, one of values of enum GstNvDsMetaType. More...
 
NvDsMetaCopyFunc copyfunc
 A callback to be called when meta_data is to be copied or transformed from one buffer to other. More...
 
NvDsMetaReleaseFunc freefunc
 A callback to be called when meta_data is to be destroyed. More...
 
NvDsMetaCopyFunc gst_to_nvds_meta_transform_func
 A callback to be called when meta_data is transformed into NvDsUserMeta. More...
 
NvDsMetaReleaseFunc gst_to_nvds_meta_release_func
 A callback to be called when meta_data transformed into NvDsUserMeta is to be destroyed. More...
 

Field Documentation

NvDsMetaCopyFunc _NvDsMeta::copyfunc

A callback to be called when meta_data is to be copied or transformed from one buffer to other.

meta_data and user_data are passed as arguments.

Definition at line 97 of file gstnvdsmeta.h.

NvDsMetaReleaseFunc _NvDsMeta::freefunc

A callback to be called when meta_data is to be destroyed.

meta_data and user_data are passed as arguments.

Definition at line 101 of file gstnvdsmeta.h.

NvDsMetaReleaseFunc _NvDsMeta::gst_to_nvds_meta_release_func

A callback to be called when meta_data transformed into NvDsUserMeta is to be destroyed.

This function must be provided by a GStreamer plugin that precedes Gst-nvstreammux in the DeepStream pipeline.

Definition at line 127 of file gstnvdsmeta.h.

NvDsMetaCopyFunc _NvDsMeta::gst_to_nvds_meta_transform_func

A callback to be called when meta_data is transformed into NvDsUserMeta.

This function must be provided by a GStreamer plugin that precedes Gst-nvstreammux in the DeepStream pipeline. Gst-nvstreammux copies meta_data to user meta data at frame level inside NvDsFrameMeta. meta_data and user_data are passed as arguments.

To retrive the content of meta_data, iterate over NvDsFrameMetaList. Then search for meta_type of NvDsUserMeta which the user has attached. (See deepstream-gst-metadata-test source code for more details.)

meta_data and user_data are passed as arguments.

Definition at line 119 of file gstnvdsmeta.h.

GstMeta _NvDsMeta::meta

Definition at line 82 of file gstnvdsmeta.h.

gpointer _NvDsMeta::meta_data

Holds a pointer to metadata.

Must be cast to another structure based on meta_type.

Definition at line 86 of file gstnvdsmeta.h.

gint _NvDsMeta::meta_type

Holds the type of metadata, one of values of enum GstNvDsMetaType.

Definition at line 92 of file gstnvdsmeta.h.

gpointer _NvDsMeta::user_data

Holds a pointer to user-specific data .

Definition at line 89 of file gstnvdsmeta.h.


The documentation for this struct was generated from the following file: