MatroskaExtractor.Track


protected class MatroskaExtractor.Track


Holds data corresponding to a single track.

Summary

Protected constructors

Public functions

Unit
@RequiresNonNull(value = "codecId")
@EnsuresNonNull(value = "this.output")
initializeOutput(output: ExtractorOutput!, trackId: Int)

Initializes the track with an output.

Unit

Forces any pending sample metadata to be flushed to the output.

Unit

Resets any state stored in the track in response to a seek.

Public properties

Int
Int
Int
Long
@MonotonicNonNull String!
@MonotonicNonNull ByteArray<Byte>!
@C.ColorRange Int
Int
Int
@MonotonicNonNull TrackOutput.CryptoData!
Int
Int
Int
Int
@MonotonicNonNull ByteArray<Byte>!
@MonotonicNonNull DrmInitData!
Boolean
Boolean
Boolean
Boolean
Int
Int
Int
Int
Float
Float
Int
@MonotonicNonNull String!
Int
@MonotonicNonNull TrackOutput!
Float
Float
Float
Float
Float
Float
@MonotonicNonNull ByteArray<Byte>!
Float
Float
Float
Int
Int
@MonotonicNonNull ByteArray<Byte>!
Long
Int
@MonotonicNonNull TrueHdSampleRechunker!
Int
Float
Float
Int

Protected constructors

Track

protected Track()

Public functions

initializeOutput

@RequiresNonNull(value = "codecId")
@EnsuresNonNull(value = "this.output")
fun initializeOutput(output: ExtractorOutput!, trackId: Int): Unit

Initializes the track with an output.

outputPendingSampleMetadata

@RequiresNonNull(value = "output")
fun outputPendingSampleMetadata(): Unit

Forces any pending sample metadata to be flushed to the output.

reset

fun reset(): Unit

Resets any state stored in the track in response to a seek.

Public properties

audioBitDepth

val audioBitDepthInt

bitsPerChannel

val bitsPerChannelInt

channelCount

val channelCountInt

codecDelayNs

val codecDelayNsLong

codecPrivate

val codecPrivate: @MonotonicNonNull ByteArray<Byte>!

colorRange

val colorRange: @C.ColorRange Int

colorSpace

@C.ColorSpace
val colorSpaceInt

colorTransfer

@C.ColorTransfer
val colorTransferInt

defaultSampleDurationNs

val defaultSampleDurationNsInt

displayHeight

val displayHeightInt

displayUnit

val displayUnitInt

displayWidth

val displayWidthInt

dolbyVisionConfigBytes

val dolbyVisionConfigBytes: @MonotonicNonNull ByteArray<Byte>!

flagDefault

val flagDefaultBoolean

flagForced

val flagForcedBoolean

hasColorInfo

val hasColorInfoBoolean

hasContentEncryption

val hasContentEncryptionBoolean

height

val heightInt

maxBlockAdditionId

val maxBlockAdditionIdInt

maxContentLuminance

val maxContentLuminanceInt

maxFrameAverageLuminance

val maxFrameAverageLuminanceInt

maxMasteringLuminance

val maxMasteringLuminanceFloat

minMasteringLuminance

val minMasteringLuminanceFloat

nalUnitLengthFieldLength

val nalUnitLengthFieldLengthInt

number

val numberInt

primaryBChromaticityX

val primaryBChromaticityXFloat

primaryBChromaticityY

val primaryBChromaticityYFloat

primaryGChromaticityX

val primaryGChromaticityXFloat

primaryGChromaticityY

val primaryGChromaticityYFloat

primaryRChromaticityX

val primaryRChromaticityXFloat

primaryRChromaticityY

val primaryRChromaticityYFloat

projectionData

val projectionData: @MonotonicNonNull ByteArray<Byte>!

projectionPosePitch

val projectionPosePitchFloat

projectionPoseRoll

val projectionPoseRollFloat

projectionPoseYaw

val projectionPoseYawFloat

projectionType

@C.Projection
val projectionTypeInt

sampleRate

val sampleRateInt

sampleStrippedBytes

val sampleStrippedBytes: @MonotonicNonNull ByteArray<Byte>!

seekPreRollNs

val seekPreRollNsLong

stereoMode

@C.StereoMode
val stereoModeInt

type

val typeInt

whitePointChromaticityX

val whitePointChromaticityXFloat

whitePointChromaticityY

val whitePointChromaticityYFloat

width

val widthInt