1 Star 0 Fork 4.9K

Lin_bruin / docs

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

LayerBuffer

Overview

Related Modules:

Display

Description:

Defines the buffer, which is used to store layer data.

Summary

Data Fields

Variable Name

Description

fenceId

int32_t 

width

int32_t 

height

int32_t 

pitch

int32_t 

pixFormat

PixelFormat 

data

BufferData 

Details

Field Documentation

data

[BufferData](BufferData.md) LayerBuffer::data

Description:

Layer buffer data

fenceId

int32_t LayerBuffer::fenceId

Description:

Fence ID of the buffer

height

int32_t LayerBuffer::height

Description:

Buffer height

pitch

int32_t LayerBuffer::pitch

Description:

Number of bytes from one row of pixels in memory to the next

pixFormat

[PixelFormat](Codec.md#ga60883d4958a60b91661e97027a85072a) LayerBuffer::pixFormat

Description:

Pixel format of the buffer

width

int32_t LayerBuffer::width

Description:

Buffer width

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

搜索帮助