MediaCodecInfo.CodecProfileLevel


public static final class MediaCodecInfo.CodecProfileLevel
extends Object

java.lang.Object
   ↳ 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

int AACObjectELD

int AACObjectERLC

int AACObjectERScalable

int AACObjectHE

int AACObjectHE_PS

int AACObjectLC

int AACObjectLD

int AACObjectLTP

int AACObjectMain

int AACObjectSSR

int AACObjectScalable

int AACObjectXHE

xHE-AAC (includes USAC)

int AC4Level0

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

int AC4Level1

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

int AC4Level2

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

int AC4Level3

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

int AC4Level4

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

int AC4Profile00

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

int AC4Profile10

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

int AC4Profile11

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

int AC4Profile21

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

int AC4Profile22

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

int AV1Level2

int AV1Level21

int AV1Level22

int AV1Level23

int AV1Level3

int AV1Level31

int AV1Level32

int AV1Level33

int AV1Level4

int AV1Level41

int AV1Level42

int AV1Level43

int AV1Level5

int AV1Level51

int AV1Level52

int AV1Level53

int AV1Level6

int AV1Level61

int AV1Level62

int AV1Level63

int AV1Level7

int AV1Level71

int AV1Level72

int AV1Level73

int AV1ProfileMain10

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

int AV1ProfileMain10HDR10

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

int AV1ProfileMain10HDR10Plus

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

int AV1ProfileMain8

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

int AVCLevel1

int AVCLevel11

int AVCLevel12

int AVCLevel13

int AVCLevel1b

int AVCLevel2

int AVCLevel21

int AVCLevel22

int AVCLevel3

int AVCLevel31

int AVCLevel32

int AVCLevel4

int AVCLevel41

int AVCLevel42

int AVCLevel5

int AVCLevel51

int AVCLevel52

int AVCLevel6

int AVCLevel61

int AVCLevel62

int AVCProfileBaseline

AVC Baseline profile.

int AVCProfileConstrainedBaseline

AVC Constrained Baseline profile.

int AVCProfileConstrainedHigh

AVC Constrained High profile.

int AVCProfileExtended

AVC Extended profile.

int AVCProfileHigh

AVC High profile.

int AVCProfileHigh10

AVC High 10 profile.

int AVCProfileHigh422

AVC High 4:2:2 profile.

int AVCProfileHigh444

AVC High 4:4:4 profile.

int AVCProfileMain

AVC Main profile.

int DTS_HDProfileHRA

DTS codec profile for DTS HRA.

int DTS_HDProfileLBR

DTS codec profile for DTS Express.

int DTS_HDProfileMA

DTS codec profile for DTS-HD Master Audio

int DTS_UHDProfileP1

DTS codec profile for DTS:X Profile 1

int DTS_UHDProfileP2

DTS codec profile for DTS:X Profile 2

int DolbyVisionLevel8k30

int DolbyVisionLevel8k60

int DolbyVisionLevelFhd24

int DolbyVisionLevelFhd30

int DolbyVisionLevelFhd60

int DolbyVisionLevelHd24

int DolbyVisionLevelHd30

int DolbyVisionLevelUhd120

int DolbyVisionLevelUhd24

int DolbyVisionLevelUhd30

int DolbyVisionLevelUhd48

int DolbyVisionLevelUhd60

int DolbyVisionProfileDvav110

Dolby Vision AV1 profile

int DolbyVisionProfileDvavPen

int DolbyVisionProfileDvavPer

int DolbyVisionProfileDvavSe

int DolbyVisionProfileDvheDen

int DolbyVisionProfileDvheDer

int DolbyVisionProfileDvheDtb

int DolbyVisionProfileDvheDth

int DolbyVisionProfileDvheDtr

int DolbyVisionProfileDvheSt

int DolbyVisionProfileDvheStn

int H263Level10

int H263Level20

int H263Level30

int H263Level40

int H263Level45

int H263Level50

int H263Level60

int H263Level70

int H263ProfileBackwardCompatible

int H263ProfileBaseline

int H263ProfileH320Coding

int H263ProfileHighCompression

int H263ProfileHighLatency

int H263ProfileISWV2

int H263ProfileISWV3

int H263ProfileInterlace

int H263ProfileInternet

int HEVCHighTierLevel1

int HEVCHighTierLevel2

int HEVCHighTierLevel21

int HEVCHighTierLevel3

int HEVCHighTierLevel31

int HEVCHighTierLevel4

int HEVCHighTierLevel41

int HEVCHighTierLevel5

int HEVCHighTierLevel51

int HEVCHighTierLevel52

int HEVCHighTierLevel6

int HEVCHighTierLevel61

int HEVCHighTierLevel62

int HEVCMainTierLevel1

int HEVCMainTierLevel2

int HEVCMainTierLevel21

int HEVCMainTierLevel3

int HEVCMainTierLevel31

int HEVCMainTierLevel4

int HEVCMainTierLevel41

int HEVCMainTierLevel5

int HEVCMainTierLevel51

int HEVCMainTierLevel52

int HEVCMainTierLevel6

int HEVCMainTierLevel61

int HEVCMainTierLevel62

int HEVCProfileMain

int HEVCProfileMain10

int HEVCProfileMain10HDR10

int HEVCProfileMain10HDR10Plus

int HEVCProfileMainStill

int MPEG2LevelH14

int MPEG2LevelHL

int MPEG2LevelHP

int MPEG2LevelLL

int MPEG2LevelML

int MPEG2Profile422

int MPEG2ProfileHigh

int MPEG2ProfileMain

int MPEG2ProfileSNR

int MPEG2ProfileSimple

int MPEG2ProfileSpatial

int MPEG4Level0

int MPEG4Level0b

int MPEG4Level1

int MPEG4Level2

int MPEG4Level3

int MPEG4Level3b

int MPEG4Level4

int MPEG4Level4a

int MPEG4Level5

int MPEG4Level6

int MPEG4ProfileAdvancedCoding

int MPEG4ProfileAdvancedCore

int MPEG4ProfileAdvancedRealTime

int MPEG4ProfileAdvancedScalable

int MPEG4ProfileAdvancedSimple

int MPEG4ProfileBasicAnimated

int MPEG4ProfileCore

int MPEG4ProfileCoreScalable

int MPEG4ProfileHybrid

int MPEG4ProfileMain

int MPEG4ProfileNbit

int MPEG4ProfileScalableTexture

int MPEG4ProfileSimple

int MPEG4ProfileSimpleFBA

int MPEG4ProfileSimpleFace

int MPEG4ProfileSimpleScalable

int VP8Level_Version0

int VP8Level_Version1

int VP8Level_Version2

int VP8Level_Version3

int VP8ProfileMain

int VP9Level1

int VP9Level11

int VP9Level2

int VP9Level21

int VP9Level3

int VP9Level31

int VP9Level4

int VP9Level41

int VP9Level5

int VP9Level51

int VP9Level52

int VP9Level6

int VP9Level61

int VP9Level62

int VP9Profile0

VP9 Profile 0 4:2:0 8-bit

int VP9Profile1

VP9 Profile 1 4:2:2 8-bit

int VP9Profile2

VP9 Profile 2 4:2:0 10-bit

int VP9Profile2HDR

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

int VP9Profile2HDR10Plus

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

int VP9Profile3

VP9 Profile 3 4:2:2 10-bit

int VP9Profile3HDR

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

int VP9Profile3HDR10Plus

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

Fields

public int level

The level of the media content.

public int profile

The profile of the media content.

Public constructors

CodecProfileLevel()

Public methods

boolean equals(Object obj)

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

int hashCode()

Returns a hash code value for the object.

Inherited methods

Constants

AACObjectELD

Added in API level 16
public static final int AACObjectELD

Constant Value: 39 (0x00000027)

AACObjectERLC

Added in API level 16
public static final int AACObjectERLC

Constant Value: 17 (0x00000011)

AACObjectERScalable

Added in API level 26
public static final int AACObjectERScalable

Constant Value: 20 (0x00000014)

AACObjectHE

Added in API level 16
public static final int AACObjectHE

Constant Value: 5 (0x00000005)

AACObjectHE_PS

Added in API level 16
public static final int AACObjectHE_PS

Constant Value: 29 (0x0000001d)

AACObjectLC

Added in API level 16
public static final int AACObjectLC

Constant Value: 2 (0x00000002)

AACObjectLD

Added in API level 16
public static final int AACObjectLD

Constant Value: 23 (0x00000017)

AACObjectLTP

Added in API level 16
public static final int AACObjectLTP

Constant Value: 4 (0x00000004)

AACObjectMain

Added in API level 16
public static final int AACObjectMain

Constant Value: 1 (0x00000001)

AACObjectSSR

Added in API level 16
public static final int AACObjectSSR

Constant Value: 3 (0x00000003)

AACObjectScalable

Added in API level 16
public static final int AACObjectScalable

Constant Value: 6 (0x00000006)

AACObjectXHE

Added in API level 28
public static final int AACObjectXHE

xHE-AAC (includes USAC)

Constant Value: 42 (0x0000002a)

AC4Level0

Added in API level 34
public static final int AC4Level0

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

Constant Value: 1 (0x00000001)

AC4Level1

Added in API level 34
public static final int AC4Level1

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

Constant Value: 2 (0x00000002)

AC4Level2

Added in API level 34
public static final int AC4Level2

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

