NVIDIA DeepStream SDK API Reference

9.2 Release
_GstNvInferBase Struct Reference

Detailed Description

GstNvInferBase element structure.

Definition at line 95 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

Collaboration diagram for _GstNvInferBase:

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...
 
const gchar * classifier_type
 
guint interval_counter
 
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
 
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...
 
gulong current_batch_num
 Current batch number of the input batch. 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...
 
gboolean output_tensor_meta
 Boolean indicating if tensor outputs should be attached as meta on GstBuffers. More...
 
nvtxDomainHandle_t nvtx_domain
 NVTX Domain. More...
 
GstNvInferImpl * impl
 

Field Documentation

◆ base_trans

GstBaseTransform _GstNvInferBase::base_trans

Should be the first member when extending from GstBaseTransform.

Definition at line 98 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ classifier_type

const gchar * _GstNvInferBase::classifier_type

◆ config_file_parse_successful

gboolean _GstNvInferBase::config_file_parse_successful

Boolean indicating if the config parsing was successful.

Definition at line 101 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ config_file_path

gchar * _GstNvInferBase::config_file_path

Path to the configuration file for this instance of gst-nvinfer.

Definition at line 137 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ current_batch_num

gulong _GstNvInferBase::current_batch_num

Current batch number of the input batch.

Definition at line 146 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ file_write_batch_num

guint64 _GstNvInferBase::file_write_batch_num

Batch counter for writing buffer contents to file.

Definition at line 161 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ gpu_id

guint _GstNvInferBase::gpu_id

ID of the GPU this element uses for conversions / inference.

Definition at line 143 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ impl

GstNvInferImpl * _GstNvInferBase::impl

◆ input_queue

GQueue * _GstNvInferBase::input_queue

◆ input_queue_thread

GThread * _GstNvInferBase::input_queue_thread

◆ interval_counter

guint _GstNvInferBase::interval_counter

◆ is_prop_set

std::vector< gboolean > * _GstNvInferBase::is_prop_set

Vector of booleans indicating if properties have been set through GObject set method.

Definition at line 170 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ last_flow_ret

GstFlowReturn _GstNvInferBase::last_flow_ret

GstFlowReturn returned by the latest buffer pad push.

Definition at line 140 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ layers_info

std::vector< NvDsInferLayerInfo > * _GstNvInferBase::layers_info

Vector of bound layers information.

Definition at line 152 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ max_batch_size

guint _GstNvInferBase::max_batch_size

Maximum batch size.

Definition at line 104 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ network_height

gint _GstNvInferBase::network_height

◆ network_info

NvDsInferNetworkInfo _GstNvInferBase::network_info

Network input information.

Definition at line 149 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ network_width

gint _GstNvInferBase::network_width

Network input resolution.

Definition at line 133 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ nvtx_domain

nvtxDomainHandle_t _GstNvInferBase::nvtx_domain

NVTX Domain.

Definition at line 177 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ output_generated_callback

gst_nvinfer_raw_output_generated_callback _GstNvInferBase::output_generated_callback

Pointer to the callback function and userdata for application access to the bound buffer contents.

Definition at line 165 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ output_generated_userdata

gpointer _GstNvInferBase::output_generated_userdata

◆ output_layers_info

std::vector< NvDsInferLayerInfo > * _GstNvInferBase::output_layers_info

Vector of bound output layers information.

Definition at line 155 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ output_tensor_meta

gboolean _GstNvInferBase::output_tensor_meta

Boolean indicating if tensor outputs should be attached as meta on GstBuffers.

Definition at line 174 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ output_thread

GThread * _GstNvInferBase::output_thread

Output thread.

Definition at line 126 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ process_cond

GCond _GstNvInferBase::process_cond

◆ process_lock

GMutex _GstNvInferBase::process_lock

◆ process_queue

GQueue * _GstNvInferBase::process_queue

Processing Queue and related synchronization structures.

Definition at line 120 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ stop

gboolean _GstNvInferBase::stop

Boolean to signal output thread to stop.

Definition at line 130 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ unique_id

guint _GstNvInferBase::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 113 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.

◆ write_raw_buffers_to_file

gboolean _GstNvInferBase::write_raw_buffers_to_file

Boolean indicating if the bound buffer contents should be written to file.

Definition at line 158 of file sources/libs/gst-nvdsinferbase/gstnvinferbase.h.


The documentation for this struct was generated from the following file: