Added in API level 16

CodecProfileLevel


class CodecProfileLevel
kotlin.Any
   ↳ android.media.MediaCodecInfo.CodecProfileLevel

Encapsulates the profiles available for a codec component.

You can get a set of MediaCodecInfo.CodecProfileLevel objects for a given MediaCodecInfo object from the MediaCodecInfo.CodecCapabilities.profileLevels field.

Summary

Constants
static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

xHE-AAC (includes USAC)

static Int

AC-4 codec level corresponding to mdcompat 0 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec level corresponding to mdcompat 1 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec level corresponding to mdcompat 2 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec level corresponding to mdcompat 3 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec level corresponding to mdcompat 4 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec profile with bitstream_version 0 and presentation_version 0 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec profile with bitstream_version 1 and presentation_version 0 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec profile with bitstream_version 1 and presentation_version 1 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec profile with bitstream_version 2 and presentation_version 1 as per ETSI TS 103 190-2 v1.

static Int

AC-4 codec profile with bitstream_version 2 and presentation_version 2 as per ETSI TS 103 190-2 v1.

static Int

APV Codec Level 1.

static Int

APV Codec Level 1.

static Int

APV Codec Level 1.

static Int

APV Codec Level 1.

static Int

APV Codec Level 1, Band 0 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 1, Band 1 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 1, Band 2 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 1, Band 3 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 2.

static Int

APV Codec Level 2.

static Int

APV Codec Level 2.

static Int

APV Codec Level 2.

static Int

APV Codec Level 2, Band 0 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 2, Band 1 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 2, Band 2 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 2, Band 3 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 3.

static Int

APV Codec Level 3.

static Int

APV Codec Level 3.

static Int

APV Codec Level 3.

static Int

APV Codec Level 3, Band 0 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 3, Band 1 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 3, Band 2 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 3, Band 3 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 4.

static Int

APV Codec Level 4.

static Int

APV Codec Level 4.

static Int

APV Codec Level 4.

static Int

APV Codec Level 4, Band 0 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 4, Band 1 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 4, Band 2 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 4, Band 3 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 5.

static Int

APV Codec Level 5.

static Int

APV Codec Level 5.

static Int

APV Codec Level 5.

static Int

APV Codec Level 5, Band 0 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 5, Band 1 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 5, Band 2 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 5, Band 3 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 6.

static Int

APV Codec Level 6.

static Int

APV Codec Level 6.

static Int

APV Codec Level 6.

static Int

APV Codec Level 6, Band 0 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 6, Band 1 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 6, Band 2 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 6, Band 3 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 7.

static Int

APV Codec Level 7.

static Int

APV Codec Level 7.

static Int

APV Codec Level 7.

static Int

APV Codec Level 7, Band 0 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 7, Band 1 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 7, Band 2 as per IETF lim-apv-02, 10.

static Int

APV Codec Level 7, Band 3 as per IETF lim-apv-02, 10.

static Int

APV codec profile 422-10 as per IETF lim-apv-02, 10.

static Int

APV codec profile 422-10 as per IETF lim-apv-02, 10.

static Int

APV codec profile 422-10 as per IETF lim-apv-02, 10.

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

AV1 Main profile 4:2:0 10-bit See definition in AV1 Specification Annex A.

static Int

AV1 Main profile 4:2:0 10-bit with HDR10.

static Int

AV1 Main profile 4:2:0 10-bit with HDR10Plus.

static Int

AV1 Main profile 4:2:0 8-bit See definition in AV1 Specification Annex A.

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

AVC Baseline profile.

static Int

AVC Constrained Baseline profile.

static Int

AVC Constrained High profile.

static Int

AVC Extended profile.

static Int

AVC High profile.

static Int

AVC High 10 profile.

static Int

AVC High 4:2:2 profile.

static Int

AVC High 4:4:4 profile.

static Int

AVC Main profile.

static Int

DTS codec profile for DTS HRA.

static Int

DTS codec profile for DTS Express.

static Int

DTS codec profile for DTS-HD Master Audio

static Int

