ISurface

Overview

Related Modules:

Display

Description:

Stores surface information for hardware acceleration, such as draw image, and bit blit.

Summary

Data Fields

Variable Name

Description

phyAddr

uint64_t 

height

int32_t 

width

int32_t 

stride

int32_t 

enColorFmt

PixelFormat 

bYCbCrClut

bool 

bAlphaMax255

bool 

bAlphaExt1555

bool 

alpha0

uint8_t 

alpha1

uint8_t 

cbcrPhyAddr

uint64_t 

cbcrStride

int32_t 

clutPhyAddr

uint64_t 

Details

Field Documentation

alpha0

  1. uint8_tISurface::alpha0

Description:

Value of alpha0, ranging from 0 to 255

alpha1

  1. uint8_tISurface::alpha1

Description:

Value of alpha1, ranging from 0 to 255

bAlphaExt1555

  1. boolISurface::bAlphaExt1555

Description:

ARGB1555 alpha extension enable bit

bAlphaMax255

  1. boolISurface::bAlphaMax255

Description:

Maximum alpha value of an image (255 or 128)

bYCbCrClut

  1. boolISurface::bYCbCrClut

Description:

Whether the color lookup table (CLUT) is in the YCbCr space

cbcrPhyAddr

  1. uint64_tISurface::cbcrPhyAddr

Description:

CbCr physical address

cbcrStride

  1. int32_tISurface::cbcrStride

Description:

CbCr stride

clutPhyAddr

  1. uint64_tISurface::clutPhyAddr

Description:

Start physical address of the CLUT, used for color extension or correction

enColorFmt

  1. [PixelFormat]($api-api-SmartVision-Devices-Codec.md#ga60883d4958a60b91661e97027a85072a) ISurface::enColorFmt

Description:

Image format

height

  1. int32_tISurface::height

Description:

Image height

phyAddr

  1. uint64_tISurface::phyAddr

Description:

Start physical address of an image

stride

  1. int32_tISurface::stride

Description:

Image stride

width

  1. int32_tISurface::width

Description:

Image width