Struct NVCVImageBatchVarShapeBufferStridedRec

Struct Documentation

struct NVCVImageBatchVarShapeBufferStridedRec

Stores the image plane in a variable shape image batch.

Public Members

NVCVImageFormat uniqueFormat

Format of all images in the batch. If images don’t have all the same format, or the batch is empty, the value is NVCV_IMAGE_FORMAT_NONE .

int32_t maxWidth

Union of all image dimensions. If 0 and number of images is >= 1, this value must not be relied upon.

int32_t maxHeight
NVCVImageFormat *formatList

Pointer to an array of formats, one for each image in imageList.

const NVCVImageFormat *hostFormatList

Pointer to a host-side array of formats, one for each image in imageList.

NVCVImageBufferStrided *imageList

Pointer to all image planes in pitch-linear layout in the image batch. It’s an array of numPlanesPerImage*numImages planes. The number of planes in the image can be fetched from the image batch’s format. With that, plane P of image N can be indexed as imageList[N].planes[P].