DTS codec profile for DTS:X Profile 1

static Int

DTS codec profile for DTS:X Profile 2

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

Dolby Vision AV1 profile

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

HEVC Monochrome (Main 4:0:0 8-bit) Profile

static Int

HEVC Main 4:4:4 (8-bit) Profile

static Int

static Int

IAMF profile using the base profile with audio streams encoded in AAC.

static Int

IAMF profile using the base-enhanced profile with audio streams encoded in AAC.

static Int

IAMF profile using the base-enhanced profile with audio streams encoded in FLAC.

static Int

IAMF profile using the base-enhanced profile with audio streams encoded in OPUS.

static Int

IAMF profile using the base-enhanced profile with audio streams encoded in PCM.

static Int

IAMF profile using the base profile with audio streams encoded in FLAC.

static Int

IAMF profile using the base profile with audio streams encoded in OPUS.

static Int

IAMF profile using the base profile with audio streams encoded in PCM.

static Int

IAMF profile using the simple profile with audio streams encoded in AAC.

static Int

IAMF profile using the simple profile with audio streams encoded in FLAC.

static Int

IAMF profile using the simple profile with audio streams encoded in OPUS.

static Int

IAMF profile using the simple profile with audio streams encoded in PCM.

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

static Int

VP9 Profile 0 4:2:0 8-bit

static Int

VP9 Profile 1 4:2:2 8-bit

static Int

VP9 Profile 2 4:2:0 10-bit

static Int

VP9 Profile 2 4:2:0 10-bit HDR

static Int

VP9 Profile 2 4:2:0 10-bit HDR10Plus

static Int

VP9 Profile 3 4:2:2 10-bit

static Int

VP9 Profile 3 4:2:2 10-bit HDR

static Int

VP9 Profile 3 4:2:2 10-bit HDR10Plus

static Int

VVC Codec High Tier, Level 4.

static Int

VVC Codec High Tier, Level 4.

static Int

VVC Codec High Tier, Level 5.

static Int

VVC Codec High Tier, Level 5.

static Int

VVC Codec High Tier, Level 5.

static Int

VVC Codec High Tier, Level 6.

static Int

VVC Codec High Tier, Level 6.

static Int

VVC Codec High Tier, Level 6.

static Int

VVC Codec High Tier, Level 6.

static Int

VVC Codec Main Tier, Level 1.

static Int

VVC Codec Main Tier, Level 2.

static Int

VVC Codec Main Tier, Level 2.

static Int

VVC Codec Main Tier, Level 3.

static Int

VVC Codec Main Tier, Level 3.

static Int

VVC Codec Main Tier, Level 4.

static Int

VVC Codec Main Tier, Level 4.

static Int

VVC Codec Main Tier, Level 5.

static Int

VVC Codec Main Tier, Level 5.

static Int

VVC Codec Main Tier, Level 5.

static Int

VVC Codec Main Tier, Level 6.

static Int

VVC Codec Main Tier, Level 6.

static Int

VVC Codec Main Tier, Level 6.

static Int

VVC Codec Main Tier, Level 6.

static Int

VVC codec Main 10 profile as per ITU-T H.

static Int

VVC codec Main 10 profile as per ITU-T H.

static Int

VVC codec Main 10 profile as per ITU-T H.

static Int

VVC codec Main 10 Still Picture profile as per ITU-T H.

static Int

VVC codec Main 10 profile as per ITU-T H.

Public constructors

Public methods
Boolean
equals(other: Any?)

Indicates whether some other object is "equal to" this one.

Int

Returns a hash code value for the object.

Properties
Int

The level of the media content.

Int

The profile of the media content.

Constants

AACObjectELD

Added in API level 16
static val AACObjectELD: Int
Value: 39

AACObjectERLC

Added in API level 16
static val AACObjectERLC: Int
Value: 17

AACObjectERScalable

Added in API level 26
static val AACObjectERScalable: Int
Value: 20

AACObjectHE

Added in API level 16
static val AACObjectHE: Int
Value: 5

AACObjectHE_PS

Added in API level 16
static val AACObjectHE_PS: Int
Value: 29

