Skip to content

Most visited

Recently visited

navigation
Added in API level 16

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 profileLevels field.

Summary

Constants

int AACObjectELD

int AACObjectERLC

int AACObjectHE

int AACObjectHE_PS

int AACObjectLC

int AACObjectLD

int AACObjectLTP

int AACObjectMain

int AACObjectSSR

int AACObjectScalable

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 AVCProfileBaseline

int AVCProfileExtended

int AVCProfileHigh

int AVCProfileHigh10

int AVCProfileHigh422

int AVCProfileHigh444

int AVCProfileMain

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 MPEG2LevelH14

int MPEG2LevelHL

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 MPEG4Level4

int MPEG4Level4a

int MPEG4Level5

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

Fields

public int level

Defined in the OpenMAX IL specs, depending on the type of media this can be OMX_VIDEO_AVCLEVELTYPE, OMX_VIDEO_H263LEVELTYPE OMX_VIDEO_MPEG4LEVELTYPE or OMX_VIDEO_VP8LEVELTYPE.

public int profile

Defined in the OpenMAX IL specs, depending on the type of media this can be OMX_VIDEO_AVCPROFILETYPE, OMX_VIDEO_H263PROFILETYPE, OMX_VIDEO_MPEG4PROFILETYPE or OMX_VIDEO_VP8PROFILETYPE.

Public constructors

MediaCodecInfo.CodecProfileLevel()

Inherited methods

From class java.lang.Object

Constants

AACObjectELD

Added in API level 16
int AACObjectELD

Constant Value: 39 (0x00000027)

AACObjectERLC

Added in API level 16
int AACObjectERLC

Constant Value: 17 (0x00000011)

AACObjectHE

Added in API level 16
int AACObjectHE

Constant Value: 5 (0x00000005)

AACObjectHE_PS

Added in API level 16
int AACObjectHE_PS

Constant Value: 29 (0x0000001d)

AACObjectLC

Added in API level 16
int AACObjectLC

Constant Value: 2 (0x00000002)

AACObjectLD

Added in API level 16
int AACObjectLD

Constant Value: 23 (0x00000017)

AACObjectLTP

Added in API level 16
int AACObjectLTP

Constant Value: 4 (0x00000004)

AACObjectMain

Added in API level 16
int AACObjectMain

Constant Value: 1 (0x00000001)

AACObjectSSR

Added in API level 16
int AACObjectSSR

Constant Value: 3 (0x00000003)

AACObjectScalable

Added in API level 16
int AACObjectScalable

Constant Value: 6 (0x00000006)

AVCLevel1

Added in API level 16
int AVCLevel1

Constant Value: 1 (0x00000001)

AVCLevel11

Added in API level 16
int AVCLevel11

Constant Value: 4 (0x00000004)

AVCLevel12

Added in API level 16
int AVCLevel12

Constant Value: 8 (0x00000008)

AVCLevel13

Added in API level 16
int AVCLevel13

Constant Value: 16 (0x00000010)

AVCLevel1b

Added in API level 16
int AVCLevel1b

Constant Value: 2 (0x00000002)

AVCLevel2

Added in API level 16
int AVCLevel2

Constant Value: 32 (0x00000020)

AVCLevel21

Added in API level 16
int AVCLevel21

Constant Value: 64 (0x00000040)

AVCLevel22

Added in API level 16
int AVCLevel22

Constant Value: 128 (0x00000080)

AVCLevel3

Added in API level 16
int AVCLevel3

Constant Value: 256 (0x00000100)

AVCLevel31

Added in API level 16
int AVCLevel31

Constant Value: 512 (0x00000200)

AVCLevel32

Added in API level 16
int AVCLevel32

Constant Value: 1024 (0x00000400)

AVCLevel4

Added in API level 16
int AVCLevel4

Constant Value: 2048 (0x00000800)

AVCLevel41

Added in API level 16
int AVCLevel41

Constant Value: 4096 (0x00001000)

AVCLevel42

Added in API level 16
int AVCLevel42

Constant Value: 8192 (0x00002000)

AVCLevel5

Added in API level 16
int AVCLevel5

Constant Value: 16384 (0x00004000)

AVCLevel51

Added in API level 16
int AVCLevel51

Constant Value: 32768 (0x00008000)

AVCLevel52

Added in API level 21
int AVCLevel52

Constant Value: 65536 (0x00010000)

AVCProfileBaseline

Added in API level 16
int AVCProfileBaseline

Constant Value: 1 (0x00000001)

AVCProfileExtended

Added in API level 16
int AVCProfileExtended

Constant Value: 4 (0x00000004)

AVCProfileHigh

Added in API level 16
int AVCProfileHigh

Constant Value: 8 (0x00000008)

AVCProfileHigh10

Added in API level 16
int AVCProfileHigh10

Constant Value: 16 (0x00000010)

AVCProfileHigh422

Added in API level 16
int AVCProfileHigh422

Constant Value: 32 (0x00000020)

AVCProfileHigh444

Added in API level 16
int AVCProfileHigh444

Constant Value: 64 (0x00000040)

AVCProfileMain

Added in API level 16
int AVCProfileMain

Constant Value: 2 (0x00000002)

H263Level10

Added in API level 16
int H263Level10

Constant Value: 1 (0x00000001)

H263Level20

Added in API level 16
int H263Level20

Constant Value: 2 (0x00000002)

H263Level30

Added in API level 16
int H263Level30

Constant Value: 4 (0x00000004)

H263Level40

Added in API level 16
int H263Level40

Constant Value: 8 (0x00000008)

H263Level45

Added in API level 16
int H263Level45

Constant Value: 16 (0x00000010)

H263Level50

Added in API level 16
int H263Level50

Constant Value: 32 (0x00000020)

H263Level60

Added in API level 16
int H263Level60

Constant Value: 64 (0x00000040)

H263Level70

Added in API level 16
int H263Level70

Constant Value: 128 (0x00000080)

H263ProfileBackwardCompatible

Added in API level 16
int H263ProfileBackwardCompatible

Constant Value: 4 (0x00000004)

H263ProfileBaseline

Added in API level 16
int H263ProfileBaseline

Constant Value: 1 (0x00000001)

H263ProfileH320Coding

Added in API level 16
int H263ProfileH320Coding

Constant Value: 2 (0x00000002)

H263ProfileHighCompression

Added in API level 16
int H263ProfileHighCompression

Constant Value: 32 (0x00000020)

H263ProfileHighLatency

Added in API level 16
int H263ProfileHighLatency

Constant Value: 256 (0x00000100)

H263ProfileISWV2

Added in API level 16
int H263ProfileISWV2

Constant Value: 8 (0x00000008)

H263ProfileISWV3

Added in API level 16
int H263ProfileISWV3

Constant Value: 16 (0x00000010)

H263ProfileInterlace

Added in API level 16
int H263ProfileInterlace

Constant Value: 128 (0x00000080)

H263ProfileInternet

Added in API level 16
int H263ProfileInternet

Constant Value: 64 (0x00000040)

HEVCHighTierLevel1

Added in API level 21
int HEVCHighTierLevel1

Constant Value: 2 (0x00000002)

HEVCHighTierLevel2

Added in API level 21
int HEVCHighTierLevel2

Constant Value: 8 (0x00000008)

HEVCHighTierLevel21

Added in API level 21
int HEVCHighTierLevel21

Constant Value: 32 (0x00000020)

HEVCHighTierLevel3

Added in API level 21
int HEVCHighTierLevel3

Constant Value: 128 (0x00000080)

HEVCHighTierLevel31

Added in API level 21
int HEVCHighTierLevel31

Constant Value: 512 (0x00000200)

HEVCHighTierLevel4

Added in API level 21
int HEVCHighTierLevel4

Constant Value: 2048 (0x00000800)

HEVCHighTierLevel41

Added in API level 21
int HEVCHighTierLevel41

Constant Value: 8192 (0x00002000)

HEVCHighTierLevel5

Added in API level 21
int HEVCHighTierLevel5

Constant Value: 32768 (0x00008000)

HEVCHighTierLevel51

Added in API level 21
int HEVCHighTierLevel51

Constant Value: 131072 (0x00020000)

HEVCHighTierLevel52

