GstNvInfer element structure.
Definition at line 175 of file gstnvinfer.h.
Data Fields | |
GstBaseTransform | base_trans |
Should be the first member when extending from GstBaseTransform. More... | |
gboolean | config_file_parse_successful |
Boolean indicating if the config parsing was successful. More... | |
guint | max_batch_size |
Maximum batch size. More... | |
guint | unique_id |
Unique ID of the element. More... | |
GstBufferPool * | pool |
Internal buffer pool for memory required for scaling input frames and cropping object. More... | |
GQueue * | process_queue |
Processing Queue and related synchronization structures. More... | |
GMutex | process_lock |
GCond | process_cond |
GQueue * | input_queue |
GThread * | output_thread |
Output thread. More... | |
GThread * | input_queue_thread |
gboolean | stop |
Boolean to signal output thread to stop. More... | |
gint | network_width |
Network input resolution. More... | |
gint | network_height |
gboolean | process_full_frame |
Boolean indicating if entire frame should be inferred or crop objects based on metadata recieved from the primary detector. More... | |
gchar * | config_file_path |
Path to the configuration file for this instance of gst-nvinfer. More... | |
GstFlowReturn | last_flow_ret |
GstFlowReturn returned by the latest buffer pad push. More... | |
guint | gpu_id |
ID of the GPU this element uses for conversions / inference. More... | |
cudaStream_t | convertStream |
Cuda Stream to launch npp operations on. More... | |
gboolean | input_tensor_from_meta |
gboolean | clip_object_outside_roi |
Clip the object bounding-box which lies outside the roi specified by nvdspreprosess plugin. More... | |
gboolean | maintain_aspect_ratio |
Boolean indicating if aspect ratio should be maintained when scaling to network resolution. More... | |
gboolean | symmetric_padding |
Boolean indicating which padding to be used when scaling to network resolution. More... | |
std::vector< GstNvInferDetectionFilterParams > * | perClassDetectionFilterParams |
Vector for per-class detection filtering parameters. More... | |
std::vector< GstNvInferColorParams > * | perClassColorParams |
Vector for per-class color parameters. More... | |
guint | interval |
Batch interval for full-frame processing. More... | |
guint | interval_counter |
guint | secondary_reinfer_interval |
Frame interval after which objects should be reinferred on. More... | |
guint | min_input_object_width |
Input object size-based filtering parameters for object processing mode. More... | |
guint | min_input_object_height |
guint | max_input_object_width |
guint | max_input_object_height |
gint | operate_on_gie_id |
Source GIE ID and class-id based filtering parameters for object processing mode. More... | |
std::vector< gboolean > * | operate_on_class_ids |
std::set< uint > * | filter_out_class_ids |
std::unordered_map< gint, GstNvInferSourceInfo > * | source_info |
Per source information. More... | |
gulong | last_map_cleanup_frame_num |
gulong | current_batch_num |
Current batch number of the input batch. More... | |
gboolean | classifier_async_mode |
Boolean indicating if the secondary classifier should run in asynchronous mode. More... | |
gchar * | classifier_type |
String containing the type of classifier. More... | |
NvDsInferNetworkInfo | network_info |
Network input information. More... | |
std::vector< NvDsInferLayerInfo > * | layers_info |
Vector of bound layers information. More... | |
std::vector< NvDsInferLayerInfo > * | output_layers_info |
Vector of bound output layers information. More... | |
gboolean | write_raw_buffers_to_file |
Boolean indicating if the bound buffer contents should be written to file. More... | |
guint64 | file_write_batch_num |
Batch counter for writing buffer contents to file. More... | |
gst_nvinfer_raw_output_generated_callback | output_generated_callback |
Pointer to the callback function and userdata for application access to the bound buffer contents. More... | |
gpointer | output_generated_userdata |
std::vector< gboolean > * | is_prop_set |
Vector of booleans indicating if properties have been set through GObject set method. More... | |
NvBufSurfTransformConfigParams | transform_config_params |
Config params required by NvBufSurfTransform API. More... | |
NvBufSurfTransformParams | transform_params |
Parameters to use for transforming buffers. More... | |
NvBufSurface | tmp_surf |
Temporary NvBufSurface for batched transformations. More... | |
gboolean | output_tensor_meta |
Boolean indicating if tensor outputs should be attached as meta on GstBuffers. More... | |
gboolean | output_instance_mask |
Boolean indicating if instance masks are expected in output and has to be attached in metadata. More... | |
GstClockTime | untracked_object_warn_pts |
PTS of input buffer when nvinfer last posted the warning about untracked object. More... | |
nvtxDomainHandle_t | nvtx_domain |
NVTX Domain. More... | |
gboolean | crop_objects_to_roi_boundary |
GstNvInferImpl * | impl |
GstBaseTransform _GstNvInfer::base_trans |
Should be the first member when extending from GstBaseTransform.
Definition at line 178 of file gstnvinfer.h.
gboolean _GstNvInfer::classifier_async_mode |
Boolean indicating if the secondary classifier should run in asynchronous mode.
Definition at line 279 of file gstnvinfer.h.
gchar* _GstNvInfer::classifier_type |
String containing the type of classifier.
Definition at line 282 of file gstnvinfer.h.
gboolean _GstNvInfer::clip_object_outside_roi |
Clip the object bounding-box which lies outside the roi specified by nvdspreprosess plugin.
Definition at line 236 of file gstnvinfer.h.
gboolean _GstNvInfer::config_file_parse_successful |
Boolean indicating if the config parsing was successful.
Definition at line 181 of file gstnvinfer.h.
gchar* _GstNvInfer::config_file_path |
Path to the configuration file for this instance of gst-nvinfer.
Definition at line 222 of file gstnvinfer.h.
cudaStream_t _GstNvInfer::convertStream |
Cuda Stream to launch npp operations on.
Definition at line 231 of file gstnvinfer.h.
gboolean _GstNvInfer::crop_objects_to_roi_boundary |
Definition at line 333 of file gstnvinfer.h.
gulong _GstNvInfer::current_batch_num |
Current batch number of the input batch.
Definition at line 276 of file gstnvinfer.h.
guint64 _GstNvInfer::file_write_batch_num |
Batch counter for writing buffer contents to file.
Definition at line 297 of file gstnvinfer.h.
std::set<uint>* _GstNvInfer::filter_out_class_ids |
Definition at line 269 of file gstnvinfer.h.
guint _GstNvInfer::gpu_id |
ID of the GPU this element uses for conversions / inference.
Definition at line 228 of file gstnvinfer.h.
GstNvInferImpl* _GstNvInfer::impl |
Definition at line 335 of file gstnvinfer.h.
GQueue* _GstNvInfer::input_queue |
Definition at line 204 of file gstnvinfer.h.
GThread* _GstNvInfer::input_queue_thread |
Definition at line 208 of file gstnvinfer.h.
gboolean _GstNvInfer::input_tensor_from_meta |
Definition at line 233 of file gstnvinfer.h.
guint _GstNvInfer::interval |
Batch interval for full-frame processing.
Definition at line 254 of file gstnvinfer.h.
guint _GstNvInfer::interval_counter |
Definition at line 255 of file gstnvinfer.h.
std::vector<gboolean>* _GstNvInfer::is_prop_set |
Vector of booleans indicating if properties have been set through GObject set method.
Definition at line 306 of file gstnvinfer.h.
GstFlowReturn _GstNvInfer::last_flow_ret |
GstFlowReturn returned by the latest buffer pad push.
Definition at line 225 of file gstnvinfer.h.
gulong _GstNvInfer::last_map_cleanup_frame_num |
Definition at line 273 of file gstnvinfer.h.
std::vector<NvDsInferLayerInfo>* _GstNvInfer::layers_info |
Vector of bound layers information.
Definition at line 288 of file gstnvinfer.h.
gboolean _GstNvInfer::maintain_aspect_ratio |
Boolean indicating if aspect ratio should be maintained when scaling to network resolution.
Right/bottom areas will be filled with black areas.
Definition at line 240 of file gstnvinfer.h.
guint _GstNvInfer::max_batch_size |
Maximum batch size.
Definition at line 184 of file gstnvinfer.h.
guint _GstNvInfer::max_input_object_height |
Definition at line 264 of file gstnvinfer.h.
guint _GstNvInfer::max_input_object_width |
Definition at line 263 of file gstnvinfer.h.
guint _GstNvInfer::min_input_object_height |
Definition at line 262 of file gstnvinfer.h.
guint _GstNvInfer::min_input_object_width |
Input object size-based filtering parameters for object processing mode.
Definition at line 261 of file gstnvinfer.h.
gint _GstNvInfer::network_height |
Definition at line 215 of file gstnvinfer.h.
NvDsInferNetworkInfo _GstNvInfer::network_info |
Network input information.
Definition at line 285 of file gstnvinfer.h.
gint _GstNvInfer::network_width |
Network input resolution.
Definition at line 214 of file gstnvinfer.h.
nvtxDomainHandle_t _GstNvInfer::nvtx_domain |
NVTX Domain.
Definition at line 330 of file gstnvinfer.h.
std::vector<gboolean>* _GstNvInfer::operate_on_class_ids |
Definition at line 268 of file gstnvinfer.h.
gint _GstNvInfer::operate_on_gie_id |
Source GIE ID and class-id based filtering parameters for object processing mode.
Definition at line 267 of file gstnvinfer.h.
gst_nvinfer_raw_output_generated_callback _GstNvInfer::output_generated_callback |
Pointer to the callback function and userdata for application access to the bound buffer contents.
Definition at line 301 of file gstnvinfer.h.
gpointer _GstNvInfer::output_generated_userdata |
Definition at line 302 of file gstnvinfer.h.
gboolean _GstNvInfer::output_instance_mask |
Boolean indicating if instance masks are expected in output and has to be attached in metadata.
Definition at line 323 of file gstnvinfer.h.
std::vector<NvDsInferLayerInfo>* _GstNvInfer::output_layers_info |
Vector of bound output layers information.
Definition at line 291 of file gstnvinfer.h.
gboolean _GstNvInfer::output_tensor_meta |
Boolean indicating if tensor outputs should be attached as meta on GstBuffers.
Definition at line 319 of file gstnvinfer.h.
GThread* _GstNvInfer::output_thread |
Output thread.
Definition at line 207 of file gstnvinfer.h.
std::vector<GstNvInferColorParams>* _GstNvInfer::perClassColorParams |
Vector for per-class color parameters.
Definition at line 251 of file gstnvinfer.h.
std::vector<GstNvInferDetectionFilterParams>* _GstNvInfer::perClassDetectionFilterParams |
Vector for per-class detection filtering parameters.
Definition at line 248 of file gstnvinfer.h.
GstBufferPool* _GstNvInfer::pool |
Internal buffer pool for memory required for scaling input frames and cropping object.
Definition at line 198 of file gstnvinfer.h.
GCond _GstNvInfer::process_cond |
Definition at line 203 of file gstnvinfer.h.
gboolean _GstNvInfer::process_full_frame |
Boolean indicating if entire frame should be inferred or crop objects based on metadata recieved from the primary detector.
Definition at line 219 of file gstnvinfer.h.
GMutex _GstNvInfer::process_lock |
Definition at line 202 of file gstnvinfer.h.
GQueue* _GstNvInfer::process_queue |
Processing Queue and related synchronization structures.
Definition at line 201 of file gstnvinfer.h.
guint _GstNvInfer::secondary_reinfer_interval |
Frame interval after which objects should be reinferred on.
Definition at line 258 of file gstnvinfer.h.
std::unordered_map<gint, GstNvInferSourceInfo>* _GstNvInfer::source_info |
Per source information.
Definition at line 272 of file gstnvinfer.h.
gboolean _GstNvInfer::stop |
Boolean to signal output thread to stop.
Definition at line 211 of file gstnvinfer.h.
gboolean _GstNvInfer::symmetric_padding |
Boolean indicating which padding to be used when scaling to network resolution.
Right/bottom areas will be filled with black areas by default. Symmetric padding is used if enabled.
Definition at line 245 of file gstnvinfer.h.
NvBufSurface _GstNvInfer::tmp_surf |
Temporary NvBufSurface for batched transformations.
Definition at line 315 of file gstnvinfer.h.
NvBufSurfTransformConfigParams _GstNvInfer::transform_config_params |
Config params required by NvBufSurfTransform API.
Definition at line 309 of file gstnvinfer.h.
NvBufSurfTransformParams _GstNvInfer::transform_params |
Parameters to use for transforming buffers.
Definition at line 312 of file gstnvinfer.h.
guint _GstNvInfer::unique_id |
Unique ID of the element.
The labels generated by the element will be updated at index unique_id
of attr_info array in NvDsObjectParams. For detectors, this value will be assigned to gie_unique_id of NvDsFrameMeta meta structure attached by the element to identify the meta attached by this element.
Definition at line 193 of file gstnvinfer.h.
GstClockTime _GstNvInfer::untracked_object_warn_pts |
PTS of input buffer when nvinfer last posted the warning about untracked object.
Definition at line 327 of file gstnvinfer.h.
gboolean _GstNvInfer::write_raw_buffers_to_file |
Boolean indicating if the bound buffer contents should be written to file.
Definition at line 294 of file gstnvinfer.h.