AACObjectLC

Added in API level 16
static val AACObjectLC: Int
Value: 2

AACObjectLD

Added in API level 16
static val AACObjectLD: Int
Value: 23

AACObjectLTP

Added in API level 16
static val AACObjectLTP: Int
Value: 4

AACObjectMain

Added in API level 16
static val AACObjectMain: Int
Value: 1

AACObjectSSR

Added in API level 16
static val AACObjectSSR: Int
Value: 3

AACObjectScalable

Added in API level 16
static val AACObjectScalable: Int
Value: 6

AACObjectXHE

Added in API level 28
static val AACObjectXHE: Int

xHE-AAC (includes USAC)

Value: 42

AC4Level0

Added in API level 34
static val AC4Level0: Int

AC-4 codec level corresponding to mdcompat 0 as per ETSI TS 103 190-2 v1.2.1

Value: 1

AC4Level1

Added in API level 34
static val AC4Level1: Int

AC-4 codec level corresponding to mdcompat 1 as per ETSI TS 103 190-2 v1.2.1

Value: 2

AC4Level2

Added in API level 34
static val AC4Level2: Int

AC-4 codec level corresponding to mdcompat 2 as per ETSI TS 103 190-2 v1.2.1

Value: 4

AC4Level3

Added in API level 34
static val AC4Level3: Int

AC-4 codec level corresponding to mdcompat 3 as per ETSI TS 103 190-2 v1.2.1

Value: 8

AC4Level4

Added in API level 34
static val AC4Level4: Int

AC-4 codec level corresponding to mdcompat 4 as per ETSI TS 103 190-2 v1.2.1

Value: 16

AC4Profile00

Added in API level 34
static val AC4Profile00: Int

AC-4 codec profile with bitstream_version 0 and presentation_version 0 as per ETSI TS 103 190-2 v1.2.1

Value: 257

AC4Profile10

Added in API level 34
static val AC4Profile10: Int

AC-4 codec profile with bitstream_version 1 and presentation_version 0 as per ETSI TS 103 190-2 v1.2.1

Value: 513

AC4Profile11

Added in API level 34
static val AC4Profile11: Int

AC-4 codec profile with bitstream_version 1 and presentation_version 1 as per ETSI TS 103 190-2 v1.2.1

Value: 514

AC4Profile21

Added in API level 34
static val AC4Profile21: Int

AC-4 codec profile with bitstream_version 2 and presentation_version 1 as per ETSI TS 103 190-2 v1.2.1

Value: 1026

AC4Profile22

Added in API level 34
static val AC4Profile22: Int

AC-4 codec profile with bitstream_version 2 and presentation_version 2 as per ETSI TS 103 190-2 v1.2.1

Value: 1028

APVLevel11Band0

Added in API level 36
static val APVLevel11Band0: Int

APV Codec Level 1.1, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 513

APVLevel11Band1

Added in API level 36
static val APVLevel11Band1: Int

APV Codec Level 1.1, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 514

APVLevel11Band2

Added in API level 36
static val APVLevel11Band2: Int

APV Codec Level 1.1, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 516

APVLevel11Band3

Added in API level 36
static val APVLevel11Band3: Int

APV Codec Level 1.1, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 520

APVLevel1Band0

Added in API level 36
static val APVLevel1Band0: Int

APV Codec Level 1, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 257

APVLevel1Band1

Added in API level 36
static val APVLevel1Band1: Int

APV Codec Level 1, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 258

APVLevel1Band2

Added in API level 36
static val APVLevel1Band2: Int

APV Codec Level 1, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 260

APVLevel1Band3

Added in API level 36
static val APVLevel1Band3: Int

APV Codec Level 1, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 264

APVLevel21Band0

Added in API level 36
static val APVLevel21Band0: Int

APV Codec Level 2.1, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 2049

APVLevel21Band1

Added in API level 36
static val APVLevel21Band1: Int

APV Codec Level 2.1, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 2050

APVLevel21Band2

Added in API level 36
static val APVLevel21Band2: Int

APV Codec Level 2.1, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 2052

