NVIDIA DeepStream SDK API Reference

9.0 Release
GstDsExampleBatch Struct Reference

Detailed Description

Holds information about the batch of frames to be inferred.

Definition at line 171 of file sources/gst-plugins/gst-dsexample/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 187 of file sources/gst-plugins/gst-dsexample/gstdsexample_optimized.h.

◆ frames

std::vector< GstDsExampleFrame > GstDsExampleBatch::frames

Vector of frames in the batch.

Definition at line 174 of file sources/gst-plugins/gst-dsexample/gstdsexample_optimized.h.

◆ inbuf

GstBuffer * GstDsExampleBatch::inbuf = nullptr

Pointer to the input GstBuffer.

Definition at line 176 of file sources/gst-plugins/gst-dsexample/gstdsexample_optimized.h.

◆ inbuf_batch_num

gulong GstDsExampleBatch::inbuf_batch_num = 0

Batch number of the input batch.

Definition at line 178 of file sources/gst-plugins/gst-dsexample/gstdsexample_optimized.h.

◆ inter_buf

NvBufSurface * GstDsExampleBatch::inter_buf

◆ nvtx_complete_buf_range

nvtxRangeId_t GstDsExampleBatch::nvtx_complete_buf_range = 0

◆ 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 183 of file sources/gst-plugins/gst-dsexample/gstdsexample_optimized.h.


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