NVIDIA DeepStream SDK API Reference

4.0.1 Release

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

Detailed Description

Specifies the type of function to copy meta data.

It is passed the pointer to meta data and user specific data. It allocates the required memory, copy the content and returns the pointer to newly allocated memory. Holds DeepSteam meta data.

Definition at line 106 of file gstnvdsmeta.h.

Data Fields

GstMeta meta
 
gpointer meta_data
 Must be cast to another structure based on meta_type. More...
 
gpointer user_data
 
gint meta_type
 Type of metadata, from the meta_type enum. More...
 
NvDsMetaCopyFunc copyfunc
 It is called when meta_data needs to copied / transformed from one buffer to other. More...
 
NvDsMetaReleaseFunc freefunc
 It is called when meta_data is going to be destroyed. More...
 
NvDsMetaCopyFunc gst_to_nvds_meta_transform_func
 It is called when meta_data is transformed into nvds user meta. More...
 
NvDsMetaReleaseFunc gst_to_nvds_meta_release_func
 It is called when nvdsmeta, transformed from gst meta, attached by plugin before nvstreammux going to be destroyed. More...
 

Field Documentation

NvDsMetaCopyFunc _NvDsMeta::copyfunc

It is called when meta_data needs to copied / transformed from one buffer to other.

meta_data and user_data are passed as arguments.

Definition at line 122 of file gstnvdsmeta.h.

NvDsMetaReleaseFunc _NvDsMeta::freefunc

It is called when meta_data is going to be destroyed.

meta_data and user_data are passed as arguments.

Definition at line 127 of file gstnvdsmeta.h.

NvDsMetaReleaseFunc _NvDsMeta::gst_to_nvds_meta_release_func

It is called when nvdsmeta, transformed from gst meta, attached by plugin before nvstreammux going to be destroyed.

meta_data and user_data are passed as arguments.

Definition at line 151 of file gstnvdsmeta.h.

NvDsMetaCopyFunc _NvDsMeta::gst_to_nvds_meta_transform_func

It is called when meta_data is transformed into nvds user meta.

This function must be provided by the gstreamer plugin which is present before nvstreammux in the deepstream pipeline. nvstreammux component copies the meta_data inside NvDsMeta 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, user must iterate over NvDsFrameMetaList.Then, search for meta_type of NvDsUserMeta which the user has attached. (Refer deepstream-gst-metadata-test source code for more details)

meta_data and user_data are passed as arguments.

Definition at line 145 of file gstnvdsmeta.h.

GstMeta _NvDsMeta::meta

Definition at line 107 of file gstnvdsmeta.h.

gpointer _NvDsMeta::meta_data

Must be cast to another structure based on meta_type.

Definition at line 110 of file gstnvdsmeta.h.

gint _NvDsMeta::meta_type

Type of metadata, from the meta_type enum.

Definition at line 115 of file gstnvdsmeta.h.

gpointer _NvDsMeta::user_data

Definition at line 112 of file gstnvdsmeta.h.


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