1 Star 0 Fork 4.9K

Cain / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CodecBufferInfo.md 6.44 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/cain_qin/docs.git
git@gitee.com:cain_qin/docs.git
cain_qin
docs
docs
master

搜索帮助