harmony 鸿蒙OH_AVCodecBufferAttr

  • 2025-06-12
  • 浏览 (3)

OH_AVCodecBufferAttr

Overview

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

System capability: SystemCapability.Multimedia.Media.Core

Since: 9

Related module: Core

Header file: native_avbuffer_info.h

Summary

Member Variables

Name Description
int64_t pts Defines the display timestamp of the buffer, in microseconds.
int32_t size Defines the size of data contained in the buffer, in bytes.
int32_t offset Defines the offset of valid data in the buffer.
uint32_t flags Defines the flags of the buffer. For details, see OH_AVCodecBufferFlags.

Member Variable Description

flags

uint32_t OH_AVCodecBufferAttr::flags

Description

Defines the flags of the buffer. For details, see OH_AVCodecBufferFlags.

offset

int32_t OH_AVCodecBufferAttr::offset

Description

Defines the offset of valid data in the buffer.

pts

int64_t OH_AVCodecBufferAttr::pts

Description

Defines the display timestamp of the buffer, in microseconds.

size

int32_t OH_AVCodecBufferAttr::size

Description

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙AVCodec Kit

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVSource

harmony 鸿蒙AudioCodec

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