NVIDIA DeepStream SDK API Reference

9.2 Release
_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 264 of file includes/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...
 
NvDsMetaPool * frame_meta_pool
 Holds a pointer to a pool of pointers of type NvDsFrameMeta, representing a pool of frame metas. More...
 
NvDsMetaPool * obj_meta_pool
 Holds a pointer to a pool of pointers of type NvDsObjMeta, representing a pool of object metas. More...
 
NvDsMetaPool * classifier_meta_pool
 Holds a pointer to a pool of pointers of type NvDsClassifierMeta, representing a pool of classifier metas. More...
 
NvDsMetaPool * display_meta_pool
 Holds a pointer to a pool of pointers of type NvDsDisplayMeta, representing a pool of display metas. More...
 
NvDsMetaPool * user_meta_pool
 Holds a pointer to a pool of pointers of type NvDsUserMeta, representing a pool of user metas. More...
 
NvDsMetaPool * label_info_meta_pool
 Holds a pointer to a pool of pointers of type NvDsLabelInfo, representing a pool of label metas. More...
 
NvDsFrameMetaList * 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. More...
 
NvDsUserMetaList * batch_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

◆ base_meta

NvDsBaseMeta _NvDsBatchMeta::base_meta

Definition at line 265 of file includes/nvdsmeta.h.

◆ batch_user_meta_list

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 295 of file includes/nvdsmeta.h.

◆ classifier_meta_pool

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 278 of file includes/nvdsmeta.h.

◆ display_meta_pool

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 281 of file includes/nvdsmeta.h.

◆ frame_meta_list

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 292 of file includes/nvdsmeta.h.

◆ frame_meta_pool

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 272 of file includes/nvdsmeta.h.

◆ label_info_meta_pool

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 287 of file includes/nvdsmeta.h.

◆ max_frames_in_batch

guint _NvDsBatchMeta::max_frames_in_batch

Holds the maximum number of frames in the batch.

Definition at line 267 of file includes/nvdsmeta.h.

◆ meta_mutex

GRecMutex _NvDsBatchMeta::meta_mutex

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

Definition at line 298 of file includes/nvdsmeta.h.

◆ misc_batch_info

gint64 _NvDsBatchMeta::misc_batch_info

Holds an array of user-specific batch information.

Definition at line 300 of file includes/nvdsmeta.h.

◆ num_frames_in_batch

guint _NvDsBatchMeta::num_frames_in_batch

Holds the number of frames now in the batch.

Definition at line 269 of file includes/nvdsmeta.h.

◆ obj_meta_pool

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 275 of file includes/nvdsmeta.h.

◆ reserved

gint64 _NvDsBatchMeta::reserved

For internal use.

Definition at line 302 of file includes/nvdsmeta.h.

◆ user_meta_pool

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 284 of file includes/nvdsmeta.h.


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