NVIDIA DeepStream SDK API Reference

6.4 Release
gst-nvevent.h File Reference

Detailed Description

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 gst-nvevent.h.

Go to the source code of this file.

Macros

#define FLAG(name)   GST_EVENT_TYPE_##name
 

Enumerations

enum  GstNvEventType {
  GST_NVEVENT_PAD_ADDED,
  GST_NVEVENT_PAD_DELETED,
  GST_NVEVENT_STREAM_EOS,
  GST_NVEVENT_STREAM_SEGMENT,
  GST_NVEVENT_STREAM_RESET,
  GST_NVEVENT_STREAM_START
}
 Defines supported types of custom events. More...
 

Functions

GstEvent * gst_nvevent_new_pad_added (guint source_id)
 Creates a "custom pad added" event for the specified source. More...
 
GstEvent * gst_nvevent_new_pad_deleted (guint source_id)
 Creates a "custom pad deleted" event for the specified source. More...
 
GstEvent * gst_nvevent_new_stream_eos (guint source_id)
 Creates a "custom EOS" event for the specified source. More...
 
GstEvent * gst_nvevent_new_stream_segment (guint source_id, GstSegment *segment)
 Creates a "custom segment" event for the specified source. More...
 
GstEvent * gst_nvevent_new_stream_reset (guint source_id)
 Creates a "custom reset" event for the specified source. More...
 
void gst_nvevent_parse_pad_added (GstEvent *event, guint *source_id)
 Parses a "pad added" event received on the sinkpad. More...
 
void gst_nvevent_parse_pad_deleted (GstEvent *event, guint *source_id)
 Parses a "pad deleted" event received on the sinkpad. More...
 
void gst_nvevent_parse_stream_eos (GstEvent *event, guint *source_id)
 Parses a "stream EOS" event received on the sinkpad. More...
 
void gst_nvevent_parse_stream_segment (GstEvent *event, guint *source_id, GstSegment **segment)
 Parses a "stream segment" event received on the sinkpad. More...
 
void gst_nvevent_parse_stream_reset (GstEvent *event, guint *source_id)
 Parses a "stream reset" event received on the sinkpad. More...
 
GstEvent * gst_nvevent_new_stream_start (guint source_id, gchar *stream_id)
 Creates a new "stream start" event. More...
 
void gst_nvevent_parse_stream_start (GstEvent *event, guint *source_id, gchar **stream_id)
 Parses a "stream start" event received on the sinkpad. More...