NVIDIA DeepStream SDK API Reference

6.4 Release
_GstDsExample Struct Reference

Detailed Description

Definition at line 71 of file gstdsexample.h.

Collaboration diagram for _GstDsExample:

Data Fields

GstBaseTransform base_trans
 
DsExampleCtxdsexamplelib_ctx
 Context of the custom algorithm library. More...
 
guint unique_id
 Unique ID of the element. More...
 
guint64 frame_num
 Frame number of the current input buffer. More...
 
cudaStream_t cuda_stream
 CUDA Stream used for allocating the CUDA task. More...
 
void * host_rgb_buf
 
NvBufSurfaceinter_buf
 the intermediate scratch buffer for conversions RGBA More...
 
GstVideoInfo video_info
 Input video info (resolution, color format, framerate, etc) More...
 
gint processing_width
 Resolution at which frames/objects should be processed. More...
 
gint processing_height
 
guint is_integrated
 
guint batch_size
 
guint gpu_id
 GPU ID on which we expect to execute the task. More...
 
gboolean process_full_frame
 Boolean indicating if entire frame or cropped objects should be processed. More...
 
gboolean blur_objects
 
GMutex process_lock
 Processing Queue and related synchronization structures. More...
 
GQueue * process_queue
 Queue to send data to output thread for processing. More...
 
GCond process_cond
 Gcondition for process queue. More...
 
GQueue * buf_queue
 Queue to receive processed data from output thread. More...
 
GCond buf_cond
 Gcondition for buf queue. More...
 
GThread * process_thread
 Output thread. More...
 
gboolean stop
 Boolean to signal output thread to stop. More...
 
NvBufSurface batch_insurf
 Temporary NvBufSurface for batched transformations. More...
 
guint max_batch_size
 Maximum batch size. 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...
 

Field Documentation

◆ base_trans

GstBaseTransform _GstDsExample::base_trans

Definition at line 73 of file gstdsexample.h.

◆ batch_insurf

NvBufSurface _GstDsExample::batch_insurf

Temporary NvBufSurface for batched transformations.

Definition at line 116 of file gstdsexample_optimized.h.

◆ batch_size

guint _GstDsExample::batch_size

Definition at line 110 of file gstdsexample.h.

◆ blur_objects

gboolean _GstDsExample::blur_objects

Definition at line 119 of file gstdsexample.h.

◆ buf_cond

GCond _GstDsExample::buf_cond

Gcondition for buf queue.

Definition at line 97 of file gstdsexample_optimized.h.

◆ buf_queue

GQueue* _GstDsExample::buf_queue

Queue to receive processed data from output thread.

Definition at line 94 of file gstdsexample_optimized.h.

◆ cuda_stream

cudaStream_t _GstDsExample::cuda_stream

CUDA Stream used for allocating the CUDA task.

Definition at line 86 of file gstdsexample.h.

◆ current_batch_num

gulong _GstDsExample::current_batch_num

Current batch number of the input batch.

Definition at line 138 of file gstdsexample_optimized.h.

◆ dsexamplelib_ctx

DsExampleCtx * _GstDsExample::dsexamplelib_ctx

Context of the custom algorithm library.

Definition at line 76 of file gstdsexample.h.

◆ frame_num

guint64 _GstDsExample::frame_num

Frame number of the current input buffer.

Definition at line 83 of file gstdsexample.h.

◆ gpu_id

guint _GstDsExample::gpu_id

GPU ID on which we expect to execute the task.

Definition at line 113 of file gstdsexample.h.

◆ host_rgb_buf

void* _GstDsExample::host_rgb_buf

Definition at line 89 of file gstdsexample.h.

◆ inter_buf

NvBufSurface * _GstDsExample::inter_buf

the intermediate scratch buffer for conversions RGBA

Definition at line 92 of file gstdsexample.h.

◆ is_integrated

guint _GstDsExample::is_integrated

Definition at line 107 of file gstdsexample.h.

◆ last_flow_ret

GstFlowReturn _GstDsExample::last_flow_ret

GstFlowReturn returned by the latest buffer pad push.

Definition at line 141 of file gstdsexample_optimized.h.

◆ max_batch_size

guint _GstDsExample::max_batch_size

Maximum batch size.

Definition at line 129 of file gstdsexample_optimized.h.

◆ nvtx_domain

nvtxDomainHandle_t _GstDsExample::nvtx_domain

NVTX Domain.

Definition at line 150 of file gstdsexample_optimized.h.

◆ process_cond

GCond _GstDsExample::process_cond

Gcondition for process queue.

Definition at line 91 of file gstdsexample_optimized.h.

◆ process_full_frame

gboolean _GstDsExample::process_full_frame

Boolean indicating if entire frame or cropped objects should be processed.

Definition at line 116 of file gstdsexample.h.

◆ process_lock

GMutex _GstDsExample::process_lock

Processing Queue and related synchronization structures.

Gmutex lock for against shared access in threads

Definition at line 85 of file gstdsexample_optimized.h.

◆ process_queue

GQueue* _GstDsExample::process_queue

Queue to send data to output thread for processing.

Definition at line 88 of file gstdsexample_optimized.h.

◆ process_thread

GThread* _GstDsExample::process_thread

Output thread.

Definition at line 100 of file gstdsexample_optimized.h.

◆ processing_height

gint _GstDsExample::processing_height

Definition at line 104 of file gstdsexample.h.

◆ processing_width

gint _GstDsExample::processing_width

Resolution at which frames/objects should be processed.

Definition at line 103 of file gstdsexample.h.

◆ stop

gboolean _GstDsExample::stop

Boolean to signal output thread to stop.

Definition at line 103 of file gstdsexample_optimized.h.

◆ transform_config_params

NvBufSurfTransformConfigParams _GstDsExample::transform_config_params

Config params required by NvBufSurfTransform API.

Definition at line 144 of file gstdsexample_optimized.h.

◆ transform_params

NvBufSurfTransformParams _GstDsExample::transform_params

Parameters to use for transforming buffers.

Definition at line 147 of file gstdsexample_optimized.h.

◆ unique_id

guint _GstDsExample::unique_id

Unique ID of the element.

Used to identify metadata generated by this element.

Definition at line 80 of file gstdsexample.h.

◆ video_info

GstVideoInfo _GstDsExample::video_info

Input video info (resolution, color format, framerate, etc)

Definition at line 100 of file gstdsexample.h.


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