PlanarGeometry#

Defined in src/include/cupva_types.h

struct PlanarGeometry#

Structure to hold geometry information of a a multi-planar buffer.

Public Members

uint16_t widths[GSDF_MAX_NUM_PLANES]#

An array of 16-bit unsigned integers that store the widths of each plane in pixels

uint16_t heights[GSDF_MAX_NUM_PLANES]#

An array of 16-bit unsigned integers that store the heights of each plane in rows

uint16_t linePitches[GSDF_MAX_NUM_PLANES]#

An array of 16-bit unsigned integers that store the line pitches of the planes in pixels

uint32_t planeOffsets[GSDF_MAX_NUM_PLANES]#

An array of 32-bit unsigned integers that indicate the offsets of each plane to the start of the multi-planar buffer in pixels

uint8_t numPlanes#

Number of planes in the image

uint8_t padding[15]#

Padding to keep this struct 4B aligned