NVIDIA DeepStream SDK API Reference

6.4 Release
Batch Class Reference

Detailed Description

Definition at line 139 of file nvstreammux_batch.h.

Public Member Functions

 Batch (unsigned int size)
 
void check_source (unsigned int source_id)
 
void reset_batch ()
 
void set_size (unsigned int size)
 

Data Fields

std::unordered_map< int, int > num_sources
 
unsigned int acc_batch
 number of buffers already accumulated in this batch Still not copied; yet info available in @num_sources More...
 
unsigned int batch_size
 number of surfaces in the batch this will be one NvDsFrameMeta (one frame) in the batch meta More...
 
unsigned int num_surfaces_in_batch
 

Constructor & Destructor Documentation

◆ Batch()

Batch::Batch ( unsigned int  size)
inline

Definition at line 145 of file nvstreammux_batch.h.

References acc_batch, and batch_size.

Member Function Documentation

◆ check_source()

void Batch::check_source ( unsigned int  source_id)

◆ reset_batch()

void Batch::reset_batch ( )

◆ set_size()

void Batch::set_size ( unsigned int  size)

Field Documentation

◆ acc_batch

unsigned int Batch::acc_batch

number of buffers already accumulated in this batch Still not copied; yet info available in @num_sources

Definition at line 170 of file nvstreammux_batch.h.

Referenced by Batch().

◆ batch_size

unsigned int Batch::batch_size

number of surfaces in the batch this will be one NvDsFrameMeta (one frame) in the batch meta

Definition at line 173 of file nvstreammux_batch.h.

Referenced by Batch().

◆ num_sources

std::unordered_map<int, int> Batch::num_sources

Definition at line 165 of file nvstreammux_batch.h.

◆ num_surfaces_in_batch

unsigned int Batch::num_surfaces_in_batch

Definition at line 174 of file nvstreammux_batch.h.


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