See more details in 5.1.3. Audio Codecs Details.
If device implementations declare android.hardware.microphone
, they MUST support the following audio encoding:
See more details in 5.1.3. Audio Codecs Details.
If device implementations declare support for the android.hardware.audio.output
feature, they must support decoding the following audio formats:
If device implementations support the decoding of AAC input buffers of multichannel streams (i.e. more than two channels) to PCM through the default AAC audio decoder in the android.media.MediaCodec
API, the following MUST be supported:
android.media.MediaFormat
DRC keys to configure the dynamic range-related behaviors of the audio decoder. The AAC DRC keys were introduced in API 21,and are: KEY_AAC_DRC_ATTENUATION_FACTOR
, KEY_AAC_DRC_BOOST_FACTOR
, KEY_AAC_DRC_HEAVY_COMPRESSION
, KEY_AAC_DRC_TARGET_REFERENCE_LEVEL
and KEY_AAC_ENCODED_TARGET_LEVEL
.When decoding USAC audio, MPEG-D (ISO/IEC 23003-4):
android.media.MediaFormat
keys: KEY_AAC_DRC_TARGET_REFERENCE_LEVEL
and KEY_AAC_DRC_EFFECT_TYPE
.MPEG-4 AAC, HE AAC, and HE AACv2 profile decoders:
If ISO/IEC 23003-4 is supported and if both ISO/IEC 23003-4 and ISO/IEC 14496-3 metadata are present in a decoded bitstream, then:
Profile (enhanced AAC+) Support for mono/stereo/5.0/5.1 content with standard sampling rates from 16 to 48 kHz.
See more details in 5.1.6. Image Codecs Details.
Device implementations MUST support encoding the following image encoding:
See more details in 5.1.6. Image Codecs Details.
Device impelementations MUST support decoding the following image encoding:
If device implementations include a video decoder or encoder:
[C-1-1] Video codecs MUST support output and input bytebuffer sizes that accommodate the largest feasible compressed and uncompressed frame as dictated by the standard and configuration but also not overallocate.
[C-1-2] Video encoders and decoders MUST support YUV420 flexible color format (COLOR_FormatYUV420Flexible).
If device implementations advertise HDR profile support through Display.HdrCapabilities
, they:
If device implementations advertise intra refresh support through FEATURE_IntraRefresh
in the MediaCodecInfo.CodecCapabilities
class, they: