NVIDIA DeepStream SDK API Reference

8.0 Release
Batch Class Reference

Detailed Description

Public Member Functions

 Batch (unsigned int size)
 
void check_source (unsigned int source_id)
 
void reset_batch ()
 
void set_size (unsigned int size)
 
 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() [1/2]

Batch::Batch ( unsigned int  size)
inline

Definition at line 134 of file sources/libs/nvstreammux/include/nvstreammux_batch.h.

References acc_batch, and batch_size.

◆ Batch() [2/2]

Batch::Batch ( unsigned int  size)
inline

Member Function Documentation

◆ check_source() [1/2]

void Batch::check_source ( unsigned int  source_id)

◆ check_source() [2/2]

void Batch::check_source ( unsigned int  source_id)

◆ reset_batch() [1/2]

void Batch::reset_batch ( )

◆ reset_batch() [2/2]

void Batch::reset_batch ( )

◆ set_size() [1/2]

void Batch::set_size ( unsigned int  size)

◆ set_size() [2/2]

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 159 of file sources/libs/nvstreammux/include/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 162 of file sources/libs/nvstreammux/include/nvstreammux_batch.h.

Referenced by Batch().

◆ num_sources

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

◆ num_surfaces_in_batch

unsigned int Batch::num_surfaces_in_batch

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