struct NvBufSurface

Holds information about batched buffers.

Public Members

uint32_t gpuId

Holds a GPU ID.

Valid only for a multi-GPU system.

uint32_t batchSize

Holds the batch size.

uint32_t numFilled

Holds the number valid and filled buffers.

Initialized to zero when an instance of the structure is created.

bool isContiguous

Holds an “is contiguous” flag.

If set, memory allocated for the batch is contiguous.

NvBufSurfaceMemType memType

Holds type of memory for buffers in the batch.

NvBufSurfaceParams *surfaceList

Holds a pointer to an array of batched buffers.