harmony 鸿蒙OH_AVCodecBufferAttr

  • 2023-06-24
  • 浏览 (601)

OH_AVCodecBufferAttr

Overview

The OH_AVCodecBufferAttr struct defines the description information about the buffer of an OH_AVCodec instance.

\@syscap SystemCapability.Multimedia.Media.CodecBase

Since

9

Related Modules

CodecBase

Summary

Member Variables

Name Description
pts Defines the display timestamp of the buffer, in microseconds.
size Defines the size of data contained in the buffer, in bytes.
offset Defines the offset of valid data in the buffer.
flags Defines the flags of the buffer. It is a combination of multiple OH_AVCodecBufferFlags.

Member Variable Description

pts

int64_t pts

Description

Defines the display timestamp of the buffer, in microseconds.

Since

9

size

int32_t size

Description

Defines the size of data contained in the buffer, in bytes.

Since

9

offset

int32_t offset

Description

Defines the offset of valid data in the buffer.

Since

9

flags

uint32_t flags

Description

Defines the flags of the buffer. It is a combination of multiple OH_AVCodecBufferFlags.

Since

9

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