Android APIs
public static final class

MediaCodecInfo.CodecProfileLevel

extends Object
java.lang.Object
   ↳ android.media.MediaCodecInfo.CodecProfileLevel

Class Overview

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 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 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()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AACObjectELD

Added in API level 16

Constant Value: 39 (0x00000027)

public static final int AACObjectERLC

Added in API level 16

Constant Value: 17 (0x00000011)

public static final int AACObjectHE

Added in API level 16

Constant Value: 5 (0x00000005)

public static final int AACObjectHE_PS

Added in API level 16

Constant Value: 29 (0x0000001d)

public static final int AACObjectLC

Added in API level 16

Constant Value: 2 (0x00000002)

public static final int AACObjectLD

Added in API level 16

Constant Value: 23 (0x00000017)

public static final int AACObjectLTP

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int AACObjectMain

Added in API level 16

Constant Value: 1 (0x00000001)

public static final int AACObjectSSR

Added in API level 16

Constant Value: 3 (0x00000003)

public static final int AACObjectScalable

Added in API level 16

Constant Value: 6 (0x00000006)

public static final int AVCLevel1

Added in API level 16

Constant Value: 1 (0x00000001)

public static final int AVCLevel11

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int AVCLevel12

Added in API level 16

Constant Value: 8 (0x00000008)

public static final int AVCLevel13

Added in API level 16

Constant Value: 16 (0x00000010)

public static final int AVCLevel1b

Added in API level 16

Constant Value: 2 (0x00000002)

public static final int AVCLevel2

Added in API level 16

Constant Value: 32 (0x00000020)

public static final int AVCLevel21

Added in API level 16

Constant Value: 64 (0x00000040)

public static final int AVCLevel22

Added in API level 16

Constant Value: 128 (0x00000080)

public static final int AVCLevel3

Added in API level 16

Constant Value: 256 (0x00000100)

public static final int AVCLevel31

Added in API level 16

Constant Value: 512 (0x00000200)

public static final int AVCLevel32

Added in API level 16

Constant Value: 1024 (0x00000400)

public static final int AVCLevel4

Added in API level 16

Constant Value: 2048 (0x00000800)

public static final int AVCLevel41

Added in API level 16

Constant Value: 4096 (0x00001000)

public static final int AVCLevel42

Added in API level 16

Constant Value: 8192 (0x00002000)

public static final int AVCLevel5

Added in API level 16

Constant Value: 16384 (0x00004000)

public static final int AVCLevel51

Added in API level 16

Constant Value: 32768 (0x00008000)

public static final int AVCProfileBaseline

Added in API level 16

Constant Value: 1 (0x00000001)

public static final int AVCProfileExtended

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int AVCProfileHigh

Added in API level 16

Constant Value: 8 (0x00000008)

public static final int AVCProfileHigh10

Added in API level 16

Constant Value: 16 (0x00000010)

public static final int AVCProfileHigh422

Added in API level 16

Constant Value: 32 (0x00000020)

public static final int AVCProfileHigh444

Added in API level 16

Constant Value: 64 (0x00000040)

public static final int AVCProfileMain

Added in API level 16

Constant Value: 2 (0x00000002)

public static final int H263Level10

Added in API level 16

Constant Value: 1 (0x00000001)

public static final int H263Level20

Added in API level 16

Constant Value: 2 (0x00000002)

public static final int H263Level30

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int H263Level40

Added in API level 16

Constant Value: 8 (0x00000008)

public static final int H263Level45

Added in API level 16

Constant Value: 16 (0x00000010)

public static final int H263Level50

Added in API level 16

Constant Value: 32 (0x00000020)

public static final int H263Level60

Added in API level 16

Constant Value: 64 (0x00000040)

public static final int H263Level70

Added in API level 16

Constant Value: 128 (0x00000080)

public static final int H263ProfileBackwardCompatible

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int H263ProfileBaseline

Added in API level 16

Constant Value: 1 (0x00000001)

public static final int H263ProfileH320Coding

Added in API level 16

Constant Value: 2 (0x00000002)

public static final int H263ProfileHighCompression

Added in API level 16

Constant Value: 32 (0x00000020)

public static final int H263ProfileHighLatency

Added in API level 16

Constant Value: 256 (0x00000100)

public static final int H263ProfileISWV2

Added in API level 16

Constant Value: 8 (0x00000008)

public static final int H263ProfileISWV3

Added in API level 16

Constant Value: 16 (0x00000010)

public static final int H263ProfileInterlace

Added in API level 16

Constant Value: 128 (0x00000080)

public static final int H263ProfileInternet

Added in API level 16

Constant Value: 64 (0x00000040)

public static final int HEVCHighTierLevel1

Constant Value: 2 (0x00000002)

public static final int HEVCHighTierLevel2

Constant Value: 8 (0x00000008)

public static final int HEVCHighTierLevel21

Constant Value: 32 (0x00000020)

public static final int HEVCHighTierLevel3

Constant Value: 128 (0x00000080)

public static final int HEVCHighTierLevel31

Constant Value: 512 (0x00000200)

public static final int HEVCHighTierLevel4