Constant Value: 4 (0x00000004)

AC4Level3

Added in API level 34
public static final int AC4Level3

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

Constant Value: 8 (0x00000008)

AC4Level4

Added in API level 34
public static final int AC4Level4

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

Constant Value: 16 (0x00000010)

AC4Profile00

Added in API level 34
public static final int AC4Profile00

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

Constant Value: 257 (0x00000101)

AC4Profile10

Added in API level 34
public static final int AC4Profile10

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

Constant Value: 513 (0x00000201)

AC4Profile11

Added in API level 34
public static final int AC4Profile11

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

Constant Value: 514 (0x00000202)

AC4Profile21

Added in API level 34
public static final int AC4Profile21

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

Constant Value: 1026 (0x00000402)

AC4Profile22

Added in API level 34
public static final int AC4Profile22

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

Constant Value: 1028 (0x00000404)

AV1Level2

Added in API level 29
public static final int AV1Level2

Constant Value: 1 (0x00000001)

AV1Level21

Added in API level 29
public static final int AV1Level21

Constant Value: 2 (0x00000002)

AV1Level22

Added in API level 29
public static final int AV1Level22

Constant Value: 4 (0x00000004)

AV1Level23

Added in API level 29
public static final int AV1Level23

Constant Value: 8 (0x00000008)

AV1Level3

Added in API level 29
public static final int AV1Level3

Constant Value: 16 (0x00000010)

AV1Level31

Added in API level 29
public static final int AV1Level31

Constant Value: 32 (0x00000020)

AV1Level32

Added in API level 29
public static final int AV1Level32

Constant Value: 64 (0x00000040)

AV1Level33

Added in API level 29
public static final int AV1Level33

Constant Value: 128 (0x00000080)

AV1Level4

Added in API level 29
public static final int AV1Level4

Constant Value: 256 (0x00000100)

AV1Level41

Added in API level 29
public static final int AV1Level41

Constant Value: 512 (0x00000200)

AV1Level42

Added in API level 29
public static final int AV1Level42

Constant Value: 1024 (0x00000400)

AV1Level43

Added in API level 29
public static final int AV1Level43

Constant Value: 2048 (0x00000800)

AV1Level5

Added in API level 29
public static final int AV1Level5

Constant Value: 4096 (0x00001000)

AV1Level51

Added in API level 29
public static final int AV1Level51

Constant Value: 8192 (0x00002000)

AV1Level52

Added in API level 29
public static final int AV1Level52

Constant Value: 16384 (0x00004000)

AV1Level53

Added in API level 29
public static final int AV1Level53

Constant Value: 32768 (0x00008000)

AV1Level6

Added in API level 29
public static final int AV1Level6

Constant Value: 65536 (0x00010000)

AV1Level61

Added in API level 29
public static final int AV1Level61

Constant Value: 131072 (0x00020000)

AV1Level62

Added in API level 29
public static final int AV1Level62

Constant Value: 262144 (0x00040000)

AV1Level63

Added in API level 29
public static final int AV1Level63

Constant Value: 524288 (0x00080000)

AV1Level7

Added in API level 29
public static final int AV1Level7

Constant Value: 1048576 (0x00100000)

AV1Level71

Added in API level 29
public static final int AV1Level71

Constant Value: 2097152 (0x00200000)

AV1Level72

Added in API level 29
public static final int AV1Level72

Constant Value: 4194304 (0x00400000)

AV1Level73

Added in API level 29
public static final int AV1Level73

Constant Value: 8388608 (0x00800000)

AV1ProfileMain10

Added in API level 29
public static final int AV1ProfileMain10

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

Constant Value: 2 (0x00000002)

AV1ProfileMain10HDR10

Added in API level 29
public static final int AV1ProfileMain10HDR10

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

Constant Value: 4096 (0x00001000)

AV1ProfileMain10HDR10Plus

Added in API level 29
public static final int AV1ProfileMain10HDR10Plus

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

Constant Value: 8192 (0x00002000)

AV1ProfileMain8

Added in API level 29
public static final int AV1ProfileMain8

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

Constant Value: 1 (0x00000001)

AVCLevel1

Added in API level 16
public static final int AVCLevel1

Constant Value: 1 (0x00000001)

AVCLevel11

Added in API level 16
public static final int AVCLevel11

Constant Value: 4 (0x00000004)

AVCLevel12

Added in API level 16
public static final int AVCLevel12

Constant Value: 8 (0x00000008)

AVCLevel13

Added in API level 16
public static final int AVCLevel13

Constant Value: 16 (0x00000010)

AVCLevel1b

Added in API level 16
public static final int AVCLevel1b

Constant Value: 2 (0x00000002)

AVCLevel2

Added in API level 16
public static final int AVCLevel2

