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

fork_ohos_wj / docs
关闭

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

CodecBufferInfo

Overview

Related Modules:

Codec

Description:

Describes buffer information.

Summary

Data Fields

Variable Name

Description

type

BufferType

union {

  

uint8_t * addr

  

int32_t fd

  

BufferHandle handle

};

Describes the buffer address.

offset

uint32_t

length

uint32_t

size

uint32_t

Details

Field Documentation

addr

uint8_t* CodecBufferInfo::addr

Description:

Virtual address

fd

int32_t CodecBufferInfo::fd

Description:

File descriptor

handle

[BufferHandle](bufferhandle.md) CodecBufferInfo::handle

Description:

Data handle. For details, see BufferHandle

length

uint32_t CodecBufferInfo::length

Description:

Length of valid data

offset

uint32_t CodecBufferInfo::offset

Description:

Buffer offset

size

uint32_t CodecBufferInfo::size

Description:

Total size of buffer blocks

type

[BufferType](codec.md#gadf8e136713c0691010d2bec6ba63e9cf) CodecBufferInfo::type

Description:

Buffer type

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

搜索帮助