1 Star 0 Fork 5.3K

OpenHarmony_EU incubator / docs

forked from OpenHarmony / docs 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
codecbufferinfo.md 6.19 KB
Copy Edit Raw Blame History
wenjun authored 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

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/open-harmony-eu-incubator/docs.git
git@gitee.com:open-harmony-eu-incubator/docs.git
open-harmony-eu-incubator
docs
docs
master

Search

344bd9b3 5694891 D2dac590 5694891