目录

native_avbuffer_info.h

Overview

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

Library: libnative_media_core.so

System capability: SystemCapability.Multimedia.Media.Core

Since: 9

Related module: Core

Summary

[h2]Structs

Name Description
struct OH_AVCodecBufferAttr Describes the description information about the buffer of an OH_AVCodec instance.

[h2]Types

Name Description
typedef enum OH_AVCodecBufferFlags OH_AVCodecBufferFlags Defines an enum for flags for the buffer of an OH_AVCodec instance.
typedef struct OH_AVCodecBufferAttr OH_AVCodecBufferAttr Defines the description information about the buffer of an OH_AVCodec instance.

[h2]Enums

Name Description

OH_AVCodecBufferFlags {

AVCODEC_BUFFER_FLAGS_NONE = 0,

AVCODEC_BUFFER_FLAGS_EOS = 1 << 0, AVCODEC_BUFFER_FLAGS_SYNC_FRAME = 1 << 1, AVCODEC_BUFFER_FLAGS_INCOMPLETE_FRAME = 1 << 2,

AVCODEC_BUFFER_FLAGS_CODEC_DATA = 1 << 3,

AVCODEC_BUFFER_FLAGS_DISCARD = 1 << 4,

AVCODEC_BUFFER_FLAGS_DISPOSABLE = 1 << 5

}

Enumerates the flags for the buffer of an OH_AVCodec instance.