Constant Value: 32 (0x00000020)

AVCLevel21

Added in API level 16
public static final int AVCLevel21

Constant Value: 64 (0x00000040)

AVCLevel22

Added in API level 16
public static final int AVCLevel22

Constant Value: 128 (0x00000080)

AVCLevel3

Added in API level 16
public static final int AVCLevel3

Constant Value: 256 (0x00000100)

AVCLevel31

Added in API level 16
public static final int AVCLevel31

Constant Value: 512 (0x00000200)

AVCLevel32

Added in API level 16
public static final int AVCLevel32

Constant Value: 1024 (0x00000400)

AVCLevel4

Added in API level 16
public static final int AVCLevel4

Constant Value: 2048 (0x00000800)

AVCLevel41

Added in API level 16
public static final int AVCLevel41

Constant Value: 4096 (0x00001000)

AVCLevel42

Added in API level 16
public static final int AVCLevel42

Constant Value: 8192 (0x00002000)

AVCLevel5

Added in API level 16
public static final int AVCLevel5

Constant Value: 16384 (0x00004000)

AVCLevel51

Added in API level 16
public static final int AVCLevel51

Constant Value: 32768 (0x00008000)

AVCLevel52

Added in API level 21
public static final int AVCLevel52

Constant Value: 65536 (0x00010000)

AVCLevel6

Added in API level 29
public static final int AVCLevel6

Constant Value: 131072 (0x00020000)

AVCLevel61

Added in API level 29
public static final int AVCLevel61

Constant Value: 262144 (0x00040000)

AVCLevel62

Added in API level 29
public static final int AVCLevel62

Constant Value: 524288 (0x00080000)

AVCProfileBaseline

Added in API level 16
public static final int AVCProfileBaseline

AVC Baseline profile. See definition in H.264 recommendation, Annex A.

Constant Value: 1 (0x00000001)

AVCProfileConstrainedBaseline

Added in API level 27
public static final int AVCProfileConstrainedBaseline

AVC Constrained Baseline profile. See definition in H.264 recommendation, Annex A.

Constant Value: 65536 (0x00010000)

AVCProfileConstrainedHigh

Added in API level 27
public static final int AVCProfileConstrainedHigh

AVC Constrained High profile. See definition in H.264 recommendation, Annex A.

Constant Value: 524288 (0x00080000)

AVCProfileExtended

Added in API level 16
public static final int AVCProfileExtended

AVC Extended profile. See definition in H.264 recommendation, Annex A.

Constant Value: 4 (0x00000004)

AVCProfileHigh

Added in API level 16
public static final int AVCProfileHigh

AVC High profile. See definition in H.264 recommendation, Annex A.

Constant Value: 8 (0x00000008)

AVCProfileHigh10

Added in API level 16
public static final int AVCProfileHigh10

AVC High 10 profile. See definition in H.264 recommendation, Annex A.

Constant Value: 16 (0x00000010)

AVCProfileHigh422

Added in API level 16
public static final int AVCProfileHigh422

AVC High 4:2:2 profile. See definition in H.264 recommendation, Annex A.

Constant Value: 32 (0x00000020)

AVCProfileHigh444

Added in API level 16
public static final int AVCProfileHigh444

AVC High 4:4:4 profile. See definition in H.264 recommendation, Annex A.

Constant Value: 64 (0x00000040)

AVCProfileMain

Added in API level 16
public static final int AVCProfileMain

AVC Main profile. See definition in H.264 recommendation, Annex A.

Constant Value: 2 (0x00000002)

DTS_HDProfileHRA

Added in API level 34
public static final int DTS_HDProfileHRA

DTS codec profile for DTS HRA.

Constant Value: 1 (0x00000001)

DTS_HDProfileLBR

Added in API level 34
public static final int DTS_HDProfileLBR

DTS codec profile for DTS Express.

Constant Value: 2 (0x00000002)

DTS_HDProfileMA

Added in API level 34
public static final int DTS_HDProfileMA

DTS codec profile for DTS-HD Master Audio

Constant Value: 4 (0x00000004)

DTS_UHDProfileP1

Added in API level 34
public static final int DTS_UHDProfileP1

DTS codec profile for DTS:X Profile 1

Constant Value: 1 (0x00000001)

DTS_UHDProfileP2

Added in API level 34
public static final int DTS_UHDProfileP2

DTS codec profile for DTS:X Profile 2

Constant Value: 2 (0x00000002)

DolbyVisionLevel8k30

Added in API level 33
public static final int DolbyVisionLevel8k30

Constant Value: 1024 (0x00000400)

DolbyVisionLevel8k60

Added in API level 33
public static final int DolbyVisionLevel8k60

Constant Value: 2048 (0x00000800)

DolbyVisionLevelFhd24

