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

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 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