DolbyVisionMapping

data class DolbyVisionMapping(val vdrRpuId: Int, val mappingColorSpace: Int, val mappingChromaFormat: Int, val curves: List<DolbyVisionCurve>, val nonlinearQuantization: DolbyVisionNonlinearQuantization?, val xPartitions: Int, val yPartitions: Int)

How an RPU maps each component of the base layer, FFmpeg's AVDOVIDataMapping.

The three curves are the components in the base layer's order, luma first.

Constructors

Link copied to clipboard
constructor(vdrRpuId: Int, mappingColorSpace: Int, mappingChromaFormat: Int, curves: List<DolbyVisionCurve>, nonlinearQuantization: DolbyVisionNonlinearQuantization?, xPartitions: Int, yPartitions: Int)

Properties

Link copied to clipboard

The reshaping of each of the three components.

Link copied to clipboard

mapping_chroma_format_idc.

Link copied to clipboard

mapping_color_space.

Link copied to clipboard

How the residual of an enhancement layer is restored before it is added, or null when the RPU carries none, which it never does when DolbyVisionRpuHeader.disableResidual is set. FFmpeg does not decode that layer, so this matters only to a caller that decodes it on its own.

Link copied to clipboard

vdr_rpu_id.

Link copied to clipboard

num_x_partitions.

Link copied to clipboard

num_y_partitions.