openharmony 鸿蒙 capi-native-avbuffer-info-h

2026-08-25 浏览 (1)

native_avbuffer_info.h

Overview

The file declares the attribute definition of the media struct AVBuffer.

File to include: <multimedia/player_framework/native_avbuffer_info.h>

Library: libnative_media_core.so

System capability: SystemCapability.Multimedia.Media.Core

Since: 9

Related module: Core

Sample: AVCodec

Summary

Structs

Nametypedef KeywordDescription
OH_AVCodecBufferAttrOH_AVCodecBufferAttrDescribes the description information about the buffer of an OH_AVCodec instance.

Enums

Nametypedef KeywordDescription
OH_AVCodecBufferFlagsOH_AVCodecBufferFlagsEnumerates the flags for the buffer of an OH_AVCodec instance.

Enum Description

OH_AVCodecBufferFlags

enum OH_AVCodecBufferFlags

Description

Enumerates the flags for the buffer of an OH_AVCodec instance.

System capability: SystemCapability.Multimedia.Media.Core

Since: 9

ValueDescription
AVCODEC_BUFFER_FLAGS_NONE = 0Common frame.
AVCODEC_BUFFER_FLAGS_EOS = 1 << 0The buffer is an end-of-stream frame.
AVCODEC_BUFFER_FLAGS_SYNC_FRAME = 1 << 1The buffer contains key frames.
AVCODEC_BUFFER_FLAGS_INCOMPLETE_FRAME = 1 << 2The data in the buffer is only part of the frame.
AVCODEC_BUFFER_FLAGS_CODEC_DATA = 1 << 3The buffer contains codec-specific data.
AVCODEC_BUFFER_FLAGS_DISCARD = 1 << 4The decoding process depends on the buffer, and the decoded data can be discarded.
Since: 12
AVCODEC_BUFFER_FLAGS_DISPOSABLE = 1 << 5The buffer can be disposed directly.
Since: 12

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-native-avcodec-audiocodec-h

openharmony 鸿蒙 capi-avsource-oh-avsource

openharmony 鸿蒙 capi-native-cencinfo-h

openharmony 鸿蒙 capi-avmuxer

openharmony 鸿蒙 capi-multimedia-drm-oh-avcencinfo

openharmony 鸿蒙 capi-native-avdemuxer-h

openharmony 鸿蒙 capi-media-types-h

openharmony 鸿蒙 capi-native-audio-channel-layout-h

openharmony 鸿蒙 capi-codecbase-oh-avcodecasynccallback

openharmony 鸿蒙 capi-avdemuxer-oh-avdemuxer

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/7PKQBlx5