DolbyVisionConfig

data class DolbyVisionConfig(val versionMajor: Int, val versionMinor: Int, val profile: Int, val level: Int, val hasRpu: Boolean, val hasEnhancementLayer: Boolean, val hasBaseLayer: Boolean, val baseLayerCompatibility: Int)

The Dolby Vision configuration record a stream declares, as the container's dvcC, dvvC or dvwC box, or Matroska's block addition mapping, carries it.

A Dolby Vision stream is an ordinary HEVC or AV1 stream, the base layer, plus a reference processing unit (the RPU) on every frame that says how to turn the base layer into the picture that was graded. Whether the base layer is a picture of its own is the question a player asks first, and baseLayerPlaysAlone answers it.

Constructors

Link copied to clipboard
constructor(versionMajor: Int, versionMinor: Int, profile: Int, level: Int, hasRpu: Boolean, hasEnhancementLayer: Boolean, hasBaseLayer: Boolean, baseLayerCompatibility: Int)

Properties

Link copied to clipboard

What the base layer is when shown without the RPU, as the record's dv_bl_signal_compatibility_id: 0 nothing (profiles 5 and 10.0), 1 HDR10, 2 SDR in BT.709, 4 HLG and 6 HDR10 as an Ultra HD Blu-ray carries it.

Link copied to clipboard

True when the base layer is an HDR10, HLG or SDR picture of its own, which a player may show as it is. False for profile 5 and profile 10.0, whose base layer is coded in Dolby's IPT colour space and shows green and purple without Frame.composeDolbyVision, and for a stream that carries no base layer.

Link copied to clipboard

Whether the stream carries a base layer.

Link copied to clipboard

Whether the stream carries an enhancement layer, as profile 7 does. FFmpeg does not decode that layer.

Link copied to clipboard

Whether the frames carry an RPU.

Link copied to clipboard
val level: Int

The level, which bounds the picture size and the frame rate.

Link copied to clipboard

The profile, such as 5, 7, 8 or 10. A profile written as 8.1 reports 8 here and 1 in baseLayerCompatibility.

Link copied to clipboard

The major version of the Dolby Vision specification the stream follows.

Link copied to clipboard

The minor version of the Dolby Vision specification the stream follows.