Added in API level 21
int HEVCHighTierLevel52

Constant Value: 524288 (0x00080000)

HEVCHighTierLevel6

Added in API level 21
int HEVCHighTierLevel6

Constant Value: 2097152 (0x00200000)

HEVCHighTierLevel61

Added in API level 21
int HEVCHighTierLevel61

Constant Value: 8388608 (0x00800000)

HEVCHighTierLevel62

Added in API level 21
int HEVCHighTierLevel62

Constant Value: 33554432 (0x02000000)

HEVCMainTierLevel1

Added in API level 21
int HEVCMainTierLevel1

Constant Value: 1 (0x00000001)

HEVCMainTierLevel2

Added in API level 21
int HEVCMainTierLevel2

Constant Value: 4 (0x00000004)

HEVCMainTierLevel21

Added in API level 21
int HEVCMainTierLevel21

Constant Value: 16 (0x00000010)

HEVCMainTierLevel3

Added in API level 21
int HEVCMainTierLevel3

Constant Value: 64 (0x00000040)

HEVCMainTierLevel31

Added in API level 21
int HEVCMainTierLevel31

Constant Value: 256 (0x00000100)

HEVCMainTierLevel4

Added in API level 21
int HEVCMainTierLevel4

Constant Value: 1024 (0x00000400)

HEVCMainTierLevel41

Added in API level 21
int HEVCMainTierLevel41

Constant Value: 4096 (0x00001000)

HEVCMainTierLevel5

Added in API level 21
int HEVCMainTierLevel5

Constant Value: 16384 (0x00004000)

HEVCMainTierLevel51

Added in API level 21
int HEVCMainTierLevel51

Constant Value: 65536 (0x00010000)

HEVCMainTierLevel52

Added in API level 21
int HEVCMainTierLevel52

Constant Value: 262144 (0x00040000)

HEVCMainTierLevel6

Added in API level 21
int HEVCMainTierLevel6

Constant Value: 1048576 (0x00100000)

HEVCMainTierLevel61

Added in API level 21
int HEVCMainTierLevel61

Constant Value: 4194304 (0x00400000)

HEVCMainTierLevel62

Added in API level 21
int HEVCMainTierLevel62

Constant Value: 16777216 (0x01000000)

HEVCProfileMain

Added in API level 21
int HEVCProfileMain

Constant Value: 1 (0x00000001)

HEVCProfileMain10

Added in API level 21
int HEVCProfileMain10

Constant Value: 2 (0x00000002)

MPEG2LevelH14

Added in API level 23
int MPEG2LevelH14

Constant Value: 2 (0x00000002)

MPEG2LevelHL

Added in API level 23
int MPEG2LevelHL

Constant Value: 3 (0x00000003)

MPEG2LevelLL

Added in API level 23
int MPEG2LevelLL

Constant Value: 0 (0x00000000)

MPEG2LevelML

Added in API level 23
int MPEG2LevelML

Constant Value: 1 (0x00000001)

MPEG2Profile422

Added in API level 23
int MPEG2Profile422

Constant Value: 2 (0x00000002)

MPEG2ProfileHigh

Added in API level 23
int MPEG2ProfileHigh

Constant Value: 5 (0x00000005)

MPEG2ProfileMain

Added in API level 23
int MPEG2ProfileMain

Constant Value: 1 (0x00000001)

MPEG2ProfileSNR

Added in API level 23
int MPEG2ProfileSNR

Constant Value: 3 (0x00000003)

MPEG2ProfileSimple

Added in API level 23
int MPEG2ProfileSimple

Constant Value: 0 (0x00000000)

MPEG2ProfileSpatial

Added in API level 23
int MPEG2ProfileSpatial

Constant Value: 4 (0x00000004)

MPEG4Level0

Added in API level 16
int MPEG4Level0

Constant Value: 1 (0x00000001)

MPEG4Level0b

Added in API level 16
int MPEG4Level0b

Constant Value: 2 (0x00000002)

MPEG4Level1

Added in API level 16
int MPEG4Level1

Constant Value: 4 (0x00000004)

MPEG4Level2

Added in API level 16
int MPEG4Level2

Constant Value: 8 (0x00000008)

MPEG4Level3

