|
NVIDIA DeepStream SDK API Reference
|
7.1 Release
|
Go to the documentation of this file.
33 #ifndef __GST_NVEVENT_H__
34 #define __GST_NVEVENT_H__
42 #define FLAG(name) GST_EVENT_TYPE_##name
50 = GST_EVENT_MAKE_TYPE (400,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED) |
54 = GST_EVENT_MAKE_TYPE (401,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED) |
59 = GST_EVENT_MAKE_TYPE (402,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED) |
63 = GST_EVENT_MAKE_TYPE (403,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED) |
68 = GST_EVENT_MAKE_TYPE (404,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED) |
73 = GST_EVENT_MAKE_TYPE (405,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED) |
78 = GST_EVENT_MAKE_TYPE (406,
FLAG(DOWNSTREAM) |
FLAG(SERIALIZED) |
163 GstStructure *caps_str, gchar* stream_id_str, gboolean is_audio );
203 GstSegment **segment);
GstEvent * gst_nvevent_new_stream_start(guint source_id, gchar *stream_id)
Creates a new "stream start" event.
@ GST_NVEVENT_STREAM_START
Specifies a custom event to indicate start of a particular stream in a batch.
GstEvent * gst_nvevent_new_pad_deleted(guint source_id)
Creates a "custom pad deleted" event for the specified source.
void gst_nvevent_parse_pad_deleted(GstEvent *event, guint *source_id)
Parses a "pad deleted" event received on the sinkpad.
void gst_nvevent_parse_stream_segment(GstEvent *event, guint *source_id, GstSegment **segment)
Parses a "stream segment" event received on the sinkpad.
@ GST_NVEVENT_PAD_DELETED
Specifies a custom event to indicate Pad Deleted.
GstEvent * gst_nvevent_new_pad_added(guint source_id)
Creates a "custom pad added" event for the specified source.
void gst_nvevent_parse_stream_reset(GstEvent *event, guint *source_id)
Parses a "stream reset" event received on the sinkpad.
@ GST_NVEVENT_PAD_ADDED
Specifies a custom event to indicate Pad Added.
@ GST_NVEVENT_UPDATE_CAPS
Specifies a custom event to indicate update in caps of particular stream in a batch.
GstEvent * gst_nvevent_new_stream_reset(guint source_id)
Creates a "custom reset" event for the specified source.
GstEvent * gst_nvevent_new_update_caps(guint pad_id, guint width_val, guint height_val, GstStructure *caps_str, gchar *stream_id_str, gboolean is_audio)
Creates a "updated caps" event for the specified source.
GstEvent * gst_nvevent_new_stream_eos(guint source_id)
Creates a "custom EOS" event for the specified source.
@ GST_NVEVENT_STREAM_EOS
Specifies a custom event to indicate EOS of a particular stream in a batch.
GstEvent * gst_nvevent_new_stream_segment(guint source_id, GstSegment *segment)
Creates a "custom segment" event for the specified source.
void gst_nvevent_parse_stream_start(GstEvent *event, guint *source_id, gchar **stream_id)
Parses a "stream start" event received on the sinkpad.
@ GST_NVEVENT_STREAM_RESET
Specifies a custom event to indicate reset of a particular stream in a batch.
void gst_nvevent_parse_stream_eos(GstEvent *event, guint *source_id)
Parses a "stream EOS" event received on the sinkpad.
@ GST_NVEVENT_STREAM_SEGMENT
Specifies a custom event to indicate a stream segment.
GstNvEventType
Defines supported types of custom events.
void gst_nvevent_parse_pad_added(GstEvent *event, guint *source_id)
Parses a "pad added" event received on the sinkpad.