NVIDIA DeepStream SDK API Reference

6.0.1 Release

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

Detailed Description

Holds information about a formed batch containing frames from different sources.

NOTE: Both Video and Audio metadata uses the same NvDsBatchMeta type. NOTE: Audio batch metadata is formed within nvinferaudio plugin and will not be corresponding to any one buffer output from nvinferaudio. The NvDsBatchMeta for audio is attached to the last input buffer when the audio batch buffering reach configurable threshold (audio frame length) and this is when inference output is available.

Definition at line 221 of file nvdsmeta.h.

Collaboration diagram for _NvDsBatchMeta:

Data Fields

NvDsBaseMeta base_meta
 
guint max_frames_in_batch
 Holds the maximum number of frames in the batch. More...
 
guint num_frames_in_batch
 Holds the number of frames now in the batch. More...
 
NvDsMetaPoolframe_meta_pool
 Holds a pointer to a pool of pointers of type NvDsFrameMeta, representing a pool of frame metas. More...
 
NvDsMetaPoolobj_meta_pool
 Holds a pointer to a pool of pointers of type NvDsObjMeta, representing a pool of object metas. More...
 
NvDsMetaPoolclassifier_meta_pool
 Holds a pointer to a pool of pointers of type NvDsClassifierMeta, representing a pool of classifier metas. More...
 
NvDsMetaPooldisplay_meta_pool
 Holds a pointer to a pool of pointers of type NvDsDisplayMeta, representing a pool of display metas. More...
 
NvDsMetaPooluser_meta_pool
 Holds a pointer to a pool of pointers of type NvDsUserMeta, representing a pool of user metas. More...
 
NvDsMetaPoollabel_info_meta_pool
 Holds a pointer to a pool of pointers of type NvDsLabelInfo, representing a pool of label metas. More...
 
NvDsFrameMetaListframe_meta_list
 Holds a pointer to a list of pointers of type NvDsFrameMeta or NvDsAudioFrameMeta (when the batch represent audio batch), representing frame metas used in the current batch. More...
 
NvDsUserMetaListbatch_user_meta_list
 Holds a pointer to a list of pointers of type NvDsUserMeta, representing user metas in the current batch. More...
 
GRecMutex meta_mutex
 Holds a lock to be set before accessing metadata to avoid simultaneous update by multiple components. More...
 
gint64 misc_batch_info [MAX_USER_FIELDS]
 Holds an array of user-specific batch information. More...
 
gint64 reserved [MAX_RESERVED_FIELDS]
 For internal use. More...
 

Field Documentation

NvDsBaseMeta _NvDsBatchMeta::base_meta

Definition at line 222 of file nvdsmeta.h.

NvDsUserMetaList* _NvDsBatchMeta::batch_user_meta_list

Holds a pointer to a list of pointers of type NvDsUserMeta, representing user metas in the current batch.

Definition at line 252 of file nvdsmeta.h.

NvDsMetaPool* _NvDsBatchMeta::classifier_meta_pool

Holds a pointer to a pool of pointers of type NvDsClassifierMeta, representing a pool of classifier metas.

Definition at line 235 of file nvdsmeta.h.

NvDsMetaPool* _NvDsBatchMeta::display_meta_pool

Holds a pointer to a pool of pointers of type NvDsDisplayMeta, representing a pool of display metas.

Definition at line 238 of file nvdsmeta.h.

NvDsFrameMetaList* _NvDsBatchMeta::frame_meta_list

Holds a pointer to a list of pointers of type NvDsFrameMeta or NvDsAudioFrameMeta (when the batch represent audio batch), representing frame metas used in the current batch.

Definition at line 249 of file nvdsmeta.h.

NvDsMetaPool* _NvDsBatchMeta::frame_meta_pool

Holds a pointer to a pool of pointers of type NvDsFrameMeta, representing a pool of frame metas.

Definition at line 229 of file nvdsmeta.h.

NvDsMetaPool* _NvDsBatchMeta::label_info_meta_pool

Holds a pointer to a pool of pointers of type NvDsLabelInfo, representing a pool of label metas.

Definition at line 244 of file nvdsmeta.h.

guint _NvDsBatchMeta::max_frames_in_batch

Holds the maximum number of frames in the batch.

Definition at line 224 of file nvdsmeta.h.

GRecMutex _NvDsBatchMeta::meta_mutex

Holds a lock to be set before accessing metadata to avoid simultaneous update by multiple components.

Definition at line 255 of file nvdsmeta.h.

gint64 _NvDsBatchMeta::misc_batch_info[MAX_USER_FIELDS]

Holds an array of user-specific batch information.

Definition at line 257 of file nvdsmeta.h.

guint _NvDsBatchMeta::num_frames_in_batch

Holds the number of frames now in the batch.

Definition at line 226 of file nvdsmeta.h.

NvDsMetaPool* _NvDsBatchMeta::obj_meta_pool

Holds a pointer to a pool of pointers of type NvDsObjMeta, representing a pool of object metas.

Definition at line 232 of file nvdsmeta.h.

gint64 _NvDsBatchMeta::reserved[MAX_RESERVED_FIELDS]

For internal use.

Definition at line 259 of file nvdsmeta.h.

NvDsMetaPool* _NvDsBatchMeta::user_meta_pool

Holds a pointer to a pool of pointers of type NvDsUserMeta, representing a pool of user metas.

Definition at line 241 of file nvdsmeta.h.


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