DolbyVisionRpuHeader

data class DolbyVisionRpuHeader(val rpuType: Int, val rpuFormat: Int, val vdrRpuProfile: Int, val vdrRpuLevel: Int, val chromaResamplingExplicitFilter: Boolean, val coefficientDataType: Int, val coefficientLog2Denominator: Int, val vdrRpuNormalizedIdc: Int, val baseLayerFullRange: Boolean, val baseLayerBitDepth: Int, val enhancementLayerBitDepth: Int, val vdrBitDepth: Int, val spatialResamplingFilter: Boolean, val enhancementLayerSpatialResamplingFilter: Boolean, val disableResidual: Boolean)

The header of an RPU, FFmpeg's AVDOVIRpuDataHeader, each field under its name there. Its two ext_mapping_idc fields are left out, because nothing in FFmpeg but its RPU encoder reads them.

Constructors

Link copied to clipboard
constructor(rpuType: Int, rpuFormat: Int, vdrRpuProfile: Int, vdrRpuLevel: Int, chromaResamplingExplicitFilter: Boolean, coefficientDataType: Int, coefficientLog2Denominator: Int, vdrRpuNormalizedIdc: Int, baseLayerFullRange: Boolean, baseLayerBitDepth: Int, enhancementLayerBitDepth: Int, vdrBitDepth: Int, spatialResamplingFilter: Boolean, enhancementLayerSpatialResamplingFilter: Boolean, disableResidual: Boolean)

Properties

Link copied to clipboard

bl_bit_depth: the bit depth of the base layer, which is the scale of every pivot.

Link copied to clipboard

bl_video_full_range_flag: whether the base layer uses the full range of its codes.

Link copied to clipboard

chroma_resampling_explicit_filter_flag.

Link copied to clipboard

coef_data_type: 0 when the RPU codes its coefficients in fixed point, 1 in floating point.

Link copied to clipboard

coef_log2_denom: every coefficient of the RPU is a fixed-point number over 2 to this power.

Link copied to clipboard

disable_residual_flag: true when the composition adds nothing from an enhancement layer.

Link copied to clipboard

el_bit_depth: the bit depth of the enhancement layer.

Link copied to clipboard

el_spatial_resampling_filter_flag.

Link copied to clipboard

rpu_format, whose bits say how the rest of the RPU is laid out.

Link copied to clipboard

rpu_type, which is 2 for every RPU FFmpeg reads.

Link copied to clipboard

spatial_resampling_filter_flag.

Link copied to clipboard

vdr_bit_depth: the bit depth of the reshaped picture.

Link copied to clipboard

vdr_rpu_level.

Link copied to clipboard

vdr_rpu_normalized_idc.

Link copied to clipboard

vdr_rpu_profile.