NVIDIA DeepStream SDK API Reference

8.0 Release
NvDsPreProcessBatch Struct Reference

Detailed Description

Holds information about the batch of frames to be inferred.

Definition at line 247 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

Collaboration diagram for NvDsPreProcessBatch:

Data Fields

std::vector< NvDsPreProcessUnitunits
 Vector of units in the batch. More...
 
std::vector< NvBufSurfTransformSyncObj_tsync_objects
 Vector of sync objects for async transformation of 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...
 
GstBufferconverted_buf = nullptr
 Buffer containing the intermediate conversion output for the batch. More...
 
NvDsPreProcessFormat scaling_pool_format
 scaling pool color format More...
 
NvDsBatchMetabatch_meta
 Deepstream batch meta. More...
 
uint32_t pitch
 Holds the pitch of the buffer. More...
 
nvtxRangeId_t nvtx_complete_buf_range = 0
 nvtx buf range More...
 

Field Documentation

◆ batch_meta

NvDsBatchMeta * NvDsPreProcessBatch::batch_meta

Deepstream batch meta.

Definition at line 271 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ converted_buf

GstBuffer * NvDsPreProcessBatch::converted_buf = nullptr

Buffer containing the intermediate conversion output for the batch.

Definition at line 267 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ event_marker

gboolean NvDsPreProcessBatch::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 265 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ inbuf

GstBuffer * NvDsPreProcessBatch::inbuf = nullptr

Pointer to the input GstBuffer.

Definition at line 254 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ inbuf_batch_num

gulong NvDsPreProcessBatch::inbuf_batch_num = 0

Batch number of the input batch.

Definition at line 256 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ nvtx_complete_buf_range

nvtxRangeId_t NvDsPreProcessBatch::nvtx_complete_buf_range = 0

◆ pitch

uint32_t NvDsPreProcessBatch::pitch

Holds the pitch of the buffer.

Definition at line 273 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ push_buffer

gboolean NvDsPreProcessBatch::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 NvDsPreProcessContext and hence dequeuing of output is not required.

Definition at line 261 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ scaling_pool_format

NvDsPreProcessFormat NvDsPreProcessBatch::scaling_pool_format

scaling pool color format

Definition at line 269 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ sync_objects

std::vector< NvBufSurfTransformSyncObj_t > NvDsPreProcessBatch::sync_objects

Vector of sync objects for async transformation of the batch.

Definition at line 252 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ units

std::vector< NvDsPreProcessUnit > NvDsPreProcessBatch::units

Vector of units in the batch.

Can be for Frame/ROI/Crop

Definition at line 250 of file sources/gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.


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