NVIDIA DeepStream SDK API Reference

6.4 Release
_Gstnvdewarper Struct Reference

Detailed Description

Gstnvdewarper element structure.

Definition at line 131 of file gstnvdewarper.h.

Collaboration diagram for _Gstnvdewarper:

Data Fields

GstBaseTransform element
 Should be the first member when extending from GstBaseTransform. More...
 
GstCaps * sinkcaps
 Sink pad caps. More...
 
GstCaps * srccaps
 Source pad caps. More...
 
guint input_width
 Input frame width. More...
 
guint input_height
 Input frame height. More...
 
guint output_width
 Output frame width. More...
 
guint output_height
 Output frame height. More...
 
guint num_batch_buffers
 Number of batch buffers. More...
 
guint gpu_id
 ID of the GPU this element uses for dewarping/scaling. More...
 
gchar * config_file
 String contaning path and name of configuration file. More...
 
gchar * spot_calibration_file
 String contaning path and name of spot calibration file. More...
 
gchar * aisle_calibration_file
 String contaning path and name of aisle calibration file. More...
 
GstBufferPool * pool
 Internal buffer pool for output buffers
More...
 
gint input_feature
 Input memory feature can take values MEM_FEATURE_NVMM/MEM_FEATURE_RAW based on input memory type caps. More...
 
gint output_feature
 Output memory feature can take values MEM_FEATURE_NVMM/MEM_FEATURE_RAW based on output memory type caps. More...
 
NvBufSurfaceMemType cuda_mem_type
 Cuda surface memory type set by "nvbuf-memory-type". More...
 
NvBufSurfTransform_Inter interpolation_method
 Interpolation method for scaling. More...
 
GstVideoFormat input_fmt
 Input stream format derived from sink caps. More...
 
GstVideoFormat output_fmt
 Output stream format derived from src caps. More...
 
cudaStream_t stream
 Cuda Stream to launch operations on. More...
 
guint frame_num
 Number of the frame in the stream that was last processed. More...
 
guint dump_frames
 Number of dewarped output frames to be dumped in a *.rgba file. More...
 
void * aisle_output
 Placeholder for aisle output host memory pointer. More...
 
void * spot_output
 Placeholder for spot output host memory pointer. More...
 
void * output
 Host memory pointer for output buffer. More...
 
gboolean silent
 Boolean indicating swtiching on/off of verbose output. More...
 
gboolean spot_calibrationfile_set
 Boolean indicating whether the spot calibration file is specified. More...
 
gboolean aisle_calibrationfile_set
 Boolean indicating whether the aisle calibration file is specified. More...
 
AisleCSVParseraisleCSVParser
 CSV parsed structure for aisle calibration. More...
 
SpotCSVParserspotCSVParser
 CSV parsed structure for spot calibration. More...
 
guint source_id
 Source ID of the input source. More...
 
guint num_output_buffers
 Number of Output Buffers to be allocated by buffer pool. More...
 
guint aisleCSVInit
 Boolean indicating whether the aisle surface is initialized from CSV data. More...
 
guint spotCSVInit
 Boolean indicating whether the spot surface is initialized from CSV data. More...
 
guint num_spot_views
 Number of spot views. More...
 
guint num_aisle_views
 Number of aisle views. More...
 
guint spot_surf_index [MAX_DEWARPED_VIEWS]
 Array containing surface indices of spot surfaces. More...
 
guint aisle_surf_index [MAX_DEWARPED_VIEWS]
 Array containing surface indices of aisle surfaces. More...
 
guint surface_index [MAX_DEWARPED_VIEWS]
 Array of all surface indices. More...
 
guint surface_type [MAX_DEWARPED_VIEWS]
 Array of type of projection for each surface. More...
 
GstBufferout_gst_buf
 Pointer to the output buffer. More...
 
NvDewarperPrivpriv
 Pointer to private data structure contaning dewarping parameters for all the output surfaces. More...
 

