_NvDsFrameMeta

struct _NvDsFrameMeta

Holds metadata for a frame in a batch.

Public Members

NvDsBaseMeta base_meta

Holds the base metadata for the frame.

guint pad_index

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

guint batch_id

Holds the location of the frame in the batch.

The frame’s NvBufSurfaceParams are at index batch_id in the surfaceList array of NvBufSurface.

gint frame_num

Holds the current frame number of the source.

guint64 buf_pts

Holds the presentation timestamp (PTS) of the frame.

guint64 ntp_timestamp

Holds the ntp timestamp.

guint source_id

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

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

gint num_surfaces_per_frame

Holds the number of surfaces in the frame, required in case of multiple surfaces in the frame.

guint num_obj_meta

Holds the number of object meta elements attached to current frame.

gboolean bInferDone

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

NvDsObjectMetaList *obj_meta_list

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

NvDisplayMetaList *display_meta_list

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

NvDsUserMetaList *frame_user_meta_list

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

gint64 misc_frame_info[MAX_USER_FIELDS]

Holds additional user-defined frame information.

gint64 reserved[MAX_RESERVED_FIELDS]

For internal use.