Strucuture containing Preprocess info.
Definition at line 202 of file gstnvdspreprocess.h.
Data Fields | |
GstBaseTransform | base_trans |
Gst Base Transform. More... | |
std::vector< guint64 > | target_unique_ids |
Target unique ids. More... | |
gint | operate_on_gie_id |
Gie id to process. More... | |
std::vector< GstNvDsPreProcessGroup * > | nvdspreprocess_groups |
group information as specified in config file More... | |
NvDsPreProcessPropertySet | property_set |
struct denoting properties set by config file More... | |
CustomCtx * | custom_lib_ctx |
pointer to the custom lib ctx More... | |
CustomInitParams | custom_initparams |
custom lib init params More... | |
void * | custom_lib_handle |
custom lib handle More... | |
gchar * | custom_lib_path |
Custom Library Name. More... | |
std::string | custom_tensor_function_name |
custom tensor function name More... | |
std::function< NvDsPreProcessStatus(CustomCtx *, NvDsPreProcessBatch *, NvDsPreProcessCustomBuf *&, CustomTensorParams &, NvDsPreProcessAcquirer *)> | custom_tensor_function |
wrapper to custom tensor function More... | |
GstBufferPool * | scaling_pool |
Internal buffer pool for memory required for scaling input frames and cropping object. More... | |
NvDsPreProcessFormat | scaling_pool_format |
scaling pool color format More... | |
NvBufSurfaceMemType | scaling_pool_memory_type |
scaling pool memory type More... | |
NvBufSurfTransform_Compute | scaling_pool_compute_hw |
compute hw for transformation More... | |
NvBufSurfTransform_Inter | scaling_pool_interpolation_filter |
interpolation filter for transformation More... | |
guint | scaling_buf_pool_size |
Scaling buffer pool size. More... | |
guint | meta_id |
meta id for differentiating between multiple tensor meta from same gst buffer More... | |
GstBufferPool * | tensor_pool |
Internal buffer pool for memory required for tensor preparation. More... | |
guint | tensor_buf_pool_size |
tensor buffer pool size More... | |
std::unique_ptr< NvDsPreProcessAcquirerImpl > | acquire_impl |
Class for acquiring/releasing buffer from tensor pool. More... | |
NvDsPreProcessCustomBuf * | tensor_buf |
pointer to buffer provided to custom library for tensor preparation More... | |
NvDsPreProcessTensorParams | tensor_params |
Parameters for tensor preparation. More... | |
gint | processing_width |
Resolution width at which roi/full-frames should be processed. More... | |
gint | processing_height |
Resolution height at which roi/full-frames should be processed. More... | |
cudaStream_t | convert_stream |
Cuda Stream to ROI crop, scale and convert. More... | |
gboolean | maintain_aspect_ratio |
Boolean to indicate maintain aspect ratio. More... | |
gboolean | symmetric_padding |
Boolean to indicate symmetric padding. More... | |
GMutex | preprocess_lock |
Processing Queue and related synchronization structures. More... | |
GQueue * | preprocess_queue |
Queue to send data to output thread for processing. More... | |
GCond | preprocess_cond |
Gcondition for process queue. More... | |
GThread * | output_thread |
Output thread. More... | |
gboolean | stop |
Boolean to signal output thread to stop. More... | |
guint | unique_id |
Unique ID of the element. More... | |
guint64 | frame_num |
Frame number of the current input buffer. More... | |
NvBufSurface | batch_insurf |
Temporary NvBufSurface for input to batched transformations. More... | |
NvBufSurface | batch_outsurf |
Temporary NvBufSurface for output from batched transformations. More... | |
guint | max_batch_size |
Maximum batch size. More... | |
guint | gpu_id |
GPU ID on which we expect to execute the task. More... | |
gboolean | enable |
if disabled plugin will work in passthrough mode More... | |
gchar * | config_file_path |
Config file path for nvdspreprocess. More... | |
gboolean | config_file_parse_successful |
Config file parsing status. More... | |
gboolean | process_on_frame |
Boolean indicating if processing on frame or already cropped objects should be processed. More... | |
gulong | current_batch_num |
Current batch number of the input batch. More... | |
GstFlowReturn | last_flow_ret |
GstFlowReturn returned by the latest buffer pad push. More... | |
NvBufSurfTransformConfigParams | transform_config_params |
Config params required by NvBufSurfTransform API. More... | |
NvBufSurfTransformParams | transform_params |
Parameters to use for transforming buffers. More... | |
nvtxDomainHandle_t | nvtx_domain |
NVTX Domain. More... | |
std::unordered_map< gint, gint > * | src_to_group_map |
Map src-id : preprocess-group-id. More... | |
GMutex | framemeta_map_lock |
Lock for framemeta_map. More... | |
std::unique_ptr<NvDsPreProcessAcquirerImpl> _GstNvDsPreProcess::acquire_impl |
Class for acquiring/releasing buffer from tensor pool.
Definition at line 267 of file gstnvdspreprocess.h.
GstBaseTransform _GstNvDsPreProcess::base_trans |
Gst Base Transform.
Definition at line 205 of file gstnvdspreprocess.h.
NvBufSurface _GstNvDsPreProcess::batch_insurf |
Temporary NvBufSurface for input to batched transformations.
Definition at line 314 of file gstnvdspreprocess.h.
NvBufSurface _GstNvDsPreProcess::batch_outsurf |
Temporary NvBufSurface for output from batched transformations.
Definition at line 317 of file gstnvdspreprocess.h.
gboolean _GstNvDsPreProcess::config_file_parse_successful |
Config file parsing status.
Definition at line 332 of file gstnvdspreprocess.h.
gchar* _GstNvDsPreProcess::config_file_path |
Config file path for nvdspreprocess.
Definition at line 329 of file gstnvdspreprocess.h.
cudaStream_t _GstNvDsPreProcess::convert_stream |
Cuda Stream to ROI crop, scale and convert.
Definition at line 282 of file gstnvdspreprocess.h.
gulong _GstNvDsPreProcess::current_batch_num |
Current batch number of the input batch.
Definition at line 338 of file gstnvdspreprocess.h.
CustomInitParams _GstNvDsPreProcess::custom_initparams |
custom lib init params
Definition at line 223 of file gstnvdspreprocess.h.
CustomCtx* _GstNvDsPreProcess::custom_lib_ctx |
pointer to the custom lib ctx
Definition at line 220 of file gstnvdspreprocess.h.
void* _GstNvDsPreProcess::custom_lib_handle |
custom lib handle
Definition at line 226 of file gstnvdspreprocess.h.
gchar* _GstNvDsPreProcess::custom_lib_path |
Custom Library Name.
Definition at line 229 of file gstnvdspreprocess.h.
std::function<NvDsPreProcessStatus(CustomCtx *, NvDsPreProcessBatch *, NvDsPreProcessCustomBuf *&, CustomTensorParams &, NvDsPreProcessAcquirer *)> _GstNvDsPreProcess::custom_tensor_function |
wrapper to custom tensor function
Definition at line 236 of file gstnvdspreprocess.h.
std::string _GstNvDsPreProcess::custom_tensor_function_name |
custom tensor function name
Definition at line 232 of file gstnvdspreprocess.h.
gboolean _GstNvDsPreProcess::enable |
if disabled plugin will work in passthrough mode
Definition at line 326 of file gstnvdspreprocess.h.
guint64 _GstNvDsPreProcess::frame_num |
Frame number of the current input buffer.
Definition at line 311 of file gstnvdspreprocess.h.
GMutex _GstNvDsPreProcess::framemeta_map_lock |
Lock for framemeta_map.
Definition at line 356 of file gstnvdspreprocess.h.
guint _GstNvDsPreProcess::gpu_id |
GPU ID on which we expect to execute the task.
Definition at line 323 of file gstnvdspreprocess.h.
GstFlowReturn _GstNvDsPreProcess::last_flow_ret |
GstFlowReturn returned by the latest buffer pad push.
Definition at line 341 of file gstnvdspreprocess.h.
gboolean _GstNvDsPreProcess::maintain_aspect_ratio |
Boolean to indicate maintain aspect ratio.
Definition at line 285 of file gstnvdspreprocess.h.
guint _GstNvDsPreProcess::max_batch_size |
Maximum batch size.
Definition at line 320 of file gstnvdspreprocess.h.
guint _GstNvDsPreProcess::meta_id |
meta id for differentiating between multiple tensor meta from same gst buffer
Definition at line 258 of file gstnvdspreprocess.h.
std::vector<GstNvDsPreProcessGroup*> _GstNvDsPreProcess::nvdspreprocess_groups |
group information as specified in config file
Definition at line 214 of file gstnvdspreprocess.h.
nvtxDomainHandle_t _GstNvDsPreProcess::nvtx_domain |
NVTX Domain.
Definition at line 350 of file gstnvdspreprocess.h.
gint _GstNvDsPreProcess::operate_on_gie_id |
Gie id to process.
Definition at line 211 of file gstnvdspreprocess.h.
GThread* _GstNvDsPreProcess::output_thread |
Output thread.
Definition at line 301 of file gstnvdspreprocess.h.
GCond _GstNvDsPreProcess::preprocess_cond |
Gcondition for process queue.
Definition at line 298 of file gstnvdspreprocess.h.
GMutex _GstNvDsPreProcess::preprocess_lock |
Processing Queue and related synchronization structures.
Gmutex lock for against shared access in threads
Definition at line 292 of file gstnvdspreprocess.h.
GQueue* _GstNvDsPreProcess::preprocess_queue |
Queue to send data to output thread for processing.
Definition at line 295 of file gstnvdspreprocess.h.
gboolean _GstNvDsPreProcess::process_on_frame |
Boolean indicating if processing on frame or already cropped objects should be processed.
Definition at line 335 of file gstnvdspreprocess.h.
gint _GstNvDsPreProcess::processing_height |
Resolution height at which roi/full-frames should be processed.
Definition at line 279 of file gstnvdspreprocess.h.
gint _GstNvDsPreProcess::processing_width |
Resolution width at which roi/full-frames should be processed.
Definition at line 276 of file gstnvdspreprocess.h.
NvDsPreProcessPropertySet _GstNvDsPreProcess::property_set |
struct denoting properties set by config file
Definition at line 217 of file gstnvdspreprocess.h.
guint _GstNvDsPreProcess::scaling_buf_pool_size |
Scaling buffer pool size.
Definition at line 252 of file gstnvdspreprocess.h.
GstBufferPool* _GstNvDsPreProcess::scaling_pool |
Internal buffer pool for memory required for scaling input frames and cropping object.
Definition at line 240 of file gstnvdspreprocess.h.
NvBufSurfTransform_Compute _GstNvDsPreProcess::scaling_pool_compute_hw |
compute hw for transformation
Definition at line 249 of file gstnvdspreprocess.h.
NvDsPreProcessFormat _GstNvDsPreProcess::scaling_pool_format |
scaling pool color format
Definition at line 243 of file gstnvdspreprocess.h.
NvBufSurfTransform_Inter _GstNvDsPreProcess::scaling_pool_interpolation_filter |
interpolation filter for transformation
Definition at line 252 of file gstnvdspreprocess.h.
NvBufSurfaceMemType _GstNvDsPreProcess::scaling_pool_memory_type |
scaling pool memory type
Definition at line 246 of file gstnvdspreprocess.h.
std::unordered_map<gint, gint>* _GstNvDsPreProcess::src_to_group_map |
Map src-id : preprocess-group-id.
Definition at line 353 of file gstnvdspreprocess.h.
gboolean _GstNvDsPreProcess::stop |
Boolean to signal output thread to stop.
Definition at line 304 of file gstnvdspreprocess.h.
gboolean _GstNvDsPreProcess::symmetric_padding |
Boolean to indicate symmetric padding.
Definition at line 288 of file gstnvdspreprocess.h.
std::vector<guint64> _GstNvDsPreProcess::target_unique_ids |
Target unique ids.
Definition at line 208 of file gstnvdspreprocess.h.
NvDsPreProcessCustomBuf* _GstNvDsPreProcess::tensor_buf |
pointer to buffer provided to custom library for tensor preparation
Definition at line 270 of file gstnvdspreprocess.h.
guint _GstNvDsPreProcess::tensor_buf_pool_size |
tensor buffer pool size
Definition at line 264 of file gstnvdspreprocess.h.
NvDsPreProcessTensorParams _GstNvDsPreProcess::tensor_params |
Parameters for tensor preparation.
Definition at line 273 of file gstnvdspreprocess.h.
GstBufferPool* _GstNvDsPreProcess::tensor_pool |
Internal buffer pool for memory required for tensor preparation.
Definition at line 261 of file gstnvdspreprocess.h.
NvBufSurfTransformConfigParams _GstNvDsPreProcess::transform_config_params |
Config params required by NvBufSurfTransform API.
Definition at line 344 of file gstnvdspreprocess.h.
NvBufSurfTransformParams _GstNvDsPreProcess::transform_params |
Parameters to use for transforming buffers.
Definition at line 347 of file gstnvdspreprocess.h.
guint _GstNvDsPreProcess::unique_id |
Unique ID of the element.
Used to identify metadata generated by this element.
Definition at line 308 of file gstnvdspreprocess.h.