Field Documentation

◆ aisle_calibration_file

gchar* _Gstnvdewarper::aisle_calibration_file

String contaning path and name of aisle calibration file.

Definition at line 148 of file gstnvdewarper.h.

◆ aisle_calibrationfile_set

gboolean _Gstnvdewarper::aisle_calibrationfile_set

Boolean indicating whether the aisle calibration file is specified.

Definition at line 175 of file gstnvdewarper.h.

◆ aisle_output

void* _Gstnvdewarper::aisle_output

Placeholder for aisle output host memory pointer.

Currently unused.

Definition at line 169 of file gstnvdewarper.h.

◆ aisle_surf_index

guint _Gstnvdewarper::aisle_surf_index[MAX_DEWARPED_VIEWS]

Array containing surface indices of aisle surfaces.

Definition at line 186 of file gstnvdewarper.h.

◆ aisleCSVInit

guint _Gstnvdewarper::aisleCSVInit

Boolean indicating whether the aisle surface is initialized from CSV data.

Definition at line 181 of file gstnvdewarper.h.

◆ aisleCSVParser

AisleCSVParser* _Gstnvdewarper::aisleCSVParser

CSV parsed structure for aisle calibration.

Definition at line 176 of file gstnvdewarper.h.

◆ config_file

gchar* _Gstnvdewarper::config_file

String contaning path and name of configuration file.

Definition at line 146 of file gstnvdewarper.h.

◆ cuda_mem_type

NvBufSurfaceMemType _Gstnvdewarper::cuda_mem_type

Cuda surface memory type set by "nvbuf-memory-type".

Definition at line 159 of file gstnvdewarper.h.

◆ dump_frames

guint _Gstnvdewarper::dump_frames

Number of dewarped output frames to be dumped in a *.rgba file.

Useful for debugging

Definition at line 168 of file gstnvdewarper.h.

◆ element

GstBaseTransform _Gstnvdewarper::element

Should be the first member when extending from GstBaseTransform.

Definition at line 133 of file gstnvdewarper.h.

◆ frame_num

guint _Gstnvdewarper::frame_num

Number of the frame in the stream that was last processed.

Definition at line 166 of file gstnvdewarper.h.

◆ gpu_id

guint _Gstnvdewarper::gpu_id

ID of the GPU this element uses for dewarping/scaling.

Definition at line 144 of file gstnvdewarper.h.

◆ input_feature

gint _Gstnvdewarper::input_feature

Input memory feature can take values MEM_FEATURE_NVMM/MEM_FEATURE_RAW based on input memory type caps.

Definition at line 154 of file gstnvdewarper.h.

◆ input_fmt

GstVideoFormat _Gstnvdewarper::input_fmt

Input stream format derived from sink caps.

Definition at line 161 of file gstnvdewarper.h.

◆ input_height

guint _Gstnvdewarper::input_height

Input frame height.

Definition at line 139 of file gstnvdewarper.h.

◆ input_width

guint _Gstnvdewarper::input_width

Input frame width.

Definition at line 138 of file gstnvdewarper.h.

◆ interpolation_method

NvBufSurfTransform_Inter _Gstnvdewarper::interpolation_method

Interpolation method for scaling.

Set by config param "interpolation-method"

Definition at line 160 of file gstnvdewarper.h.

◆ num_aisle_views

guint _Gstnvdewarper::num_aisle_views

Number of aisle views.

Definition at line 184 of file gstnvdewarper.h.

◆ num_batch_buffers

guint _Gstnvdewarper::num_batch_buffers

Number of batch buffers.

Definition at line 143 of file gstnvdewarper.h.

◆ num_output_buffers

guint _Gstnvdewarper::num_output_buffers

Number of Output Buffers to be allocated by buffer pool.

Definition at line 180 of file gstnvdewarper.h.

◆ num_spot_views

guint _Gstnvdewarper::num_spot_views

