a2129b10创建于 2025年12月25日历史提交

OH_AVCodecBufferAttr

typedef struct OH_AVCodecBufferAttr {...} OH_AVCodecBufferAttr

Overview

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

Since: 9

Related module: Core

Header file: native_avbuffer_info.h

Summary

Member Variables

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