NVIDIA DeepStream SDK API Reference

7.1 Release
GstDsExampleBatch Struct Reference

Detailed Description

Holds information about the batch of frames to be inferred.

Definition at line 168 of file gstdsexample_optimized.h.

Collaboration diagram for GstDsExampleBatch:

Data Fields

std::vector< GstDsExampleFrameframes
 Vector of frames in the batch. More...
 
GstBufferinbuf = nullptr
 Pointer to the input GstBuffer. More...
 
gulong inbuf_batch_num = 0
 Batch number of the input batch. More...
 
gboolean push_buffer = FALSE
 Boolean indicating that the output thread should only push the buffer to downstream element. More...
 
gboolean event_marker = FALSE
 Boolean marking this batch as an event marker. More...
 
NvBufSurfaceinter_buf
 
nvtxRangeId_t nvtx_complete_buf_range = 0
 

Field Documentation

◆ event_marker

gboolean GstDsExampleBatch::event_marker = FALSE

Boolean marking this batch as an event marker.

This is only used for synchronization. The output loop does not process on the batch.

Definition at line 184 of file gstdsexample_optimized.h.

◆ frames

std::vector< GstDsExampleFrame > GstDsExampleBatch::frames

Vector of frames in the batch.

Definition at line 171 of file gstdsexample_optimized.h.

◆ inbuf

GstBuffer* GstDsExampleBatch::inbuf = nullptr

Pointer to the input GstBuffer.

Definition at line 173 of file gstdsexample_optimized.h.

◆ inbuf_batch_num

gulong GstDsExampleBatch::inbuf_batch_num = 0

Batch number of the input batch.

Definition at line 175 of file gstdsexample_optimized.h.

◆ inter_buf

NvBufSurface* GstDsExampleBatch::inter_buf

Definition at line 190 of file gstdsexample_optimized.h.

◆ nvtx_complete_buf_range

nvtxRangeId_t GstDsExampleBatch::nvtx_complete_buf_range = 0

Definition at line 193 of file gstdsexample_optimized.h.

◆ push_buffer

gboolean GstDsExampleBatch::push_buffer = FALSE

Boolean indicating that the output thread should only push the buffer to downstream element.

If set to true, a corresponding batch has not been queued at the input of NvDsExampleContext and hence dequeuing of output is not required.

Definition at line 180 of file gstdsexample_optimized.h.


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