Added in API level 24
public static final int DolbyVisionLevelFhd24

Constant Value: 4 (0x00000004)

DolbyVisionLevelFhd30

Added in API level 24
public static final int DolbyVisionLevelFhd30

Constant Value: 8 (0x00000008)

DolbyVisionLevelFhd60

Added in API level 24
public static final int DolbyVisionLevelFhd60

Constant Value: 16 (0x00000010)

DolbyVisionLevelHd24

Added in API level 24
public static final int DolbyVisionLevelHd24

Constant Value: 1 (0x00000001)

DolbyVisionLevelHd30

Added in API level 24
public static final int DolbyVisionLevelHd30

Constant Value: 2 (0x00000002)

DolbyVisionLevelUhd120

Added in API level 33
public static final int DolbyVisionLevelUhd120

Constant Value: 512 (0x00000200)

DolbyVisionLevelUhd24

Added in API level 24
public static final int DolbyVisionLevelUhd24

Constant Value: 32 (0x00000020)

DolbyVisionLevelUhd30

Added in API level 24
public static final int DolbyVisionLevelUhd30

Constant Value: 64 (0x00000040)

DolbyVisionLevelUhd48

Added in API level 24
public static final int DolbyVisionLevelUhd48

Constant Value: 128 (0x00000080)

DolbyVisionLevelUhd60

Added in API level 24
public static final int DolbyVisionLevelUhd60

Constant Value: 256 (0x00000100)

DolbyVisionProfileDvav110

Added in API level 30
public static final int DolbyVisionProfileDvav110

Dolby Vision AV1 profile

Constant Value: 1024 (0x00000400)

DolbyVisionProfileDvavPen

Added in API level 24
public static final int DolbyVisionProfileDvavPen

Constant Value: 2 (0x00000002)

DolbyVisionProfileDvavPer

Added in API level 24
public static final int DolbyVisionProfileDvavPer

Constant Value: 1 (0x00000001)

DolbyVisionProfileDvavSe

Added in API level 27
public static final int DolbyVisionProfileDvavSe

Constant Value: 512 (0x00000200)

DolbyVisionProfileDvheDen

Added in API level 24
public static final int DolbyVisionProfileDvheDen

Constant Value: 8 (0x00000008)

DolbyVisionProfileDvheDer

Added in API level 24
public static final int DolbyVisionProfileDvheDer

Constant Value: 4 (0x00000004)

DolbyVisionProfileDvheDtb

Added in API level 24
public static final int DolbyVisionProfileDvheDtb

Constant Value: 128 (0x00000080)

DolbyVisionProfileDvheDth

Added in API level 24
public static final int DolbyVisionProfileDvheDth

Constant Value: 64 (0x00000040)

DolbyVisionProfileDvheDtr

Added in API level 24
public static final int DolbyVisionProfileDvheDtr

Constant Value: 16 (0x00000010)

DolbyVisionProfileDvheSt

Added in API level 27
public static final int DolbyVisionProfileDvheSt

Constant Value: 256 (0x00000100)

DolbyVisionProfileDvheStn

Added in API level 24
public static final int DolbyVisionProfileDvheStn

Constant Value: 32 (0x00000020)

H263Level10

Added in API level 16
public static final int H263Level10

Constant Value: 1 (0x00000001)

H263Level20

Added in API level 16
public static final int H263Level20

Constant Value: 2 (0x00000002)

H263Level30

Added in API level 16
public static final int H263Level30

Constant Value: 4 (0x00000004)

H263Level40

Added in API level 16
public static final int H263Level40

Constant Value: 8 (0x00000008)

H263Level45

Added in API level 16
public static final int H263Level45

Constant Value: 16 (0x00000010)

H263Level50

Added in API level 16
public static final int H263Level50

Constant Value: 32 (0x00000020)

H263Level60

Added in API level 16
public static final int H263Level60

Constant Value: 64 (0x00000040)

H263Level70

Added in API level 16
public static final int H263Level70

Constant Value: 128 (0x00000080)

H263ProfileBackwardCompatible

Added in API level 16
public static final int H263ProfileBackwardCompatible

Constant Value: 4 (0x00000004)

H263ProfileBaseline

Added in API level 16
public static final int H263ProfileBaseline

Constant Value: 1 (0x00000001)

H263ProfileH320Coding

Added in API level 16
public static final int H263ProfileH320Coding

Constant Value: 2 (0x00000002)

H263ProfileHighCompression

Added in API level 16
public static final int H263ProfileHighCompression

Constant Value: 32 (0x00000020)

H263ProfileHighLatency

Added in API level 16
public static final int H263ProfileHighLatency

Constant Value: 256 (0x00000100)

H263ProfileISWV2

Added in API level 16
public static final int H263ProfileISWV2