APVLevel21Band3

Added in API level 36
static val APVLevel21Band3: Int

APV Codec Level 2.1, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 2056

APVLevel2Band0

Added in API level 36
static val APVLevel2Band0: Int

APV Codec Level 2, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 1025

APVLevel2Band1

Added in API level 36
static val APVLevel2Band1: Int

APV Codec Level 2, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 1026

APVLevel2Band2

Added in API level 36
static val APVLevel2Band2: Int

APV Codec Level 2, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 1028

APVLevel2Band3

Added in API level 36
static val APVLevel2Band3: Int

APV Codec Level 2, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 1032

APVLevel31Band0

Added in API level 36
static val APVLevel31Band0: Int

APV Codec Level 3.1, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 8193

APVLevel31Band1

Added in API level 36
static val APVLevel31Band1: Int

APV Codec Level 3.1, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 8194

APVLevel31Band2

Added in API level 36
static val APVLevel31Band2: Int

APV Codec Level 3.1, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 8196

APVLevel31Band3

Added in API level 36
static val APVLevel31Band3: Int

APV Codec Level 3.1, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 8200

APVLevel3Band0

Added in API level 36
static val APVLevel3Band0: Int

APV Codec Level 3, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 4097

APVLevel3Band1

Added in API level 36
static val APVLevel3Band1: Int

APV Codec Level 3, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 4098

APVLevel3Band2

Added in API level 36
static val APVLevel3Band2: Int

APV Codec Level 3, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 4100

APVLevel3Band3

Added in API level 36
static val APVLevel3Band3: Int

APV Codec Level 3, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 4104

APVLevel41Band0

Added in API level 36
static val APVLevel41Band0: Int

APV Codec Level 4.1, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 32769

APVLevel41Band1

Added in API level 36
static val APVLevel41Band1: Int

APV Codec Level 4.1, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 32770

APVLevel41Band2

Added in API level 36
static val APVLevel41Band2: Int

APV Codec Level 4.1, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 32772

APVLevel41Band3

Added in API level 36
static val APVLevel41Band3: Int

APV Codec Level 4.1, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 32776

APVLevel4Band0

Added in API level 36
static val APVLevel4Band0: Int

APV Codec Level 4, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 16385

APVLevel4Band1

Added in API level 36
static val APVLevel4Band1: Int

APV Codec Level 4, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 16386

APVLevel4Band2

Added in API level 36
static val APVLevel4Band2: Int

APV Codec Level 4, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 16388

APVLevel4Band3

Added in API level 36
static val APVLevel4Band3: Int

APV Codec Level 4, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 16392

APVLevel51Band0

Added in API level 36
static val APVLevel51Band0: Int

APV Codec Level 5.1, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 131073

APVLevel51Band1

Added in API level 36
static val APVLevel51Band1: Int

APV Codec Level 5.1, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 131074

APVLevel51Band2

Added in API level 36
static val APVLevel51Band2: Int

APV Codec Level 5.1, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 131076

APVLevel51Band3

Added in API level 36
static val APVLevel51Band3: Int

APV Codec Level 5.1, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 131080

APVLevel5Band0

Added in API level 36
static val APVLevel5Band0: Int

APV Codec Level 5, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 65537

APVLevel5Band1

Added in API level 36
static val APVLevel5Band1: Int

APV Codec Level 5, Band 1 as per IETF lim-apv-02, 10.1.4

Value: 65538

APVLevel5Band2

Added in API level 36
static val APVLevel5Band2: Int

APV Codec Level 5, Band 2 as per IETF lim-apv-02, 10.1.4

Value: 65540

APVLevel5Band3

Added in API level 36
static val APVLevel5Band3: Int

APV Codec Level 5, Band 3 as per IETF lim-apv-02, 10.1.4

Value: 65544

APVLevel61Band0

Added in API level 36
static val APVLevel61Band0: Int

APV Codec Level 6.1, Band 0 as per IETF lim-apv-02, 10.1.4

Value: 524289

APVLevel61Band1

Added in API level 36
static val APVLevel61Band1: Int

APV Codec Level