Go to the source code of this file.
Macros | |
#define | NVGSTDS_ERR_MSG_V(msg, ...) g_print("** ERROR: <%s:%d>: " msg "\n", __func__, __LINE__, ##__VA_ARGS__) |
#define | NVGSTDS_INFO_MSG_V(msg, ...) g_print("** INFO: <%s:%d>: " msg "\n", __func__, __LINE__, ##__VA_ARGS__) |
#define | NVGSTDS_WARN_MSG_V(msg, ...) g_print("** WARN: <%s:%d>: " msg "\n", __func__, __LINE__, ##__VA_ARGS__) |
#define | NVGSTDS_LINK_ELEMENT(elem1, elem2) |
#define | NVGSTDS_LINK_ELEMENT_FULL(elem1, elem1_pad_name, elem2, elem2_pad_name) |
#define | NVGSTDS_BIN_ADD_GHOST_PAD_NAMED(bin, elem, pad, ghost_pad_name) |
#define | NVGSTDS_BIN_ADD_GHOST_PAD(bin, elem, pad) NVGSTDS_BIN_ADD_GHOST_PAD_NAMED (bin, elem, pad, pad) |
#define | NVGSTDS_ELEM_ADD_PROBE(probe_id, elem, pad, probe_func, probe_type, probe_data) |
#define | NVGSTDS_ELEM_REMOVE_PROBE(probe_id, elem, pad) |
#define | GET_FILE_PATH(path) ((path) + (((path) && strstr ((path), "file://")) ? 7 : 0)) |
Functions | |
gboolean | link_element_to_tee_src_pad (GstElement *tee, GstElement *sinkelem) |
Function to link sink pad of an element to source pad of tee. More... | |
gboolean | link_element_to_streammux_sink_pad (GstElement *streammux, GstElement *elem, gint index) |
Function to link source pad of an element to sink pad of muxer element. More... | |
gboolean | unlink_element_from_streammux_sink_pad (GstElement *streammux, GstElement *elem) |
Function to unlink source pad of an element from sink pad of muxer element. More... | |
gboolean | link_element_to_demux_src_pad (GstElement *demux, GstElement *elem, guint index) |
Function to link sink pad of an element to source pad of demux element. More... | |
void | str_replace (gchar *str, const gchar *replace, const gchar *replace_with) |
#define GET_FILE_PATH | ( | path | ) | ((path) + (((path) && strstr ((path), "file://")) ? 7 : 0)) |
Definition at line 121 of file deepstream_common.h.
#define NVGSTDS_BIN_ADD_GHOST_PAD | ( | bin, | |
elem, | |||
pad | |||
) | NVGSTDS_BIN_ADD_GHOST_PAD_NAMED (bin, elem, pad, pad) |
Definition at line 91 of file deepstream_common.h.
#define NVGSTDS_BIN_ADD_GHOST_PAD_NAMED | ( | bin, | |
elem, | |||
pad, | |||
ghost_pad_name | |||
) |
Definition at line 79 of file deepstream_common.h.
#define NVGSTDS_ELEM_ADD_PROBE | ( | probe_id, | |
elem, | |||
pad, | |||
probe_func, | |||
probe_type, | |||
probe_data | |||
) |
Definition at line 94 of file deepstream_common.h.
#define NVGSTDS_ELEM_REMOVE_PROBE | ( | probe_id, | |
elem, | |||
pad | |||
) |
Definition at line 106 of file deepstream_common.h.
#define NVGSTDS_ERR_MSG_V | ( | msg, | |
... | |||
) | g_print("** ERROR: <%s:%d>: " msg "\n", __func__, __LINE__, ##__VA_ARGS__) |
Definition at line 35 of file deepstream_common.h.
#define NVGSTDS_INFO_MSG_V | ( | msg, | |
... | |||
) | g_print("** INFO: <%s:%d>: " msg "\n", __func__, __LINE__, ##__VA_ARGS__) |
Definition at line 38 of file deepstream_common.h.
#define NVGSTDS_LINK_ELEMENT | ( | elem1, | |
elem2 | |||
) |
Definition at line 44 of file deepstream_common.h.
#define NVGSTDS_LINK_ELEMENT_FULL | ( | elem1, | |
elem1_pad_name, | |||
elem2, | |||
elem2_pad_name | |||
) |
Definition at line 59 of file deepstream_common.h.
#define NVGSTDS_WARN_MSG_V | ( | msg, | |
... | |||
) | g_print("** WARN: <%s:%d>: " msg "\n", __func__, __LINE__, ##__VA_ARGS__) |
Definition at line 41 of file deepstream_common.h.
gboolean link_element_to_demux_src_pad | ( | GstElement * | demux, |
GstElement * | elem, | ||
guint | index | ||
) |
Function to link sink pad of an element to source pad of demux element.
[in] | demux | demuxer element. |
[in] | elem | downstream element. |
[in] | index | pad index of demuxer element. |
gboolean link_element_to_streammux_sink_pad | ( | GstElement * | streammux, |
GstElement * | elem, | ||
gint | index | ||
) |
Function to link source pad of an element to sink pad of muxer element.
[in] | streammux | muxer element. |
[in] | elem | upstream element. |
[in] | index | pad index of muxer element. |
gboolean link_element_to_tee_src_pad | ( | GstElement * | tee, |
GstElement * | sinkelem | ||
) |
Function to link sink pad of an element to source pad of tee.
[in] | tee | Tee element. |
[in] | sinkelem | downstream element. |
void str_replace | ( | gchar * | str, |
const gchar * | replace, | ||
const gchar * | replace_with | ||
) |
gboolean unlink_element_from_streammux_sink_pad | ( | GstElement * | streammux, |
GstElement * | elem | ||
) |
Function to unlink source pad of an element from sink pad of muxer element.
[in] | streammux | muxer element. |
[in] | elem | upstream element. |