Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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 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

Constant Value: 39 (0x00000027)

public static final int AACObjectERLC

Constant Value: 17 (0x00000011)

public static final int AACObjectHE

Constant Value: 5 (0x00000005)

public static final int AACObjectHE_PS

Constant Value: 29 (0x0000001d)

public static final int AACObjectLC

Constant Value: 2 (0x00000002)

public static final int AACObjectLD

Constant Value: 23 (0x00000017)

public static final int AACObjectLTP

Constant Value: 4 (0x00000004)

public static final int AACObjectMain

Constant Value: 1 (0x00000001)

public static final int AACObjectSSR

Constant Value: 3 (0x00000003)

public static final int AACObjectScalable

Constant Value: 6 (0x00000006)

public static final int AVCLevel1

Constant Value: 1 (0x00000001)

public static final int AVCLevel11

Constant Value: 4 (0x00000004)

public static final int AVCLevel12

Constant Value: 8 (0x00000008)

public static final int AVCLevel13

Constant Value: 16 (0x00000010)

public static final int AVCLevel1b

Constant Value: 2 (0x00000002)

public static final int AVCLevel2

Constant Value: 32 (0x00000020)

public static final int AVCLevel21

Constant Value: 64 (0x00000040)

public static final int AVCLevel22

Constant Value: 128 (0x00000080)

public static final int AVCLevel3

Constant Value: 256 (0x00000100)

public static final int AVCLevel31

Constant Value: 512 (0x00000200)

public static final int AVCLevel32

Constant Value: 1024 (0x00000400)

public static final int AVCLevel4

Constant Value: 2048 (0x00000800)

public static final int AVCLevel41

Constant Value: 4096 (0x00001000)

public static final int AVCLevel42

Constant Value: 8192 (0x00002000)

public static final int AVCLevel5

Constant Value: 16384 (0x00004000)

public static final int AVCLevel51

Constant Value: 32768 (0x00008000)

public static final int AVCProfileBaseline

Constant Value: 1 (0x00000001)

public static final int AVCProfileExtended

Constant Value: 4 (0x00000004)

public static final int AVCProfileHigh

Constant Value: 8 (0x00000008)

public static final int AVCProfileHigh10

Constant Value: 16 (0x00000010)

public static final int AVCProfileHigh422

Constant Value: 32 (0x00000020)

public static final int AVCProfileHigh444

Constant Value: 64 (0x00000040)

public static final int AVCProfileMain

Constant Value: 2 (0x00000002)

public static final int H263Level10

Constant Value: 1 (0x00000001)

public static final int H263Level20

Constant Value: 2 (0x00000002)

public static final int H263Level30

Constant Value: 4 (0x00000004)

public static final int H263Level40

Constant Value: 8 (0x00000008)

public static final int H263Level45

Constant Value: 16 (0x00000010)

public static final int H263Level50

Constant Value: 32 (0x00000020)

public static final int H263Level60

Constant Value: 64 (0x00000040)

public static final int H263Level70

Constant Value: 128 (0x00000080)

public static final int H263ProfileBackwardCompatible

Constant Value: 4 (0x00000004)

public static final int H263ProfileBaseline

Constant Value: 1 (0x00000001)

public static final int H263ProfileH320Coding

Constant Value: 2 (0x00000002)

public static final int H263ProfileHighCompression

Constant Value: 32 (0x00000020)

public static final int H263ProfileHighLatency

Constant Value: 256 (0x00000100)

public static final int H263ProfileISWV2

Constant Value: 8 (0x00000008)

public static final int H263ProfileISWV3

Constant Value: 16 (0x00000010)

public static final int H263ProfileInterlace

Constant Value: 128 (0x00000080)

public static final int H263ProfileInternet

Constant Value: 64 (0x00000040)

public static final int MPEG4Level0

Constant Value: 1 (0x00000001)

public static final int MPEG4Level0b

Constant Value: 2 (0x00000002)

public static final int MPEG4Level1

Constant Value: 4 (0x00000004)

public static final int MPEG4Level2

Constant Value: 8 (0x00000008)

public static final int MPEG4Level3

Constant Value: 16 (0x00000010)

public static final int MPEG4Level4

Constant Value: 32 (0x00000020)

public static final int MPEG4Level4a

Constant Value: 64 (0x00000040)

public static final int MPEG4Level5

Constant Value: 128 (0x00000080)

public static final int MPEG4ProfileAdvancedCoding

Constant Value: 4096 (0x00001000)

public static final int MPEG4ProfileAdvancedCore

Constant Value: 8192 (0x00002000)

public static final int MPEG4ProfileAdvancedRealTime

Constant Value: 1024 (0x00000400)

public static final int MPEG4ProfileAdvancedScalable

Constant Value: 16384 (0x00004000)

public static final int MPEG4ProfileAdvancedSimple

Constant Value: 32768 (0x00008000)

public static final int MPEG4ProfileBasicAnimated

Constant Value: 256 (0x00000100)

public static final int MPEG4ProfileCore

Constant Value: 4 (0x00000004)

public static final int MPEG4ProfileCoreScalable

Constant Value: 2048 (0x00000800)

public static final int MPEG4ProfileHybrid

Constant Value: 512 (0x00000200)

public static final int MPEG4ProfileMain

Constant Value: 8 (0x00000008)

public static final int MPEG4ProfileNbit

Constant Value: 16 (0x00000010)

public static final int MPEG4ProfileScalableTexture

Constant Value: 32 (0x00000020)

public static final int MPEG4ProfileSimple

Constant Value: 1 (0x00000001)

public static final int MPEG4ProfileSimpleFBA

Constant Value: 128 (0x00000080)

public static final int MPEG4ProfileSimpleFace

Constant Value: 64 (0x00000040)

public static final int MPEG4ProfileSimpleScalable

Constant Value: 2 (0x00000002)

public static final int VP8Level_Version0

Constant Value: 1 (0x00000001)

public static final int VP8Level_Version1

Constant Value: 2 (0x00000002)

public static final int VP8Level_Version2

Constant Value: 4 (0x00000004)

public static final int VP8Level_Version3

Constant Value: 8 (0x00000008)

public static final int VP8ProfileMain

Constant Value: 1 (0x00000001)

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

public MediaCodecInfo.CodecProfileLevel ()