NVIDIA DeepStream SDK API Reference

6.4 Release
gstnvdspreprocess.h
Go to the documentation of this file.
1 
23 #ifndef __GST_NVDSPREPROCESS_H__
24 #define __GST_NVDSPREPROCESS_H__
25 
26 #include <gst/base/gstbasetransform.h>
27 #include <gst/video/video.h>
28 
29 #include <cuda.h>
30 #include <cuda_runtime.h>
31 #include "nvbufsurface.h"
32 #include "nvbufsurftransform.h"
33 #include "gst-nvquery.h"
34 
36 #include "nvdspreprocess_interface.h"
37 #include "nvdspreprocess_meta.h"
38 
39 #include "nvtx3/nvToolsExt.h"
40 
41 #include <condition_variable>
42 #include <mutex>
43 #include <thread>
44 #include <unordered_map>
45 #include <functional>
46 
47 /* Package and library details required for plugin_init */
48 #define PACKAGE "nvdsvideotemplate"
49 #define VERSION "1.0"
50 #define LICENSE "Proprietary"
51 #define DESCRIPTION "NVIDIA custom preprocessing plugin for integration with DeepStream on DGPU/Jetson"
52 #define BINARY_PACKAGE "NVIDIA DeepStream Preprocessing using custom algorithms for different streams"
53 #define URL "http://nvidia.com/"
54 
55 G_BEGIN_DECLS
56 /* Standard boilerplate stuff */
59 
60 /* Standard boilerplate stuff */
61 #define GST_TYPE_NVDSPREPROCESS (gst_nvdspreprocess_get_type())
62 #define GST_NVDSPREPROCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSPREPROCESS,GstNvDsPreProcess))
63 #define GST_NVDSPREPROCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSPREPROCESS,GstNvDsPreProcessClass))
64 #define GST_NVDSPREPROCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSPREPROCESS, GstNvDsPreProcessClass))
65 #define GST_IS_NVDSPREPROCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSPREPROCESS))
66 #define GST_IS_NVDSPREPROCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSPREPROCESS))
67 #define GST_NVDSPREPROCESS_CAST(obj) ((GstNvDsPreProcess *)(obj))
68 
70 typedef struct
71 {
73  std::vector<NvDsRoiMeta> roi_vector;
75 
76 typedef struct
77 {
79  std::vector<gint> src_ids;
80 
82  std::vector<gint> operate_on_class_ids;
83 
85  guint num_units;
86 
89 
93 
96 
98  std::unordered_map<gint, GstNvDsPreProcessFrame> framemeta_map;
99 
101  gboolean process_on_roi = 0;
102 
104  gboolean process_on_all_objects = 0;
105 
107  gboolean draw_roi = 0;
108 
111 
117 
121 
125 {
130 };
131 
136 {
137 public:
139  NvDsPreProcessAcquirerImpl(GstBufferPool *pool);
141  NvDsPreProcessCustomBuf* acquire() override;
143  gboolean release(NvDsPreProcessCustomBuf *) override;
144 
145 private:
146  GstBufferPool *m_gstpool = nullptr;
147 };
148 
152 typedef struct {
166  gboolean tensor_name;
168  gboolean custom_lib_path;
172  gboolean src_ids;
176  gboolean process_on_roi;
180  gboolean roi_params_src;
186  gboolean draw_roi;
188  gboolean roi_color;
198 
203 {
205  GstBaseTransform base_trans;
206 
208  std::vector <guint64> target_unique_ids;
209 
212 
214  std::vector<GstNvDsPreProcessGroup*> nvdspreprocess_groups;
215 
218 
221 
224 
227 
230 
233 
237 
240  GstBufferPool *scaling_pool;
241 
244 
247 
250 
253 
255  guint scaling_buf_pool_size;
256 
258  guint meta_id;
259 
261  GstBufferPool *tensor_pool;
262 
265 
267  std::unique_ptr <NvDsPreProcessAcquirerImpl> acquire_impl;
268 
271 
274 
277 
280 
283 
286 
289 
293 
296 
299 
301  GThread *output_thread;
302 
304  gboolean stop;
305 
308  guint unique_id;
309 
311  guint64 frame_num;
312 
315 
318 
321 
323  guint gpu_id;
324 
326  gboolean enable;
327 
330 
333 
336 
339 
341  GstFlowReturn last_flow_ret;
342 
345 
348 
350  nvtxDomainHandle_t nvtx_domain;
351 
353  std::unordered_map<gint, gint> *src_to_group_map;
354 
357 };
358 
361 {
363  GstBaseTransformClass parent_class;
364 };
365 
366 GType gst_nvdspreprocess_get_type (void);
367 
368 G_END_DECLS
369 #endif /* __GST_NVDSPREPROCESS_H__ */
gstnvdspreprocess_allocator.h
NvDsPreProcessPropertySet::draw_roi
gboolean draw_roi
for config param : draw_roi
Definition: gstnvdspreprocess.h:186
NvDsPreProcessCustomBufImpl::gstbuf
GstBuffer * gstbuf
Gst Buffer acquired from gst allocator.
Definition: gstnvdspreprocess.h:127
NvDsPreProcessAcquirerImpl
For Acquiring/releasing buffer from buffer pool.
Definition: gstnvdspreprocess.h:135
_GstNvDsPreProcess::frame_num
guint64 frame_num
Frame number of the current input buffer.
Definition: gstnvdspreprocess.h:311
GstNvDsPreProcessGroup::min_input_object_width
guint min_input_object_width
Input object size-based filtering parameters for object processing mode.
Definition: gstnvdspreprocess.h:113
CustomInitParams
Custom Initialization parameter for custom library.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:194
_GstNvDsPreProcess::transform_config_params
NvBufSurfTransformConfigParams transform_config_params
Config params required by NvBufSurfTransform API.
Definition: gstnvdspreprocess.h:344
_GstNvDsPreProcess::process_on_frame
gboolean process_on_frame
Boolean indicating if processing on frame or already cropped objects should be processed.
Definition: gstnvdspreprocess.h:335
GstNvDsPreProcessFrame
per frame roi info
Definition: gstnvdspreprocess.h:70
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:196
_GstNvDsPreProcess::stop
gboolean stop
Boolean to signal output thread to stop.
Definition: gstnvdspreprocess.h:304
NvBufSurfTransformSyncObj_t
struct NvBufSurfTransformSyncObj * NvBufSurfTransformSyncObj_t
Holds the information about synchronization objects for asynchronous transform/composite APIs.
Definition: nvbufsurftransform.h:282
_GstNvDsPreProcess::unique_id
guint unique_id
Unique ID of the element.
Definition: gstnvdspreprocess.h:308
GstNvDsPreProcessGroup::sync_obj
NvBufSurfTransformSyncObj_t sync_obj
sync object for async transformation
Definition: gstnvdspreprocess.h:95
NvDsPreProcessPropertySet::process_on_all_objects
gboolean process_on_all_objects
for config param : process-on-all-objects
Definition: gstnvdspreprocess.h:178
_GstNvDsPreProcess::base_trans
GstBaseTransform base_trans
Gst Base Transform.
Definition: gstnvdspreprocess.h:205
NvDsPreProcessPropertySet::processing_width
gboolean processing_width
for config param : processsing-width
Definition: gstnvdspreprocess.h:154
NvDsPreProcessPropertySet::src_ids
gboolean src_ids
for config param : src-ids
Definition: gstnvdspreprocess.h:172
_GstNvDsPreProcess::acquire_impl
std::unique_ptr< NvDsPreProcessAcquirerImpl > acquire_impl
Class for acquiring/releasing buffer from tensor pool.
Definition: gstnvdspreprocess.h:267
_GstNvDsPreProcess::scaling_pool
GstBufferPool * scaling_pool
Internal buffer pool for memory required for scaling input frames and cropping object.
Definition: gstnvdspreprocess.h:240
_NvBufSurfaceTransformParams
Holds transform parameters for a transform call.
Definition: nvbufsurftransform.h:185
_GstNvDsPreProcess::target_unique_ids
std::vector< guint64 > target_unique_ids
Target unique ids.
Definition: gstnvdspreprocess.h:208
NvDsPreProcessPropertySet::scaling_pool_memory_type
gboolean scaling_pool_memory_type
for config param : scaling-pool-memory-type
Definition: gstnvdspreprocess.h:184
_GstNvDsPreProcess::symmetric_padding
gboolean symmetric_padding
Boolean to indicate symmetric padding.
Definition: gstnvdspreprocess.h:288
NvDsPreProcessPropertySet::custom_lib_path
gboolean custom_lib_path
for config param : custom-lib-path
Definition: gstnvdspreprocess.h:168
_GstNvDsPreProcess::operate_on_gie_id
gint operate_on_gie_id
Gie id to process.
Definition: gstnvdspreprocess.h:211
NvBufSurface
Holds information about batched buffers.
Definition: nvbufsurface.h:503
NvDsPreProcessBatch
Holds information about the batch of frames to be inferred.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:257
_GstNvDsPreProcess::custom_tensor_function_name
std::string custom_tensor_function_name
custom tensor function name
Definition: gstnvdspreprocess.h:232
NvDsPreProcessPropertySet::network_input_order
gboolean network_input_order
for config param : network-input-order
Definition: gstnvdspreprocess.h:158
GstNvDsPreProcessGroup::framemeta_map
std::unordered_map< gint, GstNvDsPreProcessFrame > framemeta_map
Map src_id - Preprocess Frame meta.
Definition: gstnvdspreprocess.h:98
NvDsPreProcessPropertySet::min_input_object_width
gboolean min_input_object_width
for config param : input-object-min-width
Definition: gstnvdspreprocess.h:190
GstNvDsPreProcessFrame::roi_vector
std::vector< NvDsRoiMeta > roi_vector
list of roi vectors per frame
Definition: gstnvdspreprocess.h:73
_GstNvDsPreProcess::preprocess_cond
GCond preprocess_cond
Gcondition for process queue.
Definition: gstnvdspreprocess.h:298
gst-nvquery.h
_GstNvDsPreProcess::maintain_aspect_ratio
gboolean maintain_aspect_ratio
Boolean to indicate maintain aspect ratio.
Definition: gstnvdspreprocess.h:285
NvDsPreProcessPropertySet::process_on_roi
gboolean process_on_roi
for config param : process-on-rois
Definition: gstnvdspreprocess.h:176
_GstNvDsPreProcess::batch_insurf
NvBufSurface batch_insurf
Temporary NvBufSurface for input to batched transformations.
Definition: gstnvdspreprocess.h:314
GstNvDsPreProcessGroup::src_ids
std::vector< gint > src_ids
vector of src_ids
Definition: gstnvdspreprocess.h:79
_GstNvDsPreProcess::tensor_params
NvDsPreProcessTensorParams tensor_params
Parameters for tensor preparation.
Definition: gstnvdspreprocess.h:273
_GstNvDsPreProcess::batch_outsurf
NvBufSurface batch_outsurf
Temporary NvBufSurface for output from batched transformations.
Definition: gstnvdspreprocess.h:317
_GstNvDsPreProcess::gpu_id
guint gpu_id
GPU ID on which we expect to execute the task.
Definition: gstnvdspreprocess.h:323
_GstNvDsPreProcess::custom_lib_path
gchar * custom_lib_path
Custom Library Name.
Definition: gstnvdspreprocess.h:229
_GstNvDsPreProcess::meta_id
guint meta_id
meta id for differentiating between multiple tensor meta from same gst buffer
Definition: gstnvdspreprocess.h:258
NvDsPreProcessPropertySet::scaling_pool_interpolation_filter
gboolean scaling_pool_interpolation_filter
for config param : scaling-pool-interpolation-filter
Definition: gstnvdspreprocess.h:182
NvDsPreProcessStatus
NvDsPreProcessStatus
Enum for the status codes returned by NvDsPreProcessImpl.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:59
CustomTransformParams
custom transformation parameter for calling nvbufsurftransform api for scaling and converting the ROI...
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:126
GstNvDsPreProcessGroup::operate_on_class_ids
std::vector< gint > operate_on_class_ids
vector of operate_on_class_ids for sgie
Definition: gstnvdspreprocess.h:82
_GstNvDsPreProcessClass
Boiler plate stuff.
Definition: gstnvdspreprocess.h:360
NvBufSurfTransform_Compute
NvBufSurfTransform_Compute
Specifies compute devices used by NvBufSurfTransform.
Definition: nvbufsurftransform.h:40
_GstNvDsPreProcess::scaling_pool_interpolation_filter
NvBufSurfTransform_Inter scaling_pool_interpolation_filter
interpolation filter for transformation
Definition: gstnvdspreprocess.h:252
NvDsPreProcessPropertySet::processing_height
gboolean processing_height
for config param : processsing-height
Definition: gstnvdspreprocess.h:156
NvDsPreProcessPropertySet::network_input_shape
gboolean network_input_shape
for config param : network-input-shape
Definition: gstnvdspreprocess.h:160
_GstNvDsPreProcess::current_batch_num
gulong current_batch_num
Current batch number of the input batch.
Definition: gstnvdspreprocess.h:338
_GstNvDsPreProcess::tensor_pool
GstBufferPool * tensor_pool
Internal buffer pool for memory required for tensor preparation.
Definition: gstnvdspreprocess.h:261
_GstNvDsPreProcess::enable
gboolean enable
if disabled plugin will work in passthrough mode
Definition: gstnvdspreprocess.h:326
GstNvDsPreProcessGroup::roi_color
NvOSD_ColorParams roi_color
color of roi
Definition: gstnvdspreprocess.h:110
GstNvDsPreProcessGroup::num_units
guint num_units
total rois/full-frames in a group
Definition: gstnvdspreprocess.h:85
_GstNvDsPreProcess::framemeta_map_lock
GMutex framemeta_map_lock
Lock for framemeta_map.
Definition: gstnvdspreprocess.h:356
_NvBufSurfTransformConfigParams
Holds configuration parameters for a transform/composite session.
Definition: nvbufsurftransform.h:167
_GstNvDsPreProcess::custom_lib_ctx
CustomCtx * custom_lib_ctx
pointer to the custom lib ctx
Definition: gstnvdspreprocess.h:220
_GstNvDsPreProcess::processing_width
gint processing_width
Resolution width at which roi/full-frames should be processed.
Definition: gstnvdspreprocess.h:276
NvDsPreProcessPropertySet::max_input_object_width
gboolean max_input_object_width
for config param : input-object-max-width
Definition: gstnvdspreprocess.h:194
_GstNvDsPreProcess::src_to_group_map
std::unordered_map< gint, gint > * src_to_group_map
Map src-id : preprocess-group-id.
Definition: gstnvdspreprocess.h:353
_GstNvDsPreProcess::tensor_buf_pool_size
guint tensor_buf_pool_size
tensor buffer pool size
Definition: gstnvdspreprocess.h:264
cudaStream_t
struct CUstream_st * cudaStream_t
Forward declaration of cudaStream_t.
Definition: nvbufsurftransform.h:29
GstNvDsPreProcess
typedefG_BEGIN_DECLS struct _GstNvDsPreProcess GstNvDsPreProcess
Definition: gstnvdspreprocess.h:57
_GstNvDsPreProcess::nvtx_domain
nvtxDomainHandle_t nvtx_domain
NVTX Domain.
Definition: gstnvdspreprocess.h:350
_GstNvDsPreProcess::property_set
NvDsPreProcessPropertySet property_set
struct denoting properties set by config file
Definition: gstnvdspreprocess.h:217
NvDsPreProcessPropertySet
struct denoting properties set by config file
Definition: gstnvdspreprocess.h:152
CustomTensorParams
Tensor params passed to custom library for tensor preparation.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:183
_GstNvDsPreProcess::scaling_pool_memory_type
NvBufSurfaceMemType scaling_pool_memory_type
scaling pool memory type
Definition: gstnvdspreprocess.h:246
_GstNvDsPreProcess::preprocess_lock
GMutex preprocess_lock
Processing Queue and related synchronization structures.
Definition: gstnvdspreprocess.h:292
NvDsPreProcessCustomBuf
Custom Buffer passed to the custom lib for preparing tensor.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:209
NvDsPreProcessAcquirer
class for acquiring and releasing a buffer from tensor pool by custom lib.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:219
GstNvDsPreProcessGroup::max_input_object_width
guint max_input_object_width
Definition: gstnvdspreprocess.h:115
GstNvDsPreProcessGroup::custom_transform
std::function< NvDsPreProcessStatus(NvBufSurface *, NvBufSurface *, CustomTransformParams &)> custom_transform
wrapper to custom transformation function
Definition: gstnvdspreprocess.h:92
NvBufSurfaceMemType
NvBufSurfaceMemType
Specifies memory types for NvBufSurface.
Definition: nvbufsurface.h:300
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:119
GstNvDsPreProcessGroup::min_input_object_height
guint min_input_object_height
Definition: gstnvdspreprocess.h:114
_GstNvDsPreProcess
Strucuture containing Preprocess info.
Definition: gstnvdspreprocess.h:202
_GstNvDsPreProcess::custom_initparams
CustomInitParams custom_initparams
custom lib init params
Definition: gstnvdspreprocess.h:223
NvDsPreProcessAcquirerImpl::release
gboolean release(NvDsPreProcessCustomBuf *) override
override release method in plugin
NvDsPreProcessCustomBufImpl::memory
GstNvDsPreProcessMemory * memory
Memory corresponding to the gst buffer.
Definition: gstnvdspreprocess.h:129
NvDsPreProcessPropertySet::roi_color
gboolean roi_color
for config param : roi_color
Definition: gstnvdspreprocess.h:188
NvDsPreProcessTensorParams
Holds model parameters for tensor preparation.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:139
_GstNvDsPreProcess::scaling_pool_format
NvDsPreProcessFormat scaling_pool_format
scaling pool color format
Definition: gstnvdspreprocess.h:243
_GstNvDsPreProcess::processing_height
gint processing_height
Resolution height at which roi/full-frames should be processed.
Definition: gstnvdspreprocess.h:279
_GstNvDsPreProcess::nvdspreprocess_groups
std::vector< GstNvDsPreProcessGroup * > nvdspreprocess_groups
group information as specified in config file
Definition: gstnvdspreprocess.h:214
NvDsPreProcessCustomBufImpl
Used by plugin to access GstBuffer and GstNvDsPreProcessMemory acquired by Custom Library.
Definition: gstnvdspreprocess.h:124
_GstNvDsPreProcess::config_file_path
gchar * config_file_path
Config file path for nvdspreprocess.
Definition: gstnvdspreprocess.h:329
_GstNvDsPreProcessClass::parent_class
GstBaseTransformClass parent_class
gst base transform class
Definition: gstnvdspreprocess.h:363
NvDsPreProcessPropertySet::tensor_name
gboolean tensor_name
for config param : tensor-name
Definition: gstnvdspreprocess.h:166
_GstNvDsPreProcess::preprocess_queue
GQueue * preprocess_queue
Queue to send data to output thread for processing.
Definition: gstnvdspreprocess.h:295
GstNvDsPreProcessGroup::max_input_object_height
guint max_input_object_height
Definition: gstnvdspreprocess.h:116
NvDsPreProcessAcquirerImpl::NvDsPreProcessAcquirerImpl
NvDsPreProcessAcquirerImpl(GstBufferPool *pool)
constructor
_GstNvDsPreProcess::max_batch_size
guint max_batch_size
Maximum batch size.
Definition: gstnvdspreprocess.h:320
_NvOSD_ColorParams
Holds the color parameters of the box or text to be overlayed.
Definition: nvll_osd_struct.h:80
NvBufSurfTransform_Inter
NvBufSurfTransform_Inter
Specifies video interpolation methods.
Definition: nvbufsurftransform.h:79
_GstNvDsPreProcess::scaling_pool_compute_hw
NvBufSurfTransform_Compute scaling_pool_compute_hw
compute hw for transformation
Definition: gstnvdspreprocess.h:249
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:236
NvDsPreProcessPropertySet::tensor_data_type
gboolean tensor_data_type
for config param : tensor-data-type
Definition: gstnvdspreprocess.h:164
_GstNvDsPreProcess::output_thread
GThread * output_thread
Output thread.
Definition: gstnvdspreprocess.h:301
GstNvDsPreProcessGroup
Definition: gstnvdspreprocess.h:76
NvDsPreProcessPropertySet::network_color_format
gboolean network_color_format
for config param : network-color-format
Definition: gstnvdspreprocess.h:162
_GstNvDsPreProcess::last_flow_ret
GstFlowReturn last_flow_ret
GstFlowReturn returned by the latest buffer pad push.
Definition: gstnvdspreprocess.h:341
CustomCtx
struct CustomCtx CustomCtx
Context for custom library.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:54
NvDsPreProcessPropertySet::min_input_object_height
gboolean min_input_object_height
for config param : input-object-min-height
Definition: gstnvdspreprocess.h:192
_GstNvDsPreProcess::tensor_buf
NvDsPreProcessCustomBuf * tensor_buf
pointer to buffer provided to custom library for tensor preparation
Definition: gstnvdspreprocess.h:270
nvbufsurftransform.h
_GstNvDsPreProcess::config_file_parse_successful
gboolean config_file_parse_successful
Config file parsing status.
Definition: gstnvdspreprocess.h:332
NvDsPreProcessPropertySet::custom_tensor_function_name
gboolean custom_tensor_function_name
for config param : custom-tensor-function-name
Definition: gstnvdspreprocess.h:170
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:42
_GstNvDsPreProcess::scaling_buf_pool_size
guint scaling_buf_pool_size
Scaling buffer pool size.
Definition: gstnvdspreprocess.h:252
_GstNvDsPreProcess::convert_stream
cudaStream_t convert_stream
Cuda Stream to ROI crop, scale and convert.
Definition: gstnvdspreprocess.h:282
NvDsPreProcessFormat
NvDsPreProcessFormat
Defines model color formats.
Definition: gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h:104
NvDsPreProcessPropertySet::roi_params_src
gboolean roi_params_src
for config param : roi-params-src
Definition: gstnvdspreprocess.h:180
nvbufsurface.h
NvDsPreProcessPropertySet::operate_on_class_ids
gboolean operate_on_class_ids
for config param : operate-on-class-ids
Definition: gstnvdspreprocess.h:174
GstNvDsPreProcessGroup::custom_transform_function_name
std::string custom_transform_function_name
custom transformation function name
Definition: gstnvdspreprocess.h:88
_GstNvDsPreProcess::transform_params
NvBufSurfTransformParams transform_params
Parameters to use for transforming buffers.
Definition: gstnvdspreprocess.h:347
_GstNvDsPreProcess::custom_lib_handle
void * custom_lib_handle
custom lib handle
Definition: gstnvdspreprocess.h:226