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

Structs

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

Types

Name Description
typedef enum OH_AVCodecBufferFlags OH_AVCodecBufferFlags Defines an enum that enumerates the 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.

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
}
Enumerates the flags for the buffer of an OH_AVCodec instance.