# Print output for @column tags ?>
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.
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 | |
---|---|
public static final int AACObjectELD
Constant Value: 39 (0x00000027)
public static final int AACObjectERLC
Constant Value: 17 (0x00000011)
public static final int AACObjectERScalable
Constant Value: 20 (0x00000014)
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 AACObjectXHE
xHE-AAC (includes USAC)
Constant Value: 42 (0x0000002a)
public static final int AV1Level2
Constant Value: 1 (0x00000001)
public static final int AV1Level21
Constant Value: 2 (0x00000002)
public static final int AV1Level22
Constant Value: 4 (0x00000004)
public static final int AV1Level23
Constant Value: 8 (0x00000008)
public static final int AV1Level3
Constant Value: 16 (0x00000010)
public static final int AV1Level31
Constant Value: 32 (0x00000020)
public static final int AV1Level32
Constant Value: 64 (0x00000040)
public static final int AV1Level33
Constant Value: 128 (0x00000080)
public static final int AV1Level4
Constant Value: 256 (0x00000100)
public static final int AV1Level41
Constant Value: 512 (0x00000200)
public static final int AV1Level42
Constant Value: 1024 (0x00000400)
public static final int AV1Level43
Constant Value: 2048 (0x00000800)
public static final int AV1Level5
Constant Value: 4096 (0x00001000)
public static final int AV1Level51
Constant Value: 8192 (0x00002000)
public static final int AV1Level52
Constant Value: 16384 (0x00004000)
public static final int AV1Level53
Constant Value: 32768 (0x00008000)
public static final int AV1Level6
Constant Value: 65536 (0x00010000)
public static final int AV1Level61
Constant Value: 131072 (0x00020000)
public static final int AV1Level62
Constant Value: 262144 (0x00040000)
public static final int AV1Level63
Constant Value: 524288 (0x00080000)
public static final int AV1Level7
Constant Value: 1048576 (0x00100000)
public static final int AV1Level71
Constant Value: 2097152 (0x00200000)
public static final int AV1Level72
Constant Value: 4194304 (0x00400000)
public static final int AV1Level73
Constant Value: 8388608 (0x00800000)
public static final int AV1ProfileMain10
AV1 Main profile 4:2:0 10-bit See definition in AV1 Specification Annex A.
Constant Value: 2 (0x00000002)
public static final int AV1ProfileMain10HDR10
AV1 Main profile 4:2:0 10-bit with HDR10.
Constant Value: 4096 (0x00001000)
public static final int AV1ProfileMain10HDR10Plus
AV1 Main profile 4:2:0 10-bit with HDR10Plus.
Constant Value: 8192 (0x00002000)
public static final int AV1ProfileMain8
AV1 Main profile 4:2:0 8-bit See definition in AV1 Specification Annex A.
Constant Value: 1 (0x00000001)
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 AVCLevel52
Constant Value: 65536 (0x00010000)
public static final int AVCLevel6
Constant Value: 131072 (0x00020000)
public static final int AVCLevel61
Constant Value: 262144 (0x00040000)
public static final int AVCLevel62
Constant Value: 524288 (0x00080000)
public static final int AVCProfileBaseline
AVC Baseline profile. See definition in H.264 recommendation, Annex A.
Constant Value: 1 (0x00000001)
public static final int AVCProfileConstrainedBaseline
AVC Constrained Baseline profile. See definition in H.264 recommendation, Annex A.
Constant Value: 65536 (0x00010000)
public static final int AVCProfileConstrainedHigh
AVC Constrained High profile. See definition in H.264 recommendation, Annex A.
Constant Value: 524288 (0x00080000)
public static final int AVCProfileExtended
AVC Extended profile. See definition in H.264 recommendation, Annex A.
Constant Value: 4 (0x00000004)
public static final int AVCProfileHigh
AVC High profile. See definition in H.264 recommendation, Annex A.
Constant Value: 8 (0x00000008)
public static final int AVCProfileHigh10
AVC High 10 profile. See definition in H.264 recommendation, Annex A.
Constant Value: 16 (0x00000010)
public static final int AVCProfileHigh422
AVC High 4:2:2 profile. See definition in H.264 recommendation, Annex A.
Constant Value: 32 (0x00000020)
public static final int AVCProfileHigh444
AVC High 4:4:4 profile. See definition in H.264 recommendation, Annex A.
Constant Value: 64 (0x00000040)
public static final int AVCProfileMain
AVC Main profile. See definition in H.264 recommendation, Annex A.
Constant Value: 2 (0x00000002)
public static final int DolbyVisionLevelFhd24
Constant Value: 4 (0x00000004)
public static final int DolbyVisionLevelFhd30
Constant Value: 8 (0x00000008)
public static final int DolbyVisionLevelFhd60
Constant Value: 16 (0x00000010)
public static final int DolbyVisionLevelHd24
Constant Value: 1 (0x00000001)
public static final int DolbyVisionLevelHd30
Constant Value: 2 (0x00000002)
public static final int DolbyVisionLevelUhd24
Constant Value: 32 (0x00000020)
public static final int DolbyVisionLevelUhd30
Constant Value: 64 (0x00000040)
public static final int DolbyVisionLevelUhd48
Constant Value: 128 (0x00000080)
public static final int DolbyVisionLevelUhd60
Constant Value: 256 (0x00000100)
public static final int DolbyVisionProfileDvav110
Dolby Vision AV1 profile
Constant Value: 1024 (0x00000400)
public static final int DolbyVisionProfileDvavPen
Constant Value: 2 (0x00000002)
public static final int DolbyVisionProfileDvavPer
Constant Value: 1 (0x00000001)
public static final int DolbyVisionProfileDvavSe
Constant Value: 512 (0x00000200)
public static final int DolbyVisionProfileDvheDen
Constant Value: 8 (0x00000008)
public static final int DolbyVisionProfileDvheDer
Constant Value: 4 (0x00000004)
public static final int DolbyVisionProfileDvheDtb
Constant Value: 128 (0x00000080)
public static final int DolbyVisionProfileDvheDth
Constant Value: 64 (0x00000040)
public static final int DolbyVisionProfileDvheDtr
Constant Value: 16 (0x00000010)
public static final int DolbyVisionProfileDvheSt
Constant Value: 256 (0x00000100)
public static final int DolbyVisionProfileDvheStn
Constant Value: 32 (0x00000020)
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 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 HEVCProfileMain10HDR10
Constant Value: 4096 (0x00001000)
public static final int HEVCProfileMain10HDR10Plus
Constant Value: 8192 (0x00002000)
public static final int HEVCProfileMainStill
Constant Value: 4 (0x00000004)
public static final int MPEG2LevelH14
Constant Value: 2 (0x00000002)
public static final int MPEG2LevelHL
Constant Value: 3 (0x00000003)
public static final int MPEG2LevelHP
Constant Value: 4 (0x00000004)
public static final int MPEG2LevelLL
Constant Value: 0 (0x00000000)
public static final int MPEG2LevelML
Constant Value: 1 (0x00000001)
public static final int MPEG2Profile422
Constant Value: 2 (0x00000002)
public static final int MPEG2ProfileHigh
Constant Value: 5 (0x00000005)
public static final int MPEG2ProfileMain
Constant Value: 1 (0x00000001)
public static final int MPEG2ProfileSNR
Constant Value: 3 (0x00000003)
public static final int MPEG2ProfileSimple
Constant Value: 0 (0x00000000)
public static final int MPEG2ProfileSpatial
Constant Value: 4 (0x00000004)
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 MPEG4Level3b
Constant Value: 24 (0x00000018)
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 MPEG4Level6
Constant Value: 256 (0x00000100)
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)
public static final int VP9Level1
Constant Value: 1 (0x00000001)
public static final int VP9Level11
Constant Value: 2 (0x00000002)
public static final int VP9Level2
Constant Value: 4 (0x00000004)
public static final int VP9Level21
Constant Value: 8 (0x00000008)
public static final int VP9Level3
Constant Value: 16 (0x00000010)
public static final int VP9Level31
Constant Value: 32 (0x00000020)
public static final int VP9Level4
Constant Value: 64 (0x00000040)
public static final int VP9Level41
Constant Value: 128 (0x00000080)
public static final int VP9Level5
Constant Value: 256 (0x00000100)
public static final int VP9Level51
Constant Value: 512 (0x00000200)
public static final int VP9Level52
Constant Value: 1024 (0x00000400)
public static final int VP9Level6
Constant Value: 2048 (0x00000800)
public static final int VP9Level61
Constant Value: 4096 (0x00001000)
public static final int VP9Level62
Constant Value: 8192 (0x00002000)
public static final int VP9Profile0
VP9 Profile 0 4:2:0 8-bit
Constant Value: 1 (0x00000001)
public static final int VP9Profile1
VP9 Profile 1 4:2:2 8-bit
Constant Value: 2 (0x00000002)
public static final int VP9Profile2
VP9 Profile 2 4:2:0 10-bit
Constant Value: 4 (0x00000004)
public static final int VP9Profile2HDR
VP9 Profile 2 4:2:0 10-bit HDR
Constant Value: 4096 (0x00001000)
public static final int VP9Profile2HDR10Plus
VP9 Profile 2 4:2:0 10-bit HDR10Plus
Constant Value: 16384 (0x00004000)
public static final int VP9Profile3
VP9 Profile 3 4:2:2 10-bit
Constant Value: 8 (0x00000008)
public static final int VP9Profile3HDR
VP9 Profile 3 4:2:2 10-bit HDR
Constant Value: 8192 (0x00002000)
public static final int VP9Profile3HDR10Plus
VP9 Profile 3 4:2:2 10-bit HDR10Plus
Constant Value: 32768 (0x00008000)
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.
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 CodecProfileLevel ()
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:
x
, x.equals(x)
should return
true
.
x
and y
, x.equals(y)
should return true
if and only if
y.equals(x)
returns true
.
x
, y
, and z
, if
x.equals(y)
returns true
and
y.equals(z)
returns true
, then
x.equals(z)
should return true
.
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.
x
,
x.equals(null)
should return false
.
The equals
method for class Object
implements
the most discriminating possible equivalence relation on objects;
that is, for any non-null reference values x
and
y
, this method returns true
if and only
if x
and y
refer to the same object
(x == y
has the value true
).
Note that it is generally necessary to override the hashCode
method whenever this method is overridden, so as to maintain the
general contract for the hashCode
method, which states
that equal objects must have equal hash codes.
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. |
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:
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.
equals(Object)
method, then calling the hashCode
method on each of
the two objects must produce the same integer result.
equals(java.lang.Object)
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.
As much as is reasonably practical, the hashCode method defined by
class Object
does return distinct integers for distinct
objects. (This is typically implemented by converting the internal
address of the object into an integer, but this implementation
technique is not required by the
Java™ programming language.)
Returns | |
---|---|
int |
a hash code value for this object. |