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 242 of file nvdsmeta.h.
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... | |
NvDsBaseMeta _NvDsBatchMeta::base_meta |
Definition at line 243 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 273 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 256 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 259 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 270 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 250 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 265 of file nvdsmeta.h.
guint _NvDsBatchMeta::max_frames_in_batch |
Holds the maximum number of frames in the batch.
Definition at line 245 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 276 of file nvdsmeta.h.
gint64 _NvDsBatchMeta::misc_batch_info[MAX_USER_FIELDS] |
Holds an array of user-specific batch information.
Definition at line 278 of file nvdsmeta.h.
guint _NvDsBatchMeta::num_frames_in_batch |
Holds the number of frames now in the batch.
Definition at line 247 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 253 of file nvdsmeta.h.
gint64 _NvDsBatchMeta::reserved[MAX_RESERVED_FIELDS] |
For internal use.
Definition at line 280 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 262 of file nvdsmeta.h.