MatroskaExtractor.Track


protected class MatroskaExtractor.Track


Holds data corresponding to a single track.

Summary

Protected constructors

Public functions

Unit
@RequiresNonNull(value = "codecId")
initializeFormat(trackId: Int)

Builds the Format for the track.

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
Int
Long
@MonotonicNonNull String!
@MonotonicNonNull Array<Byte>!
@C.ColorRange Int
Int
Int
@MonotonicNonNull TrackOutput.CryptoData!
Int
Int
Int
Int
@MonotonicNonNull Array<Byte>!
@MonotonicNonNull DrmInitData!
Boolean
Boolean
@MonotonicNonNull Format!
Boolean
Int
Boolean
Int
Int
Int
Float
Float
Int
@MonotonicNonNull String!
Int
@MonotonicNonNull TrackOutput!
Float
Float
Float
Float
Float
Float
@MonotonicNonNull Array<Byte>!
Float
Float
Float
Int
Int
@MonotonicNonNull Array<Byte>!
Long
Int
@MonotonicNonNull TrueHdSampleRechunker!
Int
Long
Boolean
Float
Float
Int

Protected constructors

Track

protected Track()

Public functions

initializeFormat

@RequiresNonNull(value = "codecId")
fun initializeFormat(trackId: Int): Unit

Builds the Format for the track.

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 audioBitDepth: Int

bitsPerChannel

val bitsPerChannel: Int

channelCount

val channelCount: Int

channelMask

val channelMask: Int

codecDelayNs

val codecDelayNs: Long

codecPrivate

val codecPrivate: @MonotonicNonNull Array<Byte>!

containerColorRange

val containerColorRange: @C.ColorRange Int

containerColorSpace

@C.ColorSpace
val containerColorSpace: Int

containerColorTransfer

@C.ColorTransfer
val containerColorTransfer: Int

defaultSampleDurationNs

val defaultSampleDurationNs: Int

displayHeight

val displayHeight: Int

displayUnit

val displayUnit: Int

displayWidth

val displayWidth: Int

dolbyVisionConfigBytes

val dolbyVisionConfigBytes: @MonotonicNonNull Array<Byte>!

flagDefault

val flagDefault: Boolean

flagForced

val flagForced: Boolean

hasContentEncryption

val hasContentEncryption: Boolean

height

val height: Int

isWebm

val isWebm: Boolean

maxBlockAdditionId

val maxBlockAdditionId: Int

maxContentLuminance

val maxContentLuminance: Int

maxFrameAverageLuminance

val maxFrameAverageLuminance: Int

maxMasteringLuminance

val maxMasteringLuminance: Float

minMasteringLuminance

val minMasteringLuminance: Float

nalUnitLengthFieldLength

val nalUnitLengthFieldLength: Int

number

val number: Int

primaryBChromaticityX

val primaryBChromaticityX: Float

primaryBChromaticityY

val primaryBChromaticityY: Float

primaryGChromaticityX

val primaryGChromaticityX: Float

primaryGChromaticityY

val primaryGChromaticityY: Float

primaryRChromaticityX

val primaryRChromaticityX: Float

primaryRChromaticityY

val primaryRChromaticityY: Float

projectionData

val projectionData: @MonotonicNonNull Array<Byte>!

projectionPosePitch

val projectionPosePitch: Float

projectionPoseRoll

val projectionPoseRoll: Float

projectionPoseYaw

val projectionPoseYaw: Float

projectionType

@C.Projection
val projectionType: Int

sampleRate

val sampleRate: Int

sampleStrippedBytes

val sampleStrippedBytes: @MonotonicNonNull Array<Byte>!

seekPreRollNs

val seekPreRollNs: Long

stereoMode

@C.StereoMode
val stereoMode: Int

type

@C.TrackType
val type: Int

uid

val uid: Long

waitingForDtsAnalysis

val waitingForDtsAnalysis: Boolean

whitePointChromaticityX

val whitePointChromaticityX: Float

whitePointChromaticityY

val whitePointChromaticityY: Float

width

val width: Int