Constant Value: 2048 (0x00000800)

public static final int HEVCHighTierLevel41

Constant Value: 8192 (0x00002000)

public static final int HEVCHighTierLevel5

Constant Value: 32768 (0x00008000)

public static final int HEVCHighTierLevel51

Constant Value: 131072 (0x00020000)

public static final int HEVCHighTierLevel52

Constant Value: 524288 (0x00080000)

public static final int HEVCHighTierLevel6

Constant Value: 2097152 (0x00200000)

public static final int HEVCHighTierLevel61

Constant Value: 8388608 (0x00800000)

public static final int HEVCHighTierLevel62

Constant Value: 33554432 (0x02000000)

public static final int HEVCMainTierLevel1

Constant Value: 1 (0x00000001)

public static final int HEVCMainTierLevel2

Constant Value: 4 (0x00000004)

public static final int HEVCMainTierLevel21

Constant Value: 16 (0x00000010)

public static final int HEVCMainTierLevel3

Constant Value: 64 (0x00000040)

public static final int HEVCMainTierLevel31

Constant Value: 256 (0x00000100)

public static final int HEVCMainTierLevel4

Constant Value: 1024 (0x00000400)

public static final int HEVCMainTierLevel41

Constant Value: 4096 (0x00001000)

public static final int HEVCMainTierLevel5

Constant Value: 16384 (0x00004000)

public static final int HEVCMainTierLevel51

Constant Value: 65536 (0x00010000)

public static final int HEVCMainTierLevel52

Constant Value: 262144 (0x00040000)

public static final int HEVCMainTierLevel6

Constant Value: 1048576 (0x00100000)

public static final int HEVCMainTierLevel61

Constant Value: 4194304 (0x00400000)

public static final int HEVCMainTierLevel62

Constant Value: 16777216 (0x01000000)

public static final int HEVCProfileMain

Constant Value: 1 (0x00000001)

public static final int HEVCProfileMain10

Constant Value: 2 (0x00000002)

public static final int MPEG4Level0

Added in API level 16

Constant Value: 1 (0x00000001)

public static final int MPEG4Level0b

Added in API level 16

Constant Value: 2 (0x00000002)

public static final int MPEG4Level1

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int MPEG4Level2

Added in API level 16

Constant Value: 8 (0x00000008)

public static final int MPEG4Level3

Added in API level 16

Constant Value: 16 (0x00000010)

public static final int MPEG4Level4

Added in API level 16

Constant Value: 32 (0x00000020)

public static final int MPEG4Level4a

Added in API level 16

Constant Value: 64 (0x00000040)

public static final int MPEG4Level5

Added in API level 16

Constant Value: 128 (0x00000080)

public static final int MPEG4ProfileAdvancedCoding

Added in API level 16

Constant Value: 4096 (0x00001000)

public static final int MPEG4ProfileAdvancedCore

Added in API level 16

Constant Value: 8192 (0x00002000)

public static final int MPEG4ProfileAdvancedRealTime

Added in API level 16

Constant Value: 1024 (0x00000400)

public static final int MPEG4ProfileAdvancedScalable

Added in API level 16

Constant Value: 16384 (0x00004000)

public static final int MPEG4ProfileAdvancedSimple

Added in API level 16

Constant Value: 32768 (0x00008000)

public static final int MPEG4ProfileBasicAnimated

Added in API level 16

Constant Value: 256 (0x00000100)

public static final int MPEG4ProfileCore

Added in API level 16

Constant Value: 4 (0x00000004)

public static final int MPEG4ProfileCoreScalable

Added in API level 16

Constant Value: 2048 (0x00000800)

public static final int MPEG4ProfileHybrid

Added in API level 16

Constant Value: 512 (0x00000200)

public static final int MPEG4ProfileMain

Added in API level 16

Constant Value: 8 (0x00000008)

public static final int MPEG4ProfileNbit

Added in API level 16

Constant Value: 16 (0x00000010)

public static final int MPEG4ProfileScalableTexture

Added in API level 16

Constant Value: 32 (0x00000020)

public static final int MPEG4ProfileSimple

Added in API level 16

Constant Value: 1 (0x00000001)

public static final int MPEG4ProfileSimpleFBA

Added in API level 16

Constant Value: 128 (0x00000080)

public static final int MPEG4ProfileSimpleFace

Added in API level 16

Constant Value: 64 (0x00000040)

public static final int MPEG4ProfileSimpleScalable

Added in API level 16

Constant Value: 2 (0x00000002)

public static final int VP8Level_Version0

Added in API level 18

Constant Value: 1 (0x00000001)

public static final int VP8Level_Version1

Added in API level 18

Constant Value: 2 (0x00000002)

public static final int VP8Level_Version2

Added in API level 18

Constant Value: 4 (0x00000004)

public static final int VP8Level_Version3

Added in API level 18

Constant Value: 8 (0x00000008)

public static final int VP8ProfileMain

Added in API level 18

Constant Value: 1 (0x00000001)

Fields

public int level

Added in API level 16

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

Added in API level 16

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

public MediaCodecInfo.CodecProfileLevel ()

Added in API level 16