NvDsInferContextBatchOutput

struct NvDsInferContextBatchOutput

Holds the output for all of the frames in a batch (an array of frame), and related buffer information.

Public Members

NvDsInferFrameOutput *frames

Holds a pointer to an array of outputs for each frame in the batch.

unsigned int numFrames

Holds the number of elements in frames.

void **outputDeviceBuffers

Holds a pointer to an array of pointers to output device buffers for this batch.

The array elements are set by

unsigned int numOutputDeviceBuffers

Holds the number of elements in *outputDeviceBuffers.

void **hostBuffers

Holds a pointer to an array of pointers to host buffers for this batch.

The array elements are set by

unsigned int numHostBuffers

Holds the number of elements in hostBuffers.

void *priv

Holds a private context pointer for the set of output buffers.