目录

Core

Overview

As the backbone of the multimedia framework, this module defines the organization of media data in memory, the standardized description of audio and video parameters, and a unified error code specification, providing common basic capabilities for upper-layer services such as audio/video encoding/decoding and muxing/demuxing.

The main capabilities provided by this module include:

Applicable scenarios include all scenarios involving audio and video data processing, such as configuring codec parameters, managing input and output buffers, processing 3D audio, parsing HDR video information, and handling codec exceptions.

System capability: SystemCapability.Multimedia.Media.Core

Since: 9

Files

Name Description
media_types.h Declares the common media types.
native_audio_channel_layout.h Declares the speaker layout for recording and playback.
native_audio_vivid.h Declares the functions and enums related to Audio Vivid.
native_avbuffer.h Declares the functions of the media struct AVBuffer.
native_avbuffer_info.h Declares the attribute definition of the media struct AVBuffer.
native_averrors.h Declares the error codes used by the media framework.
native_avformat.h Declares the functions and enums related to OH_AVFormat.
native_avmemory.h Declares the attribute definition of the media struct AVMemory.