Constant Value: 8 (0x00000008)

H263ProfileISWV3

Added in API level 16
public static final int H263ProfileISWV3

Constant Value: 16 (0x00000010)

H263ProfileInterlace

Added in API level 16
public static final int H263ProfileInterlace

Constant Value: 128 (0x00000080)

H263ProfileInternet

Added in API level 16
public static final int H263ProfileInternet

Constant Value: 64 (0x00000040)

HEVCHighTierLevel1

Added in API level 21
public static final int HEVCHighTierLevel1

Constant Value: 2 (0x00000002)

HEVCHighTierLevel2

Added in API level 21
public static final int HEVCHighTierLevel2

Constant Value: 8 (0x00000008)

HEVCHighTierLevel21

Added in API level 21
public static final int HEVCHighTierLevel21

Constant Value: 32 (0x00000020)

HEVCHighTierLevel3

Added in API level 21
public static final int HEVCHighTierLevel3

Constant Value: 128 (0x00000080)

HEVCHighTierLevel31

Added in API level 21
public static final int HEVCHighTierLevel31

Constant Value: 512 (0x00000200)

HEVCHighTierLevel4

Added in API level 21
public static final int HEVCHighTierLevel4

Constant Value: 2048 (0x00000800)

HEVCHighTierLevel41

Added in API level 21
public static final int HEVCHighTierLevel41

Constant Value: 8192 (0x00002000)

HEVCHighTierLevel5

Added in API level 21
public static final int HEVCHighTierLevel5

Constant Value: 32768 (0x00008000)

HEVCHighTierLevel51

Added in API level 21
public static final int HEVCHighTierLevel51

Constant Value: 131072 (0x00020000)

HEVCHighTierLevel52

Added in API level 21
public static final int HEVCHighTierLevel52

Constant Value: 524288 (0x00080000)

HEVCHighTierLevel6

Added in API level 21
public static final int HEVCHighTierLevel6

Constant Value: 2097152 (0x00200000)

HEVCHighTierLevel61

Added in API level 21
public static final int HEVCHighTierLevel61

Constant Value: 8388608 (0x00800000)

HEVCHighTierLevel62

Added in API level 21
public static final int HEVCHighTierLevel62

Constant Value: 33554432 (0x02000000)

HEVCMainTierLevel1

Added in API level 21
public static final int HEVCMainTierLevel1

Constant Value: 1 (0x00000001)

HEVCMainTierLevel2

Added in API level 21
public static final int HEVCMainTierLevel2

Constant Value: 4 (0x00000004)

HEVCMainTierLevel21

Added in API level 21
public static final int HEVCMainTierLevel21

Constant Value: 16 (0x00000010)

HEVCMainTierLevel3

Added in API level 21
public static final int HEVCMainTierLevel3

Constant Value: 64 (0x00000040)

HEVCMainTierLevel31

Added in API level 21
public static final int HEVCMainTierLevel31

Constant Value: 256 (0x00000100)

HEVCMainTierLevel4

Added in API level 21
public static final int HEVCMainTierLevel4

Constant Value: 1024 (0x00000400)

HEVCMainTierLevel41

Added in API level 21
public static final int HEVCMainTierLevel41

Constant Value: 4096 (0x00001000)

HEVCMainTierLevel5

Added in API level 21
public static final int HEVCMainTierLevel5

Constant Value: 16384 (0x00004000)

HEVCMainTierLevel51

Added in API level 21
public static final int HEVCMainTierLevel51

Constant Value: 65536 (0x00010000)

HEVCMainTierLevel52

Added in API level 21
public static final int HEVCMainTierLevel52

Constant Value: 262144 (0x00040000)

HEVCMainTierLevel6

Added in API level 21
public static final int HEVCMainTierLevel6

Constant Value: 1048576 (0x00100000)

HEVCMainTierLevel61

Added in API level 21
public static final int HEVCMainTierLevel61

Constant Value: 4194304 (0x00400000)

HEVCMainTierLevel62

Added in API level 21
public static final int HEVCMainTierLevel62

Constant Value: 16777216 (0x01000000)

HEVCProfileMain

Added in API level 21
public static final int HEVCProfileMain

Constant Value: 1 (0x00000001)

HEVCProfileMain10

Added in API level 21
public static final int HEVCProfileMain10

Constant Value: 2 (0x00000002)

HEVCProfileMain10HDR10

Added in API level 24
public static final int HEVCProfileMain10HDR10

Constant Value: 4096 (0x00001000)

HEVCProfileMain10HDR10Plus

Added in API level 29
public static final int HEVCProfileMain10HDR10Plus

Constant Value: 8192 (0x00002000)

HEVCProfileMainStill

Added in API level 28
public static final int HEVCProfileMainStill

