NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2017-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef __GST_NVSTREAMMUX_H__
19 #define __GST_NVSTREAMMUX_H__
20 
21 #include <gst/gst.h>
22 #include <gst/video/video.h>
23 #include <time.h>
24 #include "cuda_runtime_api.h"
25 #include "nvbufsurface.h"
26 #include "nvbufsurftransform.h"
27 #include "nvmultistream_common.h"
28 #include "../gst-nvmultistream2/gstnvstreammux_ntp.h"
29 
30 G_BEGIN_DECLS
31 #define GST_TYPE_NVSTREAMMUX \
32  (gst_nvstreammux_get_type ())
33 #define GST_NVSTREAMMUX(obj) \
34  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVSTREAMMUX,GstNvStreamMux))
35 #define GST_NVSTREAMMUX_CLASS(klass) \
36  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVSTREAMMUX,GstNvStreamMuxClass))
37 #define GST_IS_NVSTREAMMUX(obj) \
38  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVSTREAMMUX))
39 #define GST_IS_NVSTREAMMUX_CLASS(klass) \
40  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVSTREAMMUX))
43 
44 typedef enum
45 {
50 
51 typedef struct
52 {
53  guint pad_id;
54  gboolean buffer_available=FALSE;
55  gboolean buffer_available_pad=FALSE;
56 
57  GstVideoInfo in_videoinfo;
58 
59  gulong num_bufs_in_current_batch;
60  gulong total_bufs_in_current_batch;
61 
62  GQueue buf_queue;
63  GQueue sync_queue;
64  GMutex queue_lock;
65  GCond queue_cond;
66 
67  gulong curr_frame_no;
68 
69  gboolean got_eos;
70  gboolean queue_empty;
71  gboolean new_pad_added;
72 
73  gboolean stopping;
74 
75  GstNvDsNtpCalculator *ntp_calc;
76 
77  GstBufferPool *int_buf_pool;
78  GstSegment segment;
79 
80  guint source_id;
81  guint sei_frame_id;
82  guint last_sei_frame_id;
83  guint64 timestamp;
84  guint64 last_timestamp;
85  GstBuffer *cached_src_buffers = NULL;
86  struct timeval cached_time;
87  float sim_time;
88  guint64 latent_sim_time_s;
89  char timestamp_iso8601[30];
90  guint64 timestamp_mega;
91  guint pad_holding_iterations; // Per-source failsafe: count holding events for THIS pad
92  GstClockTime previous_sei_timestamp;
93  /* drop-until-rtcp-sr: latched TRUE once an RTCP Sender Report (valid NTP) is
94  * seen for this source; buffers are dropped while this stays FALSE. */
95  gboolean rtcp_sr_ready = FALSE;
97 
98 typedef struct
99 {
101  GstBuffer *buf; // Copy of the buffer pointer to tie it up with cooresponding sync object
102  GstBuffer *inp_buf; // input buffer. Should be unreffed after tranformation is complete
104 
105 struct _GstNvStreamMux
106 {
107  GstElement element;
108 
109  GstPad *srcpad;
110 
111 
113 
114  GMutex ctx_lock;
115  GCond ctx_cond;
116  GstFlowReturn last_flow_ret;
117 
118  gboolean stop_task;
119  gboolean eos_sent;
120  gboolean all_pads_eos;
121  guint num_pads_eos;
122  guint num_queues_empty;
123  gboolean flushing;
124  gboolean enable_padding;
125  gboolean live_source;
126  gboolean sys_ts;
127  gboolean pad_task_created;
129 
132  gint timeout_usec;
133  GstClockTime max_latency;
134  GstClockTime peer_latency_min;
135  GstClockTime peer_latency_max;
136  gboolean peer_latency_live;
137  gboolean has_peer_latency;
138  GstClockID timeout_clk_id;
139  gboolean sync_inputs;
140  gboolean align_inputs;
141  gboolean async_process;
142  gboolean no_pipeline_eos;
143 
144  GHashTable *pad_indexes;
145  GstPad **sink_pads;
146  guint current_loc;
147  guint batch_size;
148  guint current_batch_size;
150  gint cuda_mem_type;
151  gint is_integrated;
152  gint compute_hw;
154 
155  GstBufferPool *output_buf_pool;
157  GstVideoInfo out_videoinfo;
158 
160 
161  gulong frame_duration_nsec;
162  gulong cur_frame_pts;
163 
164  guint width;
165  guint height;
166  guint gpu_id;
167 
168  gboolean sei_based_frameId;
169 
170  gboolean query_resolution;
171 
172  guint num_extra_bufs;
174 
175  GList *event_list;
176  GList *latency_metadata_list;
177  guint frame_num;
178  gboolean segment_sent;
179  GstSegment segment;
180 
181  guint buffer_pool_size;
182  gboolean prev_batch_meta;
183 
184  GstClockTime ts_latency_offset;
185 
186  gboolean frame_num_reset_on_eos;
189  GstClockTime frame_duration;
190  gboolean extract_sei_type5_data;
191  gboolean extract_sei_sim_time;
192  gboolean sort_batch;
193  gboolean buffer_cache;
194  gboolean is_current_buffer_cached;
196  GstBufferPool *black_out_buf_pool;
197  GstBuffer *gray_buffer = NULL;
198  gboolean align_first_buffer;
199  GstClockTime highest_first_pts;
201  gboolean first_batch_aligned;
202  gboolean first_batch;
203  guint sync_inputs_ntp;
204  GstClockTime base_ntp;
205  GstClockTime fps;
206  gboolean one_time_in_batch=0;
207  guint holding_counter;
208  GHashTable *processed_pads;
209  guint holding_iterations; // Failsafe: count iterations with held buffers
210  guint max_holding_iterations; // Failsafe: max iterations before forcing batch push
211  guint failsafe_flush_count; // Failsafe: max iterations before forcing batch push
212  gboolean drop_backward_sei;
216  gboolean drop_until_rtcp_sr;
217 };
218 
220 {
221  GstElementClass parent_class;
222 };
223 
224 G_GNUC_INTERNAL GType gst_nvstreammux_get_type (void);
225 
226 typedef struct
227 {
228  GstMemory mem;
229  NvBufSurface surf;
230  GstBuffer **orig_buffer_ptrs;
231  guint batchsize;
233 GstBufferPool *gst_nvstreammux_buffer_pool_new (guint batch_size, GstCaps *caps, guint pool_size);
235 
236 G_END_DECLS
237 #endif
_GstNvStreamMux::align_first_buffer
gboolean align_first_buffer
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:198
_GstNvStreamMux::all_pads_eos
gboolean all_pads_eos
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:120
_GstNvStreamMux::out_videoinfo
GstVideoInfo out_videoinfo
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:157
_GstNvStreamMux::sort_batch
gboolean sort_batch
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:192
_GstNvStreamMux
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:105
FALSE
#define FALSE
Definition: sources/libs/nvll_batch_jpeg_encode/oss/jmorecfg.h:247
_GstNvStreamMux::num_extra_bufs_in_batch
guint num_extra_bufs_in_batch
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:173
_GstNvStreamMux::sys_ts
gboolean sys_ts
property that specifies if the ntp timestamp is from rtspsrc or system
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:126
gst_buffer_get_nvstream_memory
GstNvStreamMemory * gst_buffer_get_nvstream_memory(GstBuffer *buf)
_GstNvStreamMux::batch_method
GstNvStreamMuxBatchMethod batch_method
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:130
_GstNvStreamMux::stream
cudaStream_t stream
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:156
_GstNvStreamMux::width
guint width
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:164
NvBufSurfTransformSyncObj_t
struct NvBufSurfTransformSyncObj * NvBufSurfTransformSyncObj_t
Holds the information about synchronization objects for asynchronous transform/composite APIs.
Definition: includes/nvbufsurftransform.h:306
_GstNvStreamMux::segment
GstSegment segment
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:179
_GstNvStreamMux::is_current_buffer_cached
gboolean is_current_buffer_cached
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:194
_GstNvStreamMux::extract_sei_sim_time
gboolean extract_sei_sim_time
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:191
_GstNvStreamMux::black_out_buf_pool
GstBufferPool * black_out_buf_pool
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:196
_GstNvStreamMux::num_surfaces_per_frame
guint num_surfaces_per_frame
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:149
_GstNvStreamMux::latency_metadata_list
GList * latency_metadata_list
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:176
NvBufSurface
Holds information about batched buffers.
Definition: includes/nvbufsurface.h:602
_GstNvStreamMux::frame_num_reset_on_stream_reset
gboolean frame_num_reset_on_stream_reset
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:187
_GstNvStreamMux::pad_indexes
GHashTable * pad_indexes
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:144
_GstNvStreamMux::segment_sent
gboolean segment_sent
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:178
_GstNvStreamMux::event_list
GList * event_list
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:175
_GstNvStreamMux::sink_pads
GstPad ** sink_pads
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:145
_GstNvStreamMux::first_batch_aligned
gboolean first_batch_aligned
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:201
_GstNvStreamMux::ts_latency_offset
GstClockTime ts_latency_offset
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:184
_GstNvStreamMux::peer_latency_min
GstClockTime peer_latency_min
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:134
_GstNvStreamMux::sync_inputs
gboolean sync_inputs
whether input buffer synchronization is turned ON/OFF
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:139
BATCH_METHOD_ONE_PER_SOURCE
@ BATCH_METHOD_ONE_PER_SOURCE
Definition: 9.2/sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:48
_GstNvStreamMux::num_queues_empty
guint num_queues_empty
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:122
GstNvStreamMemory
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:226
_GstNvStreamMux::all_first_buffers_received
gboolean all_first_buffers_received
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:200
_GstNvStreamMux::live_source
gboolean live_source
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:125
BATCH_METHOD_NONE
@ BATCH_METHOD_NONE
Definition: 9.2/sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:46
_GstNvStreamMux::buffer_cache_timeout
gint buffer_cache_timeout
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:195
_GstNvStreamMux::timeout_clk_id
GstClockID timeout_clk_id
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:138
_GstNvStreamMux::frame_num
guint frame_num
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:177
_GstNvStreamMux::stop_task
gboolean stop_task
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:118
cudaStream_t
struct CUstream_st * cudaStream_t
Forward declaration of cudaStream_t.
Definition: includes/nvbufsurftransform.h:40
_GstNvStreamMux::num_pads_eos
guint num_pads_eos
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:121
gst_nvstreammux_get_type
G_GNUC_INTERNAL GType gst_nvstreammux_get_type(void)
GstNvStreamMuxPadData
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:51
GstNvStreamMuxSyncInfo
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:98
_GstNvStreamMux::frame_duration_nsec
gulong frame_duration_nsec
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:161
GstNvDsNtpCalculator
struct _GstNvDsNtpCalculator GstNvDsNtpCalculator
Definition: sources/gst-plugins/gst-nvmultistream2/gstnvstreammux_ntp.h:50
GstNvStreamMuxBatchMethod
GstNvStreamMuxBatchMethod
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:44
nvmultistream_common.h
_GstNvStreamMux::pad_task_created
gboolean pad_task_created
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:127
_GstNvStreamMux::max_holding_iterations
guint max_holding_iterations
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:210
_GstNvStreamMux::compute_hw
gint compute_hw
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:152
GstBuffer
struct _GstBuffer GstBuffer
Definition: includes/ds3d/common/idatatype.h:24
_GstNvStreamMux::peer_latency_live
gboolean peer_latency_live
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:136
_GstNvStreamMux::cur_frame_pts
gulong cur_frame_pts
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:162
_GstNvStreamMux::buffer_cache
gboolean buffer_cache
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:193
_GstNvStreamMux::eos_sent
gboolean eos_sent
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:119
_GstNvStreamMux::has_peer_latency
gboolean has_peer_latency
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:137
_GstNvStreamMux::ctx_lock
GMutex ctx_lock
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:114
_GstNvStreamMux::timeout_usec
gint timeout_usec
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:132
_GstNvStreamMux::extract_sei_type5_data
gboolean extract_sei_type5_data
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:190
_GstNvStreamMux::query_resolution
gboolean query_resolution
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:170
_GstNvStreamMux::element
GstElement element
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:107
_GstNvStreamMux::holding_counter
guint holding_counter
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:207
_GstNvStreamMux::output_buf_pool
GstBufferPool * output_buf_pool
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:155
_GstNvStreamMux::current_loc
guint current_loc
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:146
_GstNvStreamMux::frame_num_reset_on_eos
gboolean frame_num_reset_on_eos
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:186
_GstNvStreamMux::height
guint height
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:165
_GstNvStreamMux::gray_buffer
GstBuffer * gray_buffer
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:197
_GstNvStreamMux::max_latency
GstClockTime max_latency
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:133
GstNvMultiStreamPadFrameRates
Definition: sources/gst-plugins/gst-nvmultistream/nvmultistream_common.h:23
_GstNvStreamMux::num_extra_bufs
guint num_extra_bufs
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:172
_GstNvStreamMux::flushing
gboolean flushing
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:123
_GstNvStreamMux::fps
GstClockTime fps
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:205
_GstNvStreamMux::ctx_cond
GCond ctx_cond
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:115
_GstNvStreamMux::interpolation_method
gint interpolation_method
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:153
_GstNvStreamMux::is_integrated
gint is_integrated
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:151
_GstNvStreamMux::first_batch
gboolean first_batch
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:202
_GstNvStreamMux::drop_until_rtcp_sr
gboolean drop_until_rtcp_sr
drop-until-rtcp-sr: when TRUE, drop input buffers on each source until an RTCP Sender Report derived ...
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:216
_GstNvStreamMux::no_pipeline_eos
gboolean no_pipeline_eos
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:142
_GstNvStreamMux::sei_based_frameId
gboolean sei_based_frameId
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:168
_GstNvStreamMux::holding_iterations
guint holding_iterations
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:209
_GstNvStreamMux::failsafe_flush_count
guint failsafe_flush_count
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:211
_GstNvStreamMux::nppStream
cudaStream_t nppStream
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:159
_GstNvStreamMux::base_ntp
GstClockTime base_ntp
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:204
_GstNvStreamMux::frame_duration
GstClockTime frame_duration
Application specified frame duration used for NTP timestamp calculaion.
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:189
BATCH_METHOD_ROUND_ROBIN
@ BATCH_METHOD_ROUND_ROBIN
Definition: 9.2/sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:47
_GstNvStreamMux::pad_framerates
GstNvMultiStreamPadFrameRates * pad_framerates
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:131
_GstNvStreamMux::enable_padding
gboolean enable_padding
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:124
_GstNvStreamMux::num_bufs_in_current_batch
gulong num_bufs_in_current_batch
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:112
_GstNvStreamMuxClass
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:219
_GstNvStreamMux::drop_backward_sei
gboolean drop_backward_sei
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:212
_GstNvStreamMux::highest_first_pts
GstClockTime highest_first_pts
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:199
_GstNvStreamMux::one_time_in_batch
gboolean one_time_in_batch
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:206
gst_nvstreammux_buffer_pool_new
GstBufferPool * gst_nvstreammux_buffer_pool_new(guint batch_size, GstCaps *caps, guint pool_size)
_GstNvStreamMux::async_process
gboolean async_process
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:141
_GstNvStreamMux::sync_inputs_ntp
guint sync_inputs_ntp
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:203
_GstNvStreamMux::enable_adaptive_batch_size
gboolean enable_adaptive_batch_size
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:128
_GstNvStreamMux::gpu_id
guint gpu_id
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:166
_GstNvStreamMux::peer_latency_max
GstClockTime peer_latency_max
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:135
_GstNvStreamMux::srcpad
GstPad * srcpad
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:109
GstNvStreamMuxBatchMethod
GstNvStreamMuxBatchMethod
Definition: 9.2/sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:44
_GstNvStreamMux::last_flow_ret
GstFlowReturn last_flow_ret
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:116
_GstNvStreamMux::align_inputs
gboolean align_inputs
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:140
_GstNvStreamMux::current_batch_size
guint current_batch_size
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:148
_GstNvStreamMuxClass::parent_class
GstElementClass parent_class
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:221
_GstNvStreamMux::processed_pads
GHashTable * processed_pads
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:208
_GstNvStreamMux::prev_batch_meta
gboolean prev_batch_meta
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:182
_GstNvStreamMux::batch_size
guint batch_size
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:147
_GstNvStreamMux::buffer_pool_size
guint buffer_pool_size
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:181
_GstNvStreamMux::cuda_mem_type
gint cuda_mem_type
Definition: sources/gst-plugins/gst-nvmultistream/gstnvstreammux.h:150