1 Star 0 Fork 4.9K

罗小黑 / docs

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

OHOS::SurfaceBuffer

Overview

Related Modules:

Surface

Description:

Provides functions such as setting the virtual address, size, and additional attributes of shared memory.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

GetVirAddr () const =0

virtual void * 

Obtains the virtual address of shared memory for producers and consumers.

GetPhyAddr () const =0

virtual uint64_t 

Obtains the physical address of shared memory.

GetSize () const =0

virtual uint32_t 

Obtains the size of shared memory.

SetSize (uint32_t size)=0

virtual void 

Sets the size of shared memory.

SetInt32 (uint32_t key, int32_t value)=0

virtual int32_t 

Sets an extra attribute value of the int32 type.

GetInt32 (uint32_t key, int32_t &value)=0

virtual int32_t 

Obtains an extra attribute value of the int32 type.

SetInt64 (uint32_t key, int64_t value)=0

virtual int32_t 

Sets an extra attribute value of the int64 type.

GetInt64 (uint32_t key, int64_t &value)=0

virtual int32_t 

Obtains an extra attribute value of the int64 type.

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

搜索帮助