NVIDIA DeepStream SDK API Reference

6.1.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvDsPreProcessBatch Struct Reference

Detailed Description

Holds information about the batch of frames to be inferred.

Definition at line 257 of file nvdspreprocess_interface.h.

Collaboration diagram for NvDsPreProcessBatch:

Data Fields

std::vector< NvDsPreProcessUnitunits
 Vector of units in the batch. More...
 
GstBuffer * inbuf = 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...
 
GstBuffer * converted_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

NvDsBatchMeta* NvDsPreProcessBatch::batch_meta

Deepstream batch meta.

Definition at line 279 of file nvdspreprocess_interface.h.

GstBuffer* NvDsPreProcessBatch::converted_buf = nullptr

Buffer containing the intermediate conversion output for the batch.

Definition at line 275 of file nvdspreprocess_interface.h.

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 273 of file nvdspreprocess_interface.h.

GstBuffer* NvDsPreProcessBatch::inbuf = nullptr

Pointer to the input GstBuffer.

Definition at line 262 of file nvdspreprocess_interface.h.

gulong NvDsPreProcessBatch::inbuf_batch_num = 0

Batch number of the input batch.

Definition at line 264 of file nvdspreprocess_interface.h.

nvtxRangeId_t NvDsPreProcessBatch::nvtx_complete_buf_range = 0

nvtx buf range

Definition at line 283 of file nvdspreprocess_interface.h.

uint32_t NvDsPreProcessBatch::pitch

Holds the pitch of the buffer.

Definition at line 281 of file nvdspreprocess_interface.h.

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 269 of file nvdspreprocess_interface.h.

NvDsPreProcessFormat NvDsPreProcessBatch::scaling_pool_format

scaling pool color format

Definition at line 277 of file nvdspreprocess_interface.h.

std::vector<NvDsPreProcessUnit> NvDsPreProcessBatch::units

Vector of units in the batch.

Can be for Frame/ROI/Crop

Definition at line 260 of file nvdspreprocess_interface.h.


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