Struct NVCVImagePlaneStridedRec

Struct Documentation

struct NVCVImagePlaneStridedRec

Public Members

int32_t width

Width of this plane in pixels.

  • It must be >= 1.

int32_t height

Height of this plane in pixels.

  • It must be >= 1.

int32_t rowStride

Difference in bytes of beginning of one row and the beginning of the previous. This is used to address every row (and ultimately every pixel) in the plane.

T *pix_addr = (T *)(basePtr + rowStride*height)+width;
where T is the C type related to dataType.

  • It must be at least (width * bits-per-pixel + 7)/8.

NVCVByte *basePtr

Pointer to the beginning of the first row of this plane. This points to the actual plane contents.