NVIDIA DeepStream SDK API Reference

7.0 Release
gstnvdspreprocess.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2021-2022 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 __GST_NVDSPREPROCESS_H__
14 #define __GST_NVDSPREPROCESS_H__
15 
16 #include <gst/base/gstbasetransform.h>
17 #include <gst/video/video.h>
18 
19 #include <cuda.h>
20 #include <cuda_runtime.h>
21 #include "nvbufsurface.h"
22 #include "nvbufsurftransform.h"
23 #include "gst-nvquery.h"
24 
26 #include "nvdspreprocess_interface.h"
27 #include "nvdspreprocess_meta.h"
28 
29 #include "nvtx3/nvToolsExt.h"
30 
31 #include <condition_variable>
32 #include <mutex>
33 #include <thread>
34 #include <unordered_map>
35 #include <functional>
36 
37 /* Package and library details required for plugin_init */
38 #define PACKAGE "nvdsvideotemplate"
39 #define VERSION "1.0"
40 #define LICENSE "Proprietary"
41 #define DESCRIPTION "NVIDIA custom preprocessing plugin for integration with DeepStream on DGPU/Jetson"
42 #define BINARY_PACKAGE "NVIDIA DeepStream Preprocessing using custom algorithms for different streams"
43 #define URL "http://nvidia.com/"
44 
45 G_BEGIN_DECLS
46 /* Standard boilerplate stuff */
49 
50 /* Standard boilerplate stuff */
51 #define GST_TYPE_NVDSPREPROCESS (gst_nvdspreprocess_get_type())
52 #define GST_NVDSPREPROCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSPREPROCESS,GstNvDsPreProcess))
53 #define GST_NVDSPREPROCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSPREPROCESS,GstNvDsPreProcessClass))
54 #define GST_NVDSPREPROCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSPREPROCESS, GstNvDsPreProcessClass))
55 #define GST_IS_NVDSPREPROCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSPREPROCESS))
56 #define GST_IS_NVDSPREPROCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSPREPROCESS))
57 #define GST_NVDSPREPROCESS_CAST(obj) ((GstNvDsPreProcess *)(obj))
58 
60 typedef struct
61 {
63  std::vector<NvDsRoiMeta> roi_vector;
65 
66 typedef struct
67 {
69  std::vector<gint> src_ids;
70 
72  std::vector<gint> operate_on_class_ids;
73 
75  guint num_units;
76 
79 
83 
85  NvBufSurfTransformSyncObj_t sync_obj = NULL;
86 
88  std::unordered_map<gint, GstNvDsPreProcessFrame> framemeta_map;
89 
91  gboolean process_on_roi = 0;
92 
94  gboolean process_on_all_objects = 0;
95 
97  gboolean draw_roi = 0;
98 
101 
107 
111 
115 {
120 };
121 
126 {
127 public:
129  NvDsPreProcessAcquirerImpl(GstBufferPool *pool);
131  NvDsPreProcessCustomBuf* acquire() override;
133  gboolean release(NvDsPreProcessCustomBuf *) override;
134 
135 private:
136  GstBufferPool *m_gstpool = nullptr;
137 };
138 
142 typedef struct {
156  gboolean tensor_name;
158  gboolean custom_lib_path;
162  gboolean src_ids;
166  gboolean process_on_roi;
170  gboolean roi_params_src;
176  gboolean draw_roi;
178  gboolean roi_color;
188 
193 {
195  GstBaseTransform base_trans;
196 
198  std::vector <guint64> target_unique_ids;
199 
202 
204  std::vector<GstNvDsPreProcessGroup*> nvdspreprocess_groups;
205 
208 
211 
214 
217 
220 
223 
227 
230  GstBufferPool *scaling_pool;
231 
234 
237 
240 
243 
245  guint scaling_buf_pool_size;
246 
248  guint meta_id;
249 
251  GstBufferPool *tensor_pool;
252 
255 
257  std::unique_ptr <NvDsPreProcessAcquirerImpl> acquire_impl;
258 
261 
264 
267 
270 
273 
276 
279 
283 
286 
289 
291  GThread *output_thread;
292 
294  gboolean stop;
295 
298  guint unique_id;
299 
301  guint64 frame_num;
302 
305 
308 
311 
313  guint gpu_id;
314 
316  gboolean enable;
317 
320 
323 
326 
329 
331  GstFlowReturn last_flow_ret;
332 
335 
338 
340  nvtxDomainHandle_t nvtx_domain;
341 
343  std::unordered_map<gint, gint> *src_to_group_map;
344 
347 };
348 
351 {
353  GstBaseTransformClass parent_class;
354 };
355 
356 GType gst_nvdspreprocess_get_type (void);
357 
358 G_END_DECLS
359 #endif /* __GST_NVDSPREPROCESS_H__ */
gstnvdspreprocess_allocator.h
NvDsPreProcessPropertySet::draw_roi
gboolean draw_roi
for config param : draw_roi
Definition: gstnvdspreprocess.h:176
NvDsPreProcessCustomBufImpl::gstbuf
GstBuffer * gstbuf
Gst Buffer acquired from gst allocator.
Definition: gstnvdspreprocess.h:117
NvDsPreProcessAcquirerImpl
For Acquiring/releasing buffer from buffer pool.
Definition: gstnvdspreprocess.h:125
_GstNvDsPreProcess::frame_num
guint64 frame_num
Frame number of the current input buffer.
Definition: gstnvdspreprocess.h:301
GstNvDsPreProcessGroup::min_input_object_width
guint min_input_object_width
Input object size-based filtering parameters for object processing mode.
Definition: gstnvdspreprocess.h:103
CustomInitParams
Custom Initialization parameter for custom library.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:184
_GstNvDsPreProcess::transform_config_params
NvBufSurfTransformConfigParams transform_config_params
Config params required by NvBufSurfTransform API.
Definition: gstnvdspreprocess.h:334
_GstNvDsPreProcess::process_on_frame
gboolean process_on_frame
Boolean indicating if processing on frame or already cropped objects should be processed.
Definition: gstnvdspreprocess.h:325
GstNvDsPreProcessFrame
per frame roi info
Definition: gstnvdspreprocess.h:60
NvDsPreProcessAcquirerImpl::acquire
NvDsPreProcessCustomBuf * acquire() override
override acquire method in plugin
NvDsPreProcessPropertySet::max_input_object_height
gboolean max_input_object_height
for config param : input-object-max-height
Definition: gstnvdspreprocess.h:186
_GstNvDsPreProcess::stop
gboolean stop
Boolean to signal output thread to stop.
Definition: gstnvdspreprocess.h:294
NvBufSurfTransformSyncObj_t
struct NvBufSurfTransformSyncObj * NvBufSurfTransformSyncObj_t
Holds the information about synchronization objects for asynchronous transform/composite APIs.
Definition: nvbufsurftransform.h:287
_GstNvDsPreProcess::unique_id
guint unique_id
Unique ID of the element.
Definition: gstnvdspreprocess.h:298
NvDsPreProcessPropertySet::process_on_all_objects
gboolean process_on_all_objects
for config param : process-on-all-objects
Definition: gstnvdspreprocess.h:168
_GstNvDsPreProcess::base_trans
GstBaseTransform base_trans
Gst Base Transform.
Definition: gstnvdspreprocess.h:195
NvDsPreProcessPropertySet::processing_width
gboolean processing_width
for config param : processsing-width
Definition: gstnvdspreprocess.h:144
NvDsPreProcessPropertySet::src_ids
gboolean src_ids
for config param : src-ids
Definition: gstnvdspreprocess.h:162
_GstNvDsPreProcess::acquire_impl
std::unique_ptr< NvDsPreProcessAcquirerImpl > acquire_impl
Class for acquiring/releasing buffer from tensor pool.
Definition: gstnvdspreprocess.h:257
_GstNvDsPreProcess::scaling_pool
GstBufferPool * scaling_pool
Internal buffer pool for memory required for scaling input frames and cropping object.
Definition: gstnvdspreprocess.h:230
_NvBufSurfaceTransformParams
Holds transform parameters for a transform call.
Definition: nvbufsurftransform.h:190
_GstNvDsPreProcess::target_unique_ids
std::vector< guint64 > target_unique_ids
Target unique ids.
Definition: gstnvdspreprocess.h:198
NvDsPreProcessPropertySet::scaling_pool_memory_type
gboolean scaling_pool_memory_type
for config param : scaling-pool-memory-type
Definition: gstnvdspreprocess.h:174
_GstNvDsPreProcess::symmetric_padding
gboolean symmetric_padding
Boolean to indicate symmetric padding.
Definition: gstnvdspreprocess.h:278
NvDsPreProcessPropertySet::custom_lib_path
gboolean custom_lib_path
for config param : custom-lib-path
Definition: gstnvdspreprocess.h:158
_GstNvDsPreProcess::operate_on_gie_id
gint operate_on_gie_id
Gie id to process.
Definition: gstnvdspreprocess.h:201
NvBufSurface
Holds information about batched buffers.
Definition: nvbufsurface.h:509
NvDsPreProcessBatch
Holds information about the batch of frames to be inferred.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:247
_GstNvDsPreProcess::custom_tensor_function_name
std::string custom_tensor_function_name
custom tensor function name
Definition: gstnvdspreprocess.h:222
NvDsPreProcessPropertySet::network_input_order
gboolean network_input_order
for config param : network-input-order
Definition: gstnvdspreprocess.h:148
GstNvDsPreProcessGroup::framemeta_map
std::unordered_map< gint, GstNvDsPreProcessFrame > framemeta_map
Map src_id - Preprocess Frame meta.
Definition: gstnvdspreprocess.h:88
NvDsPreProcessPropertySet::min_input_object_width
gboolean min_input_object_width
for config param : input-object-min-width
Definition: gstnvdspreprocess.h:180
GstNvDsPreProcessFrame::roi_vector
std::vector< NvDsRoiMeta > roi_vector
list of roi vectors per frame
Definition: gstnvdspreprocess.h:63
_GstNvDsPreProcess::preprocess_cond
GCond preprocess_cond
Gcondition for process queue.
Definition: gstnvdspreprocess.h:288
gst-nvquery.h
_GstNvDsPreProcess::maintain_aspect_ratio
gboolean maintain_aspect_ratio
Boolean to indicate maintain aspect ratio.
Definition: gstnvdspreprocess.h:275
NvDsPreProcessPropertySet::process_on_roi
gboolean process_on_roi
for config param : process-on-rois
Definition: gstnvdspreprocess.h:166
_GstNvDsPreProcess::batch_insurf
NvBufSurface batch_insurf
Temporary NvBufSurface for input to batched transformations.
Definition: gstnvdspreprocess.h:304
GstNvDsPreProcessGroup::src_ids
std::vector< gint > src_ids
vector of src_ids
Definition: gstnvdspreprocess.h:69
_GstNvDsPreProcess::tensor_params
NvDsPreProcessTensorParams tensor_params
Parameters for tensor preparation.
Definition: gstnvdspreprocess.h:263
_GstNvDsPreProcess::batch_outsurf
NvBufSurface batch_outsurf
Temporary NvBufSurface for output from batched transformations.
Definition: gstnvdspreprocess.h:307
_GstNvDsPreProcess::gpu_id
guint gpu_id
GPU ID on which we expect to execute the task.
Definition: gstnvdspreprocess.h:313
_GstNvDsPreProcess::custom_lib_path
gchar * custom_lib_path
Custom Library Name.
Definition: gstnvdspreprocess.h:219
_GstNvDsPreProcess::meta_id
guint meta_id
meta id for differentiating between multiple tensor meta from same gst buffer
Definition: gstnvdspreprocess.h:248
NvDsPreProcessPropertySet::scaling_pool_interpolation_filter
gboolean scaling_pool_interpolation_filter
for config param : scaling-pool-interpolation-filter
Definition: gstnvdspreprocess.h:172
NvDsPreProcessStatus
NvDsPreProcessStatus
Enum for the status codes returned by NvDsPreProcessImpl.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:49
CustomTransformParams
custom transformation parameter for calling nvbufsurftransform api for scaling and converting the ROI...
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:116
GstNvDsPreProcessGroup::operate_on_class_ids
std::vector< gint > operate_on_class_ids
vector of operate_on_class_ids for sgie
Definition: gstnvdspreprocess.h:72
_GstNvDsPreProcessClass
Boiler plate stuff.
Definition: gstnvdspreprocess.h:350
NvBufSurfTransform_Compute
NvBufSurfTransform_Compute
Specifies compute devices used by NvBufSurfTransform.
Definition: nvbufsurftransform.h:45
_GstNvDsPreProcess::scaling_pool_interpolation_filter
NvBufSurfTransform_Inter scaling_pool_interpolation_filter
interpolation filter for transformation
Definition: gstnvdspreprocess.h:242
NvDsPreProcessPropertySet::processing_height
gboolean processing_height
for config param : processsing-height
Definition: gstnvdspreprocess.h:146
NvDsPreProcessPropertySet::network_input_shape
gboolean network_input_shape
for config param : network-input-shape
Definition: gstnvdspreprocess.h:150
_GstNvDsPreProcess::current_batch_num
gulong current_batch_num
Current batch number of the input batch.
Definition: gstnvdspreprocess.h:328
_GstNvDsPreProcess::tensor_pool
GstBufferPool * tensor_pool
Internal buffer pool for memory required for tensor preparation.
Definition: gstnvdspreprocess.h:251
_GstNvDsPreProcess::enable
gboolean enable
if disabled plugin will work in passthrough mode
Definition: gstnvdspreprocess.h:316
GstNvDsPreProcessGroup::roi_color
NvOSD_ColorParams roi_color
color of roi
Definition: gstnvdspreprocess.h:100
GstNvDsPreProcessGroup::num_units
guint num_units
total rois/full-frames in a group
Definition: gstnvdspreprocess.h:75
_GstNvDsPreProcess::framemeta_map_lock
GMutex framemeta_map_lock
Lock for framemeta_map.
Definition: gstnvdspreprocess.h:346
_NvBufSurfTransformConfigParams
Holds configuration parameters for a transform/composite session.
Definition: nvbufsurftransform.h:172
_GstNvDsPreProcess::custom_lib_ctx
CustomCtx * custom_lib_ctx
pointer to the custom lib ctx
Definition: gstnvdspreprocess.h:210
_GstNvDsPreProcess::processing_width
gint processing_width
Resolution width at which roi/full-frames should be processed.
Definition: gstnvdspreprocess.h:266
NvDsPreProcessPropertySet::max_input_object_width
gboolean max_input_object_width
for config param : input-object-max-width
Definition: gstnvdspreprocess.h:184
_GstNvDsPreProcess::src_to_group_map
std::unordered_map< gint, gint > * src_to_group_map
Map src-id : preprocess-group-id.
Definition: gstnvdspreprocess.h:343
_GstNvDsPreProcess::tensor_buf_pool_size
guint tensor_buf_pool_size
tensor buffer pool size
Definition: gstnvdspreprocess.h:254
cudaStream_t
struct CUstream_st * cudaStream_t
Forward declaration of cudaStream_t.
Definition: nvbufsurftransform.h:34
GstNvDsPreProcess
typedefG_BEGIN_DECLS struct _GstNvDsPreProcess GstNvDsPreProcess
Definition: gstnvdspreprocess.h:47
_GstNvDsPreProcess::nvtx_domain
nvtxDomainHandle_t nvtx_domain
NVTX Domain.
Definition: gstnvdspreprocess.h:340
_GstNvDsPreProcess::property_set
NvDsPreProcessPropertySet property_set
struct denoting properties set by config file
Definition: gstnvdspreprocess.h:207
NvDsPreProcessPropertySet
struct denoting properties set by config file
Definition: gstnvdspreprocess.h:142
CustomTensorParams
Tensor params passed to custom library for tensor preparation.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:173
_GstNvDsPreProcess::scaling_pool_memory_type
NvBufSurfaceMemType scaling_pool_memory_type
scaling pool memory type
Definition: gstnvdspreprocess.h:236
_GstNvDsPreProcess::preprocess_lock
GMutex preprocess_lock
Processing Queue and related synchronization structures.
Definition: gstnvdspreprocess.h:282
NvDsPreProcessCustomBuf
Custom Buffer passed to the custom lib for preparing tensor.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:199
NvDsPreProcessAcquirer
class for acquiring and releasing a buffer from tensor pool by custom lib.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:209
GstNvDsPreProcessGroup::max_input_object_width
guint max_input_object_width
Definition: gstnvdspreprocess.h:105
GstNvDsPreProcessGroup::custom_transform
std::function< NvDsPreProcessStatus(NvBufSurface *, NvBufSurface *, CustomTransformParams &)> custom_transform
wrapper to custom transformation function
Definition: gstnvdspreprocess.h:82
NvBufSurfaceMemType
NvBufSurfaceMemType
Specifies memory types for NvBufSurface.
Definition: nvbufsurface.h:306
GstNvDsPreProcessGroup::replicated_src_id
guint replicated_src_id
src-id whose rois is used by all the src within the preprocess-group (when src-ids[0]=-1)
Definition: gstnvdspreprocess.h:109
GstNvDsPreProcessGroup::min_input_object_height
guint min_input_object_height
Definition: gstnvdspreprocess.h:104
_GstNvDsPreProcess
Strucuture containing Preprocess info.
Definition: gstnvdspreprocess.h:192
_GstNvDsPreProcess::custom_initparams
CustomInitParams custom_initparams
custom lib init params
Definition: gstnvdspreprocess.h:213
NvDsPreProcessAcquirerImpl::release
gboolean release(NvDsPreProcessCustomBuf *) override
override release method in plugin
NvDsPreProcessCustomBufImpl::memory
GstNvDsPreProcessMemory * memory
Memory corresponding to the gst buffer.
Definition: gstnvdspreprocess.h:119
NvDsPreProcessPropertySet::roi_color
gboolean roi_color
for config param : roi_color
Definition: gstnvdspreprocess.h:178
NvDsPreProcessTensorParams
Holds model parameters for tensor preparation.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:129
_GstNvDsPreProcess::scaling_pool_format
NvDsPreProcessFormat scaling_pool_format
scaling pool color format
Definition: gstnvdspreprocess.h:233
_GstNvDsPreProcess::processing_height
gint processing_height
Resolution height at which roi/full-frames should be processed.
Definition: gstnvdspreprocess.h:269
_GstNvDsPreProcess::nvdspreprocess_groups
std::vector< GstNvDsPreProcessGroup * > nvdspreprocess_groups
group information as specified in config file
Definition: gstnvdspreprocess.h:204
NvDsPreProcessCustomBufImpl
Used by plugin to access GstBuffer and GstNvDsPreProcessMemory acquired by Custom Library.
Definition: gstnvdspreprocess.h:114
_GstNvDsPreProcess::config_file_path
gchar * config_file_path
Config file path for nvdspreprocess.
Definition: gstnvdspreprocess.h:319
_GstNvDsPreProcessClass::parent_class
GstBaseTransformClass parent_class
gst base transform class
Definition: gstnvdspreprocess.h:353
NvDsPreProcessPropertySet::tensor_name
gboolean tensor_name
for config param : tensor-name
Definition: gstnvdspreprocess.h:156
_GstNvDsPreProcess::preprocess_queue
GQueue * preprocess_queue
Queue to send data to output thread for processing.
Definition: gstnvdspreprocess.h:285
GstNvDsPreProcessGroup::max_input_object_height
guint max_input_object_height
Definition: gstnvdspreprocess.h:106
NvDsPreProcessAcquirerImpl::NvDsPreProcessAcquirerImpl
NvDsPreProcessAcquirerImpl(GstBufferPool *pool)
constructor
_GstNvDsPreProcess::max_batch_size
guint max_batch_size
Maximum batch size.
Definition: gstnvdspreprocess.h:310
_NvOSD_ColorParams
Holds the color parameters of the box or text to be overlayed.
Definition: nvll_osd_struct.h:81
NvBufSurfTransform_Inter
NvBufSurfTransform_Inter
Specifies video interpolation methods.
Definition: nvbufsurftransform.h:84
_GstNvDsPreProcess::scaling_pool_compute_hw
NvBufSurfTransform_Compute scaling_pool_compute_hw
compute hw for transformation
Definition: gstnvdspreprocess.h:239
GstBuffer
struct _GstBuffer GstBuffer
Definition: idatatype.h:19
_GstNvDsPreProcess::custom_tensor_function
std::function< NvDsPreProcessStatus(CustomCtx *, NvDsPreProcessBatch *, NvDsPreProcessCustomBuf *&, CustomTensorParams &, NvDsPreProcessAcquirer *)> custom_tensor_function
wrapper to custom tensor function
Definition: gstnvdspreprocess.h:226
NvDsPreProcessPropertySet::tensor_data_type
gboolean tensor_data_type
for config param : tensor-data-type
Definition: gstnvdspreprocess.h:154
_GstNvDsPreProcess::output_thread
GThread * output_thread
Output thread.
Definition: gstnvdspreprocess.h:291
GstNvDsPreProcessGroup
Definition: gstnvdspreprocess.h:66
NvDsPreProcessPropertySet::network_color_format
gboolean network_color_format
for config param : network-color-format
Definition: gstnvdspreprocess.h:152
_GstNvDsPreProcess::last_flow_ret
GstFlowReturn last_flow_ret
GstFlowReturn returned by the latest buffer pad push.
Definition: gstnvdspreprocess.h:331
CustomCtx
struct CustomCtx CustomCtx
Context for custom library.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:44
NvDsPreProcessPropertySet::min_input_object_height
gboolean min_input_object_height
for config param : input-object-min-height
Definition: gstnvdspreprocess.h:182
_GstNvDsPreProcess::tensor_buf
NvDsPreProcessCustomBuf * tensor_buf
pointer to buffer provided to custom library for tensor preparation
Definition: gstnvdspreprocess.h:260
nvbufsurftransform.h
_GstNvDsPreProcess::config_file_parse_successful
gboolean config_file_parse_successful
Config file parsing status.
Definition: gstnvdspreprocess.h:322
NvDsPreProcessPropertySet::custom_tensor_function_name
gboolean custom_tensor_function_name
for config param : custom-tensor-function-name
Definition: gstnvdspreprocess.h:160
gst_nvdspreprocess_get_type
GType gst_nvdspreprocess_get_type(void)
GstNvDsPreProcessMemory
This file describes the custom memory allocator for the Gstreamer TensorRT plugin.
Definition: gstnvdspreprocess_allocator.h:32
_GstNvDsPreProcess::scaling_buf_pool_size
guint scaling_buf_pool_size
Scaling buffer pool size.
Definition: gstnvdspreprocess.h:242
_GstNvDsPreProcess::convert_stream
cudaStream_t convert_stream
Cuda Stream to ROI crop, scale and convert.
Definition: gstnvdspreprocess.h:272
NvDsPreProcessFormat
NvDsPreProcessFormat
Defines model color formats.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:94
NvDsPreProcessPropertySet::roi_params_src
gboolean roi_params_src
for config param : roi-params-src
Definition: gstnvdspreprocess.h:170
nvbufsurface.h
NvDsPreProcessPropertySet::operate_on_class_ids
gboolean operate_on_class_ids
for config param : operate-on-class-ids
Definition: gstnvdspreprocess.h:164
GstNvDsPreProcessGroup::custom_transform_function_name
std::string custom_transform_function_name
custom transformation function name
Definition: gstnvdspreprocess.h:78
_GstNvDsPreProcess::transform_params
NvBufSurfTransformParams transform_params
Parameters to use for transforming buffers.
Definition: gstnvdspreprocess.h:337
_GstNvDsPreProcess::custom_lib_handle
void * custom_lib_handle
custom lib handle
Definition: gstnvdspreprocess.h:216