Number of spot views.

Definition at line 183 of file gstnvdewarper.h.

◆ out_gst_buf

GstBuffer* _Gstnvdewarper::out_gst_buf

Pointer to the output buffer.

Definition at line 190 of file gstnvdewarper.h.

◆ output

void* _Gstnvdewarper::output

Host memory pointer for output buffer.

Used for frame dumps.

Definition at line 171 of file gstnvdewarper.h.

◆ output_feature

gint _Gstnvdewarper::output_feature

Output memory feature can take values MEM_FEATURE_NVMM/MEM_FEATURE_RAW based on output memory type caps.

Definition at line 157 of file gstnvdewarper.h.

◆ output_fmt

GstVideoFormat _Gstnvdewarper::output_fmt

Output stream format derived from src caps.

Definition at line 162 of file gstnvdewarper.h.

◆ output_height

guint _Gstnvdewarper::output_height

Output frame height.

Definition at line 141 of file gstnvdewarper.h.

◆ output_width

guint _Gstnvdewarper::output_width

Output frame width.

Definition at line 140 of file gstnvdewarper.h.

◆ pool

GstBufferPool* _Gstnvdewarper::pool

Internal buffer pool for output buffers

Definition at line 150 of file gstnvdewarper.h.

◆ priv

NvDewarperPriv* _Gstnvdewarper::priv

Pointer to private data structure contaning dewarping parameters for all the output surfaces.

Definition at line 192 of file gstnvdewarper.h.

◆ silent

gboolean _Gstnvdewarper::silent

Boolean indicating swtiching on/off of verbose output.

Definition at line 173 of file gstnvdewarper.h.

◆ sinkcaps

GstCaps* _Gstnvdewarper::sinkcaps

Sink pad caps.

Definition at line 135 of file gstnvdewarper.h.

◆ source_id

guint _Gstnvdewarper::source_id

Source ID of the input source.

Definition at line 179 of file gstnvdewarper.h.

◆ spot_calibration_file

gchar* _Gstnvdewarper::spot_calibration_file

String contaning path and name of spot calibration file.

Definition at line 147 of file gstnvdewarper.h.

◆ spot_calibrationfile_set

gboolean _Gstnvdewarper::spot_calibrationfile_set

Boolean indicating whether the spot calibration file is specified.

Definition at line 174 of file gstnvdewarper.h.

◆ spot_output

void* _Gstnvdewarper::spot_output

Placeholder for spot output host memory pointer.

Currently unused.

Definition at line 170 of file gstnvdewarper.h.

◆ spot_surf_index

guint _Gstnvdewarper::spot_surf_index[MAX_DEWARPED_VIEWS]

Array containing surface indices of spot surfaces.

Definition at line 185 of file gstnvdewarper.h.

◆ spotCSVInit

guint _Gstnvdewarper::spotCSVInit

Boolean indicating whether the spot surface is initialized from CSV data.

Definition at line 182 of file gstnvdewarper.h.

◆ spotCSVParser

SpotCSVParser* _Gstnvdewarper::spotCSVParser

CSV parsed structure for spot calibration.

Definition at line 177 of file gstnvdewarper.h.

◆ srccaps

GstCaps* _Gstnvdewarper::srccaps

Source pad caps.

Definition at line 136 of file gstnvdewarper.h.

◆ stream

cudaStream_t _Gstnvdewarper::stream

Cuda Stream to launch operations on.

Definition at line 164 of file gstnvdewarper.h.

◆ surface_index

guint _Gstnvdewarper::surface_index[MAX_DEWARPED_VIEWS]

Array of all surface indices.

Definition at line 187 of file gstnvdewarper.h.

◆ surface_type

guint _Gstnvdewarper::surface_type[MAX_DEWARPED_VIEWS]

Array of type of projection for each surface.

Values from enum NvDsSurfaceType

Definition at line 188 of file gstnvdewarper.h.


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