NVIDIA GStreamer DeepStream: Custom Events
Description: This file specifies the NVIDIA DeepStream GStreamer custom event functions, used to map events to individual sources which are batched together by Gst-nvstreammux.
Definition in file includes/gst-nvdscustomevent.h.
Go to the source code of this file.
Data Structures | |
struct | RoiDimension |
Defines Roi structure for GST_NVCUSTOMEVENT_ROI_UPDATE custom event. More... | |
Macros | |
#define | FLAG(name) GST_EVENT_TYPE_##name |
Typedefs | |
typedef struct RoiDimension | RoiDimension |
Defines Roi structure for GST_NVCUSTOMEVENT_ROI_UPDATE custom event. More... | |
Enumerations | |
enum | GstNvDsCustomEventType { GST_NVEVENT_ROI_UPDATE = GST_EVENT_MAKE_TYPE (406, FLAG (DOWNSTREAM) | FLAG (SERIALIZED)), GST_NVEVENT_INFER_INTERVAL_UPDATE = GST_EVENT_MAKE_TYPE (407, FLAG (DOWNSTREAM) | FLAG (SERIALIZED)), GST_NVEVENT_OSD_PROCESS_MODE_UPDATE = GST_EVENT_MAKE_TYPE (408, FLAG (DOWNSTREAM) | FLAG (SERIALIZED)), GST_NVEVENT_ROI_UPDATE = GST_EVENT_MAKE_TYPE (406, FLAG (DOWNSTREAM) | FLAG (SERIALIZED)), GST_NVEVENT_INFER_INTERVAL_UPDATE = GST_EVENT_MAKE_TYPE (407, FLAG (DOWNSTREAM) | FLAG (SERIALIZED)), GST_NVEVENT_OSD_PROCESS_MODE_UPDATE = GST_EVENT_MAKE_TYPE (408, FLAG (DOWNSTREAM) | FLAG (SERIALIZED)) } |
Defines supported types of custom events. More... | |
Functions | |
GstEvent * | gst_nvevent_new_roi_update (gchar *stream_id, guint roi_count, RoiDimension *roi_dim) |
Creates a new "roi-update" event. More... | |
void | gst_nvevent_parse_roi_update (GstEvent *event, gchar **stream_id, guint *roi_count, RoiDimension **roi_dim) |
Parses a "roi-update" event received on the sinkpad. More... | |
GstEvent * | gst_nvevent_infer_interval_update (gchar *stream_id, guint interval) |
Creates a new "nv-infer-interval-update" event. More... | |
void | gst_nvevent_parse_infer_interval_update (GstEvent *event, gchar **stream_id, guint *interval) |
Parses a "nv-infer-interval-update" event received on the sinkpad. More... | |
GstEvent * | gst_nvevent_osd_process_mode_update (gchar *stream_id, guint process_mode) |
Creates a new "nv-osd-process-mode-update" event. More... | |
void | gst_nvevent_parse_osd_process_mode_update (GstEvent *event, gchar **stream_id, guint *process_mode) |
Parses a "nv-osd-process-mode-update" event received on the sinkpad. More... | |