VPUSurfaceMetadata#

Defined in src/include/cupva_types.h

struct VPUSurfaceMetadata#

Structure to hold surface metadata to be populated at runtime by host API.

Public Members

uint32_t linePitch#

line pitch of a surface plane in bytes

uint32_t widthInBytes#

width of a surface plane in bytes

uint32_t height#

height of a surface plane in rows

uint8_t format#

Surface format (0 - Pitch linear, 1 - Block linear)

uint8_t blockHeightLog2#

Block height in log2

uint8_t alignment[2]#

Reserved for alignment