Constant Value: 4 (0x00000004)

MPEG2LevelH14

Added in API level 23
public static final int MPEG2LevelH14

Constant Value: 2 (0x00000002)

MPEG2LevelHL

Added in API level 23
public static final int MPEG2LevelHL

Constant Value: 3 (0x00000003)

MPEG2LevelHP

Added in API level 24
public static final int MPEG2LevelHP

Constant Value: 4 (0x00000004)

MPEG2LevelLL

Added in API level 23
public static final int MPEG2LevelLL

Constant Value: 0 (0x00000000)

MPEG2LevelML

Added in API level 23
public static final int MPEG2LevelML

Constant Value: 1 (0x00000001)

MPEG2Profile422

Added in API level 23
public static final int MPEG2Profile422

Constant Value: 2 (0x00000002)

MPEG2ProfileHigh

Added in API level 23
public static final int MPEG2ProfileHigh

Constant Value: 5 (0x00000005)

MPEG2ProfileMain

Added in API level 23
public static final int MPEG2ProfileMain

Constant Value: 1 (0x00000001)

MPEG2ProfileSNR

Added in API level 23
public static final int MPEG2ProfileSNR

Constant Value: 3 (0x00000003)

MPEG2ProfileSimple

Added in API level 23
public static final int MPEG2ProfileSimple

Constant Value: 0 (0x00000000)

MPEG2ProfileSpatial

Added in API level 23
public static final int MPEG2ProfileSpatial

Constant Value: 4 (0x00000004)

MPEG4Level0

Added in API level 16
public static final int MPEG4Level0

Constant Value: 1 (0x00000001)

MPEG4Level0b

Added in API level 16
public static final int MPEG4Level0b

Constant Value: 2 (0x00000002)

MPEG4Level1

Added in API level 16
public static final int MPEG4Level1

Constant Value: 4 (0x00000004)

MPEG4Level2

Added in API level 16
public static final int MPEG4Level2

Constant Value: 8 (0x00000008)

MPEG4Level3

Added in API level 16
public static final int MPEG4Level3

Constant Value: 16 (0x00000010)

MPEG4Level3b

Added in API level 24
public static final int MPEG4Level3b

Constant Value: 24 (0x00000018)

MPEG4Level4

Added in API level 16
public static final int MPEG4Level4

Constant Value: 32 (0x00000020)

MPEG4Level4a

Added in API level 16
public static final int MPEG4Level4a

Constant Value: 64 (0x00000040)

MPEG4Level5

Added in API level 16
public static final int MPEG4Level5

Constant Value: 128 (0x00000080)

MPEG4Level6

Added in API level 24
public static final int MPEG4Level6

Constant Value: 256 (0x00000100)

MPEG4ProfileAdvancedCoding

Added in API level 16
public static final int MPEG4ProfileAdvancedCoding

Constant Value: 4096 (0x00001000)

MPEG4ProfileAdvancedCore

Added in API level 16
public static final int MPEG4ProfileAdvancedCore

Constant Value: 8192 (0x00002000)

MPEG4ProfileAdvancedRealTime

Added in API level 16
public static final int MPEG4ProfileAdvancedRealTime

Constant Value: 1024 (0x00000400)

MPEG4ProfileAdvancedScalable

Added in API level 16
public static final int MPEG4ProfileAdvancedScalable

Constant Value: 16384 (0x00004000)

MPEG4ProfileAdvancedSimple

Added in API level 16
public static final int MPEG4ProfileAdvancedSimple

Constant Value: 32768 (0x00008000)

MPEG4ProfileBasicAnimated

Added in API level 16
public static final int MPEG4ProfileBasicAnimated

Constant Value: 256 (0x00000100)

MPEG4ProfileCore

Added in API level 16
public static final int MPEG4ProfileCore

Constant Value: 4 (0x00000004)

MPEG4ProfileCoreScalable

Added in API level 16
public static final int MPEG4ProfileCoreScalable

Constant Value: 2048 (0x00000800)

MPEG4ProfileHybrid

Added in API level 16
public static final int MPEG4ProfileHybrid

Constant Value: 512 (0x00000200)

MPEG4ProfileMain

Added in API level 16
public static final int MPEG4ProfileMain

Constant Value: 8 (0x00000008)

MPEG4ProfileNbit

Added in API level 16
public static final int MPEG4ProfileNbit

Constant Value: 16 (0x00000010)

MPEG4ProfileScalableTexture

Added in API level 16
public static final int MPEG4ProfileScalableTexture

Constant Value: 32 (0x00000020)

MPEG4ProfileSimple

Added in API level 16
public static final int MPEG4ProfileSimple

Constant Value: 1 (0x00000001)

MPEG4ProfileSimpleFBA

Added in API level 16
public static final int MPEG4ProfileSimpleFBA

