当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 1 Fork 5.3K

fork_ohos_wj / docs
关闭

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
isurface.md 8.84 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

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

uint8_t ISurface::alpha0

Description:

Value of alpha0, ranging from 0 to 255

alpha1

uint8_t ISurface::alpha1

Description:

Value of alpha1, ranging from 0 to 255

bAlphaExt1555

bool ISurface::bAlphaExt1555

Description:

ARGB1555 alpha extension enable bit

bAlphaMax255

bool ISurface::bAlphaMax255

Description:

Maximum alpha value of an image (255 or 128)

bYCbCrClut

bool ISurface::bYCbCrClut

Description:

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

cbcrPhyAddr

uint64_t ISurface::cbcrPhyAddr

Description:

CbCr physical address

cbcrStride

int32_t ISurface::cbcrStride

Description:

CbCr stride

clutPhyAddr

uint64_t ISurface::clutPhyAddr

Description:

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

enColorFmt

[PixelFormat](codec.md#ga60883d4958a60b91661e97027a85072a) ISurface::enColorFmt

Description:

Image format

height

int32_t ISurface::height

Description:

Image height

phyAddr

uint64_t ISurface::phyAddr

Description:

Start physical address of an image

stride

int32_t ISurface::stride

Description:

Image stride

width

int32_t ISurface::width

Description:

Image width

1
https://gitee.com/fork_ohos_wj/docs.git
git@gitee.com:fork_ohos_wj/docs.git
fork_ohos_wj
docs
docs
master

搜索帮助