Vision Apps User Guide

Detailed Description

Buffer information into which font and 2d primitives will be draw.

Data Fields

uint8_t * bufAddr [DRAW2D_MAX_PLANES]
 
uint32_t bufWidth
 
uint32_t bufHeight
 
uint32_t bufPitch [DRAW2D_MAX_PLANES]
 
uint32_t dataFormat
 
uint32_t transperentColor
 
uint32_t transperentColorFormat
 

Field Documentation

◆ bufAddr

uint8_t* Draw2D_BufInfo::bufAddr[DRAW2D_MAX_PLANES]

Address of buffer memory

◆ bufWidth

uint32_t Draw2D_BufInfo::bufWidth

Width of buffer in pixels

◆ bufHeight

uint32_t Draw2D_BufInfo::bufHeight

Height of buffer in lines

◆ bufPitch

uint32_t Draw2D_BufInfo::bufPitch[DRAW2D_MAX_PLANES]

Pitch of buffer in Bytes

◆ dataFormat

uint32_t Draw2D_BufInfo::dataFormat

Valid values of type System_VideoDataFormat Currently below data formats are supported

  • DRAW2D_DF_BGR16_565
  • DRAW2D_DF_YUV422I_YVYU
  • DRAW2D_DF_YUV420SP_UV
  • DRAW2D_DF_BGRA16_4444

◆ transperentColor

uint32_t Draw2D_BufInfo::transperentColor

Color used to represent transperent color Buffer will be filled with this color initially and when Draw2D_clearBuf() is called

Representation of color in this field depends on the data format ex, 16-bit value for RGB565 data format

◆ transperentColorFormat

uint32_t Draw2D_BufInfo::transperentColorFormat

Currently below data formats are supported

  • DRAW2D_DF_BGR16_565