NVIDIA DeepStream SDK API Reference

6.4 Release
_NvDsAudioFrameMeta Struct Reference

Detailed Description

Holds metadata for a audio frame in a batch.

Definition at line 44 of file nvds_audio_meta.h.

Collaboration diagram for _NvDsAudioFrameMeta:

Data Fields

NvDsBaseMeta base_meta
 Holds the base metadata for the frame. More...
 
guint pad_index
 Holds the pad or port index of the Gst-streammux plugin for the frame in the batch. More...
 
guint batch_id
 Holds the location of the frame in the batch. More...
 
gint frame_num
 Holds the current frame number of the source. More...
 
guint64 buf_pts
 Holds the presentation timestamp (PTS) of the frame. More...
 
guint64 ntp_timestamp
 Holds the ntp timestamp. More...
 
guint source_id
 Holds the source IDof the frame in the batch, e.g. More...
 
gint num_samples_per_frame
 Holds the number of samples in the frame. More...
 
guint sample_rate
 
guint num_channels
 
NvBufAudioFormat format
 
NvBufAudioLayout layout
 
gboolean bInferDone
 Holds a Boolean indicating whether inference is performed on the frame. More...
 
gint class_id
 Holds the index of the last object class inferred by the primary detector/classifier. More...
 
gfloat confidence
 Hold confidence for last event detected (last NvDsClassifierMeta) More...
 
gchar class_label [MAX_LABEL_SIZE]
 Holds a string describing the class of the detected event. More...
 
NvDsClassifierMetaListclassifier_meta_list
 Holds a pointer to a list of pointers of type NvDsClassifierMeta in use for the frame. More...
 
NvDsUserMetaListframe_user_meta_list
 Holds a pointer to a list of pointers of type NvDsUserMeta in use for the frame. More...
 
gint64 misc_frame_info [MAX_USER_FIELDS]
 Holds additional user-defined frame information. More...
 
gint64 reserved [MAX_RESERVED_FIELDS]
 For internal use. More...
 

Field Documentation

◆ base_meta

NvDsBaseMeta _NvDsAudioFrameMeta::base_meta

Holds the base metadata for the frame.

Definition at line 46 of file nvds_audio_meta.h.

◆ batch_id

guint _NvDsAudioFrameMeta::batch_id

Holds the location of the frame in the batch.

Definition at line 51 of file nvds_audio_meta.h.

◆ bInferDone

gboolean _NvDsAudioFrameMeta::bInferDone

Holds a Boolean indicating whether inference is performed on the frame.

Definition at line 73 of file nvds_audio_meta.h.

◆ buf_pts

guint64 _NvDsAudioFrameMeta::buf_pts

Holds the presentation timestamp (PTS) of the frame.

Definition at line 55 of file nvds_audio_meta.h.

◆ class_id

gint _NvDsAudioFrameMeta::class_id

Holds the index of the last object class inferred by the primary detector/classifier.

Definition at line 76 of file nvds_audio_meta.h.

◆ class_label

gchar _NvDsAudioFrameMeta::class_label[MAX_LABEL_SIZE]

Holds a string describing the class of the detected event.

Definition at line 80 of file nvds_audio_meta.h.

◆ classifier_meta_list

NvDsClassifierMetaList* _NvDsAudioFrameMeta::classifier_meta_list

Holds a pointer to a list of pointers of type NvDsClassifierMeta in use for the frame.

Definition at line 83 of file nvds_audio_meta.h.

◆ confidence

gfloat _NvDsAudioFrameMeta::confidence

Hold confidence for last event detected (last NvDsClassifierMeta)

Definition at line 78 of file nvds_audio_meta.h.

◆ format

NvBufAudioFormat _NvDsAudioFrameMeta::format

Definition at line 68 of file nvds_audio_meta.h.

◆ frame_num

gint _NvDsAudioFrameMeta::frame_num

Holds the current frame number of the source.

Definition at line 53 of file nvds_audio_meta.h.

◆ frame_user_meta_list

NvDsUserMetaList* _NvDsAudioFrameMeta::frame_user_meta_list

Holds a pointer to a list of pointers of type NvDsUserMeta in use for the frame.

Definition at line 86 of file nvds_audio_meta.h.

◆ layout

NvBufAudioLayout _NvDsAudioFrameMeta::layout

Definition at line 71 of file nvds_audio_meta.h.

◆ misc_frame_info

gint64 _NvDsAudioFrameMeta::misc_frame_info[MAX_USER_FIELDS]

Holds additional user-defined frame information.

Definition at line 88 of file nvds_audio_meta.h.

◆ ntp_timestamp

guint64 _NvDsAudioFrameMeta::ntp_timestamp

Holds the ntp timestamp.

 

Definition at line 57 of file nvds_audio_meta.h.

◆ num_channels

guint _NvDsAudioFrameMeta::num_channels

Definition at line 66 of file nvds_audio_meta.h.

◆ num_samples_per_frame

gint _NvDsAudioFrameMeta::num_samples_per_frame

Holds the number of samples in the frame.

Definition at line 62 of file nvds_audio_meta.h.

◆ pad_index

guint _NvDsAudioFrameMeta::pad_index

Holds the pad or port index of the Gst-streammux plugin for the frame in the batch.

Definition at line 49 of file nvds_audio_meta.h.

◆ reserved

gint64 _NvDsAudioFrameMeta::reserved[MAX_RESERVED_FIELDS]

For internal use.

Definition at line 90 of file nvds_audio_meta.h.

◆ sample_rate

guint _NvDsAudioFrameMeta::sample_rate

Definition at line 64 of file nvds_audio_meta.h.

◆ source_id

guint _NvDsAudioFrameMeta::source_id

Holds the source IDof the frame in the batch, e.g.

the camera ID. It need not be in sequential order.

Definition at line 60 of file nvds_audio_meta.h.


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