Constant Value: 128 (0x00000080)

MPEG4ProfileSimpleFace

Added in API level 16
public static final int MPEG4ProfileSimpleFace

Constant Value: 64 (0x00000040)

MPEG4ProfileSimpleScalable

Added in API level 16
public static final int MPEG4ProfileSimpleScalable

Constant Value: 2 (0x00000002)

VP8Level_Version0

Added in API level 18
public static final int VP8Level_Version0

Constant Value: 1 (0x00000001)

VP8Level_Version1

Added in API level 18
public static final int VP8Level_Version1

Constant Value: 2 (0x00000002)

VP8Level_Version2

Added in API level 18
public static final int VP8Level_Version2

Constant Value: 4 (0x00000004)

VP8Level_Version3

Added in API level 18
public static final int VP8Level_Version3

Constant Value: 8 (0x00000008)

VP8ProfileMain

Added in API level 18
public static final int VP8ProfileMain

Constant Value: 1 (0x00000001)

VP9Level1

Added in API level 24
public static final int VP9Level1

Constant Value: 1 (0x00000001)

VP9Level11

Added in API level 24
public static final int VP9Level11

Constant Value: 2 (0x00000002)

VP9Level2

Added in API level 24
public static final int VP9Level2

Constant Value: 4 (0x00000004)

VP9Level21

Added in API level 24
public static final int VP9Level21

Constant Value: 8 (0x00000008)

VP9Level3

Added in API level 24
public static final int VP9Level3

Constant Value: 16 (0x00000010)

VP9Level31

Added in API level 24
public static final int VP9Level31

Constant Value: 32 (0x00000020)

VP9Level4

Added in API level 24
public static final int VP9Level4

Constant Value: 64 (0x00000040)

VP9Level41

Added in API level 24
public static final int VP9Level41

Constant Value: 128 (0x00000080)

VP9Level5

Added in API level 24
public static final int VP9Level5

Constant Value: 256 (0x00000100)

VP9Level51

Added in API level 24
public static final int VP9Level51

Constant Value: 512 (0x00000200)

VP9Level52

Added in API level 24
public static final int VP9Level52

Constant Value: 1024 (0x00000400)

VP9Level6

Added in API level 24
public static final int VP9Level6

Constant Value: 2048 (0x00000800)

VP9Level61

Added in API level 24
public static final int VP9Level61

Constant Value: 4096 (0x00001000)

VP9Level62

Added in API level 24
public static final int VP9Level62

Constant Value: 8192 (0x00002000)

VP9Profile0

Added in API level 24
public static final int VP9Profile0

VP9 Profile 0 4:2:0 8-bit

Constant Value: 1 (0x00000001)

VP9Profile1

Added in API level 24
public static final int VP9Profile1

VP9 Profile 1 4:2:2 8-bit

Constant Value: 2 (0x00000002)

VP9Profile2

Added in API level 24
public static final int VP9Profile2

VP9 Profile 2 4:2:0 10-bit

Constant Value: 4 (0x00000004)

VP9Profile2HDR

Added in API level 24
public static final int VP9Profile2HDR

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

Constant Value: 4096 (0x00001000)

VP9Profile2HDR10Plus

Added in API level 29
public static final int VP9Profile2HDR10Plus

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

Constant Value: 16384 (0x00004000)

VP9Profile3

Added in API level 24
public static final int VP9Profile3

VP9 Profile 3 4:2:2 10-bit

Constant Value: 8 (0x00000008)

VP9Profile3HDR

Added in API level 24
public static final int VP9Profile3HDR

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

Constant Value: 8192 (0x00002000)

VP9Profile3HDR10Plus

Added in API level 29
public static final int VP9Profile3HDR10Plus

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

Constant Value: 32768 (0x00008000)

Fields

level

Added in API level 16
public int level

The level of the media content. Depending on the type of media this can be one of the level values defined in this class. Note that VP9 decoder on platforms before Build.VERSION_CODES.N may not advertise a profile level support. For those VP9 decoders, please use VideoCapabilities to determine the codec capabilities.

profile

Added in API level 16
public int profile

The profile of the media content. Depending on the type of media this can be one of the profile values defined in this class.

Public constructors

CodecProfileLevel

public CodecProfileLevel ()

Public methods

equals

Added in API level 16
public boolean equals (Object obj)

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

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

Parameters
obj Object: the reference object with which to compare.

Returns
boolean true if this object is the same as the obj argument; false otherwise.

hashCode

Added in API level 16
public int hashCode ()

Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by HashMap.

The general contract of hashCode is:

  • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
  • If two objects are equal according to the equals method, then calling the hashCode method on each of the two objects must produce the same integer result.
  • It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.

Returns
int a hash code value for this object.