struct NvDsInferContextBatchInput

Holds information about one batch to be inferred.

Public Members

void **inputFrames

Holds a pointer to an array of pointers to input frame buffers.

The size of the array must be at least numInputFrames.

unsigned int numInputFrames

Holds the number of input frames, i.e.

the size of the batch.

NvDsInferFormat inputFormat

Holds the format of the frame contents.

unsigned int inputPitch

Holds the pitch of the input frames, in bytes.

NvDsInferContextReturnInputAsyncFunc returnInputFunc

Holds a callback for returning the input buffers to the client.

void *returnFuncData

A pointer to the data to be supplied with the callback in returnInputFunc.