CodecProfileLevel
class CodecProfileLevel
kotlin.Any | |
↳ | 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.
Summary
Constants | |
---|---|
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int |
xHE-AAC (includes USAC) |
static Int |
AC-4 codec level corresponding to mdcompat 0 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec level corresponding to mdcompat 1 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec level corresponding to mdcompat 2 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec level corresponding to mdcompat 3 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec level corresponding to mdcompat 4 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec profile with bitstream_version 0 and presentation_version 0 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec profile with bitstream_version 1 and presentation_version 0 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec profile with bitstream_version 1 and presentation_version 1 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec profile with bitstream_version 2 and presentation_version 1 as per ETSI TS 103 190-2 v1. |
static Int |
AC-4 codec profile with bitstream_version 2 and presentation_version 2 as per ETSI TS 103 190-2 v1. |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int |
AV1 Main profile 4:2:0 10-bit See definition in AV1 Specification Annex A. |
static Int |
AV1 Main profile 4:2:0 10-bit with HDR10. |
static Int |
AV1 Main profile 4:2:0 10-bit with HDR10Plus. |
static Int |
AV1 Main profile 4:2:0 8-bit See definition in AV1 Specification Annex A. |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int |
AVC Baseline profile. |
static Int |
AVC Constrained Baseline profile. |
static Int |
AVC Constrained High profile. |
static Int |
AVC Extended profile. |
static Int |
AVC High profile. |
static Int |
AVC High 10 profile. |
static Int |
AVC High 4:2:2 profile. |
static Int |
AVC High 4:4:4 profile. |
static Int |
AVC Main profile. |
static Int |
DTS codec profile for DTS HRA. |
static Int |
DTS codec profile for DTS Express. |
static Int |
DTS codec profile for DTS-HD Master Audio |
static Int |
DTS codec profile for DTS:X Profile 1 |
static Int |
DTS codec profile for DTS:X Profile 2 |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int |
Dolby Vision AV1 profile |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int | |
static Int |
VP9 Profile 0 4:2:0 8-bit |
static Int |
VP9 Profile 1 4:2:2 8-bit |
static Int |
VP9 Profile 2 4:2:0 10-bit |
static Int |
VP9 Profile 2 4:2:0 10-bit HDR |
static Int |
VP9 Profile 2 4:2:0 10-bit HDR10Plus |
static Int |
VP9 Profile 3 4:2:2 10-bit |
static Int |
VP9 Profile 3 4:2:2 10-bit HDR |
static Int |
VP9 Profile 3 4:2:2 10-bit HDR10Plus |
Public constructors | |
---|---|
Public methods | |
---|---|
Boolean | |
Int |
hashCode() |
Properties | |
---|---|
Int |
The level of the media content. |
Int |
The profile of the media content. |
Constants
AC4Level0
static val AC4Level0: Int
AC-4 codec level corresponding to mdcompat 0 as per ETSI TS 103 190-2 v1.2.1
Value: 1
AC4Level1
static val AC4Level1: Int
AC-4 codec level corresponding to mdcompat 1 as per ETSI TS 103 190-2 v1.2.1
Value: 2
AC4Level2
static val AC4Level2: Int
AC-4 codec level corresponding to mdcompat 2 as per ETSI TS 103 190-2 v1.2.1
Value: 4
AC4Level3
static val AC4Level3: Int
AC-4 codec level corresponding to mdcompat 3 as per ETSI TS 103 190-2 v1.2.1
Value: 8
AC4Level4
static val AC4Level4: Int
AC-4 codec level corresponding to mdcompat 4 as per ETSI TS 103 190-2 v1.2.1
Value: 16
AC4Profile00
static val AC4Profile00: Int
AC-4 codec profile with bitstream_version 0 and presentation_version 0 as per ETSI TS 103 190-2 v1.2.1
Value: 257
AC4Profile10
static val AC4Profile10: Int
AC-4 codec profile with bitstream_version 1 and presentation_version 0 as per ETSI TS 103 190-2 v1.2.1
Value: 513
AC4Profile11
static val AC4Profile11: Int
AC-4 codec profile with bitstream_version 1 and presentation_version 1 as per ETSI TS 103 190-2 v1.2.1
Value: 514
AC4Profile21
static val AC4Profile21: Int
AC-4 codec profile with bitstream_version 2 and presentation_version 1 as per ETSI TS 103 190-2 v1.2.1
Value: 1026
AC4Profile22
static val AC4Profile22: Int
AC-4 codec profile with bitstream_version 2 and presentation_version 2 as per ETSI TS 103 190-2 v1.2.1
Value: 1028
AV1ProfileMain10
static val AV1ProfileMain10: Int
AV1 Main profile 4:2:0 10-bit See definition in AV1 Specification Annex A.
Value: 2
AV1ProfileMain10HDR10
static val AV1ProfileMain10HDR10: Int
AV1 Main profile 4:2:0 10-bit with HDR10.
Value: 4096
AV1ProfileMain10HDR10Plus
static val AV1ProfileMain10HDR10Plus: Int
AV1 Main profile 4:2:0 10-bit with HDR10Plus.
Value: 8192
AV1ProfileMain8
static val AV1ProfileMain8: Int
AV1 Main profile 4:2:0 8-bit See definition in AV1 Specification Annex A.
Value: 1
AVCProfileBaseline
static val AVCProfileBaseline: Int
AVC Baseline profile. See definition in H.264 recommendation, Annex A.
Value: 1
AVCProfileConstrainedBaseline
static val AVCProfileConstrainedBaseline: Int
AVC Constrained Baseline profile. See definition in H.264 recommendation, Annex A.
Value: 65536
AVCProfileConstrainedHigh
static val AVCProfileConstrainedHigh: Int
AVC Constrained High profile. See definition in H.264 recommendation, Annex A.
Value: 524288
AVCProfileExtended
static val AVCProfileExtended: Int
AVC Extended profile. See definition in H.264 recommendation, Annex A.
Value: 4
AVCProfileHigh
static val AVCProfileHigh: Int
AVC High profile. See definition in H.264 recommendation, Annex A.
Value: 8
AVCProfileHigh10
static val AVCProfileHigh10: Int
AVC High 10 profile. See definition in H.264 recommendation, Annex A.
Value: 16
AVCProfileHigh422
static val AVCProfileHigh422: Int
AVC High 4:2:2 profile. See definition in H.264 recommendation, Annex A.
Value: 32
AVCProfileHigh444
static val AVCProfileHigh444: Int
AVC High 4:4:4 profile. See definition in H.264 recommendation, Annex A.
Value: 64
AVCProfileMain
static val AVCProfileMain: Int
AVC Main profile. See definition in H.264 recommendation, Annex A.
Value: 2
DTS_HDProfileHRA
static val DTS_HDProfileHRA: Int
DTS codec profile for DTS HRA.
Value: 1
DTS_HDProfileLBR
static val DTS_HDProfileLBR: Int
DTS codec profile for DTS Express.
Value: 2
DTS_HDProfileMA
static val DTS_HDProfileMA: Int
DTS codec profile for DTS-HD Master Audio
Value: 4
DTS_UHDProfileP1
static val DTS_UHDProfileP1: Int
DTS codec profile for DTS:X Profile 1
Value: 1
DTS_UHDProfileP2
static val DTS_UHDProfileP2: Int
DTS codec profile for DTS:X Profile 2
Value: 2
DolbyVisionProfileDvav110
static val DolbyVisionProfileDvav110: Int
Dolby Vision AV1 profile
Value: 1024
DolbyVisionProfileDvheDtb
static val DolbyVisionProfileDvheDtb: Int
Value: 128
H263ProfileBackwardCompatible
static val H263ProfileBackwardCompatible: Int
Value: 4
H263ProfileHighCompression
static val H263ProfileHighCompression: Int
Value: 32
HEVCProfileMain10HDR10Plus
static val HEVCProfileMain10HDR10Plus: Int
Value: 8192
MPEG4ProfileAdvancedCoding
static val MPEG4ProfileAdvancedCoding: Int
Value: 4096
MPEG4ProfileAdvancedRealTime
static val MPEG4ProfileAdvancedRealTime: Int
Value: 1024
MPEG4ProfileAdvancedScalable
static val MPEG4ProfileAdvancedScalable: Int
Value: 16384
MPEG4ProfileAdvancedSimple
static val MPEG4ProfileAdvancedSimple: Int
Value: 32768
MPEG4ProfileBasicAnimated
static val MPEG4ProfileBasicAnimated: Int
Value: 256
MPEG4ProfileScalableTexture
static val MPEG4ProfileScalableTexture: Int
Value: 32
MPEG4ProfileSimpleScalable
static val MPEG4ProfileSimpleScalable: Int
Value: 2
VP9Profile2HDR
static val VP9Profile2HDR: Int
VP9 Profile 2 4:2:0 10-bit HDR
Value: 4096
VP9Profile2HDR10Plus
static val VP9Profile2HDR10Plus: Int
VP9 Profile 2 4:2:0 10-bit HDR10Plus
Value: 16384
VP9Profile3HDR
static val VP9Profile3HDR: Int
VP9 Profile 3 4:2:2 10-bit HDR
Value: 8192
VP9Profile3HDR10Plus
static val VP9Profile3HDR10Plus: Int
VP9 Profile 3 4:2:2 10-bit HDR10Plus
Value: 32768
Public constructors
CodecProfileLevel
CodecProfileLevel()
Public methods
equals
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
Properties
level
var level: Int
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 android.os.Build.VERSION_CODES#N
may not advertise a profile level support. For those VP9 decoders, please use VideoCapabilities
to determine the codec capabilities.
profile
var profile: Int
The profile of the media content. Depending on the type of media this can be one of the profile values defined in this class.