Go to the source code of this file.
Data Structures | |
| struct | NvDsSinkEncoderConfig |
| struct | NvDsSinkRenderConfig |
| struct | NvDsSinkMsgConvBrokerConfig |
| struct | NvDsSinkSubBinConfig |
| struct | NvDsSinkBinSubBin |
| struct | NvDsSinkBin |
Enumerations | |
| enum | NvDsSinkType { NV_DS_SINK_FAKE = 1, NV_DS_SINK_RENDER_EGL, NV_DS_SINK_ENCODE_FILE, NV_DS_SINK_UDPSINK, NV_DS_SINK_RENDER_DRM, NV_DS_SINK_MSG_CONV_BROKER } |
| enum | NvDsContainerType { NV_DS_CONTAINER_MP4 = 1, NV_DS_CONTAINER_MKV } |
| enum | NvDsEncoderType { NV_DS_ENCODER_H264 = 1, NV_DS_ENCODER_H265, NV_DS_ENCODER_MPEG4 } |
| enum | NvDsEncHwSwType { NV_DS_ENCODER_TYPE_HW, NV_DS_ENCODER_TYPE_SW } |
| enum | NvDsEncOutputIOMode { NV_DS_ENCODER_OUTPUT_IO_MODE_MMAP = 2, NV_DS_ENCODER_OUTPUT_IO_MODE_DMABUF_IMPORT = 5 } |
Functions | |
| gboolean | create_sink_bin (guint num_sub_bins, NvDsSinkSubBinConfig *config_array, NvDsSinkBin *bin, guint index) |
| Initialize NvDsSinkBin. More... | |
| void | destroy_sink_bin (void) |
| gboolean | create_demux_sink_bin (guint num_sub_bins, NvDsSinkSubBinConfig *config_array, NvDsSinkBin *bin, guint index) |
| void | set_rtsp_udp_port_num (guint rtsp_port_num, guint udp_port_num) |
| enum NvDsContainerType |
| Enumerator | |
|---|---|
| NV_DS_CONTAINER_MP4 | |
| NV_DS_CONTAINER_MKV | |
Definition at line 41 of file deepstream_sinks.h.
| enum NvDsEncHwSwType |
| Enumerator | |
|---|---|
| NV_DS_ENCODER_TYPE_HW | |
| NV_DS_ENCODER_TYPE_SW | |
Definition at line 54 of file deepstream_sinks.h.
| enum NvDsEncoderType |
| Enumerator | |
|---|---|
| NV_DS_ENCODER_H264 | |
| NV_DS_ENCODER_H265 | |
| NV_DS_ENCODER_MPEG4 | |
Definition at line 47 of file deepstream_sinks.h.
| enum NvDsEncOutputIOMode |
| Enumerator | |
|---|---|
| NV_DS_ENCODER_OUTPUT_IO_MODE_MMAP | |
| NV_DS_ENCODER_OUTPUT_IO_MODE_DMABUF_IMPORT | |
Definition at line 60 of file deepstream_sinks.h.
| enum NvDsSinkType |
| Enumerator | |
|---|---|
| NV_DS_SINK_FAKE | |
| NV_DS_SINK_RENDER_EGL | |
| NV_DS_SINK_ENCODE_FILE | |
| NV_DS_SINK_UDPSINK | |
| NV_DS_SINK_RENDER_DRM | |
| NV_DS_SINK_MSG_CONV_BROKER | |
Definition at line 27 of file deepstream_sinks.h.
| gboolean create_demux_sink_bin | ( | guint | num_sub_bins, |
| NvDsSinkSubBinConfig * | config_array, | ||
| NvDsSinkBin * | bin, | ||
| guint | index | ||
| ) |
| gboolean create_sink_bin | ( | guint | num_sub_bins, |
| NvDsSinkSubBinConfig * | config_array, | ||
| NvDsSinkBin * | bin, | ||
| guint | index | ||
| ) |
Initialize NvDsSinkBin.
It creates and adds sink and other elements needed for processing to the bin. It also sets properties mentioned in the configuration file under group CONFIG_GROUP_SINK
| [in] | num_sub_bins | number of sink elements. |
| [in] | config_array | array of pointers of type NvDsSinkSubBinConfig parsed from configuration file. |
| [in] | bin | pointer to NvDsSinkBin to be filled. |
| [in] | index | id of source element. |
| void destroy_sink_bin | ( | void | ) |
| void set_rtsp_udp_port_num | ( | guint | rtsp_port_num, |
| guint | udp_port_num | ||
| ) |