_NvDsMetaΒΆ
-
struct
_NvDsMeta
Holds DeepSteam metadata.
Public Members
-
gpointer
meta_data
Holds a pointer to metadata.
Must be cast to another structure based on meta_type.
-
gpointer
user_data
Holds a pointer to user-specific data .
-
gint
meta_type
Holds the type of metadata, one of values of enum GstNvDsMetaType.
-
NvDsMetaCopyFunc
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.
-
NvDsMetaReleaseFunc
freefunc
A callback to be called when meta_data is to be destroyed.
meta_data and user_data are passed as arguments.
-
NvDsMetaCopyFunc
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.
-
NvDsMetaReleaseFunc
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.
-
gpointer