Added in API level 16
int MPEG4Level3

Constant Value: 16 (0x00000010)

MPEG4Level4

Added in API level 16
int MPEG4Level4

Constant Value: 32 (0x00000020)

MPEG4Level4a

Added in API level 16
int MPEG4Level4a

Constant Value: 64 (0x00000040)

MPEG4Level5

Added in API level 16
int MPEG4Level5

Constant Value: 128 (0x00000080)

MPEG4ProfileAdvancedCoding

Added in API level 16
int MPEG4ProfileAdvancedCoding

Constant Value: 4096 (0x00001000)

MPEG4ProfileAdvancedCore

Added in API level 16
int MPEG4ProfileAdvancedCore

Constant Value: 8192 (0x00002000)

MPEG4ProfileAdvancedRealTime

Added in API level 16
int MPEG4ProfileAdvancedRealTime

Constant Value: 1024 (0x00000400)

MPEG4ProfileAdvancedScalable

Added in API level 16
int MPEG4ProfileAdvancedScalable

Constant Value: 16384 (0x00004000)

MPEG4ProfileAdvancedSimple

Added in API level 16
int MPEG4ProfileAdvancedSimple

Constant Value: 32768 (0x00008000)

MPEG4ProfileBasicAnimated

Added in API level 16
int MPEG4ProfileBasicAnimated

Constant Value: 256 (0x00000100)

MPEG4ProfileCore

Added in API level 16
int MPEG4ProfileCore

Constant Value: 4 (0x00000004)

MPEG4ProfileCoreScalable

Added in API level 16
int MPEG4ProfileCoreScalable

Constant Value: 2048 (0x00000800)

MPEG4ProfileHybrid

Added in API level 16
int MPEG4ProfileHybrid

Constant Value: 512 (0x00000200)

MPEG4ProfileMain

Added in API level 16
int MPEG4ProfileMain

Constant Value: 8 (0x00000008)

MPEG4ProfileNbit

Added in API level 16
int MPEG4ProfileNbit

Constant Value: 16 (0x00000010)

MPEG4ProfileScalableTexture

Added in API level 16
int MPEG4ProfileScalableTexture

Constant Value: 32 (0x00000020)

MPEG4ProfileSimple

Added in API level 16
int MPEG4ProfileSimple

Constant Value: 1 (0x00000001)

MPEG4ProfileSimpleFBA

Added in API level 16
int MPEG4ProfileSimpleFBA

Constant Value: 128 (0x00000080)

MPEG4ProfileSimpleFace

Added in API level 16
int MPEG4ProfileSimpleFace

Constant Value: 64 (0x00000040)

MPEG4ProfileSimpleScalable

Added in API level 16
int MPEG4ProfileSimpleScalable

Constant Value: 2 (0x00000002)

VP8Level_Version0

Added in API level 18
int VP8Level_Version0

Constant Value: 1 (0x00000001)

VP8Level_Version1

Added in API level 18
int VP8Level_Version1

Constant Value: 2 (0x00000002)

VP8Level_Version2

Added in API level 18
int VP8Level_Version2

Constant Value: 4 (0x00000004)

VP8Level_Version3

Added in API level 18
int VP8Level_Version3

Constant Value: 8 (0x00000008)

VP8ProfileMain

Added in API level 18
int VP8ProfileMain

Constant Value: 1 (0x00000001)

Fields

level

Added in API level 16
int level

Defined in the OpenMAX IL specs, depending on the type of media this can be OMX_VIDEO_AVCLEVELTYPE, OMX_VIDEO_H263LEVELTYPE OMX_VIDEO_MPEG4LEVELTYPE or OMX_VIDEO_VP8LEVELTYPE.

profile

Added in API level 16
int profile

Defined in the OpenMAX IL specs, depending on the type of media this can be OMX_VIDEO_AVCPROFILETYPE, OMX_VIDEO_H263PROFILETYPE, OMX_VIDEO_MPEG4PROFILETYPE or OMX_VIDEO_VP8PROFILETYPE.

Public constructors

MediaCodecInfo.CodecProfileLevel

Added in API level 16
MediaCodecInfo.CodecProfileLevel ()

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.