NVIDIA DeepStream SDK API Reference

7.0 Release
deepstream_streammux.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef _NVGSTDS_STREAMMUX_H_
14 #define _NVGSTDS_STREAMMUX_H_
15 
16 #include <gst/gst.h>
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 typedef struct
24 {
25  // Struct members to store config / properties for the element
29  gint batch_size;
31  gint compute_hw;
34  guint64 frame_duration;
35  guint gpu_id;
37  gboolean live_source;
38  gboolean enable_padding;
39  gboolean is_parsed;
42  gboolean sync_inputs;
43  guint64 max_latency;
46  gboolean async_process;
47  gboolean no_pipeline_eos;
51 
52 // Function to create the bin and set properties
53 gboolean
54 set_streammux_properties (NvDsStreammuxConfig *config, GstElement *streammux);
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* _NVGSTDS_DSEXAMPLE_H_ */
NvDsStreammuxConfig::is_parsed
gboolean is_parsed
Definition: deepstream_streammux.h:39
NvDsStreammuxConfig::interpolation_method
gint interpolation_method
Definition: deepstream_streammux.h:33
NvDsStreammuxConfig::pipeline_height
gint pipeline_height
Definition: deepstream_streammux.h:27
NvDsStreammuxConfig::num_surface_per_frame
gint num_surface_per_frame
Definition: deepstream_streammux.h:32
set_streammux_properties
gboolean set_streammux_properties(NvDsStreammuxConfig *config, GstElement *streammux)
NvDsStreammuxConfig::max_latency
guint64 max_latency
Definition: deepstream_streammux.h:43
NvDsStreammuxConfig::use_nvmultiurisrcbin
gboolean use_nvmultiurisrcbin
Definition: deepstream_streammux.h:48
NvDsStreammuxConfig::enable_padding
gboolean enable_padding
Definition: deepstream_streammux.h:38
NvDsStreammuxConfig::live_source
gboolean live_source
Definition: deepstream_streammux.h:37
NvDsStreammuxConfig::frame_duration
guint64 frame_duration
Definition: deepstream_streammux.h:34
NvDsStreammuxConfig::async_process
gboolean async_process
Definition: deepstream_streammux.h:46
NvDsStreammuxConfig::extract_sei_type5_data
gboolean extract_sei_type5_data
Definition: deepstream_streammux.h:49
NvDsStreammuxConfig::batched_push_timeout
gint batched_push_timeout
Definition: deepstream_streammux.h:30
NvDsStreammuxConfig::batch_size
gint batch_size
Definition: deepstream_streammux.h:29
NvDsStreammuxConfig::no_pipeline_eos
gboolean no_pipeline_eos
Definition: deepstream_streammux.h:47
NvDsStreammuxConfig
Definition: deepstream_streammux.h:23
NvDsStreammuxConfig::frame_num_reset_on_eos
gboolean frame_num_reset_on_eos
Definition: deepstream_streammux.h:44
NvDsStreammuxConfig::buffer_pool_size
gint buffer_pool_size
Definition: deepstream_streammux.h:28
NvDsStreammuxConfig::nvbuf_memory_type
guint nvbuf_memory_type
Definition: deepstream_streammux.h:36
NvDsStreammuxConfig::pipeline_width
gint pipeline_width
Definition: deepstream_streammux.h:26
NvDsStreammuxConfig::frame_num_reset_on_stream_reset
gboolean frame_num_reset_on_stream_reset
Definition: deepstream_streammux.h:45
NvDsStreammuxConfig::sync_inputs
gboolean sync_inputs
Definition: deepstream_streammux.h:42
NvDsStreammuxConfig::config_file_path
gchar * config_file_path
Definition: deepstream_streammux.h:41
NvDsStreammuxConfig::compute_hw
gint compute_hw
Definition: deepstream_streammux.h:31
NvDsStreammuxConfig::attach_sys_ts_as_ntp
gboolean attach_sys_ts_as_ntp
Definition: deepstream_streammux.h:40
NvDsStreammuxConfig::gpu_id
guint gpu_id
Definition: deepstream_streammux.h:35