pub struct MetadataColorInfoHdrMdcv {
pub red_x: Option<f64>,
pub red_y: Option<f64>,
pub green_x: Option<f64>,
pub green_y: Option<f64>,
pub blue_x: Option<f64>,
pub blue_y: Option<f64>,
pub white_point_x: Option<f64>,
pub white_point_y: Option<f64>,
pub max_luminance: Option<f64>,
pub min_luminance: Option<f64>,
}
Expand description
HDR mastering display color volume metadata.
The hdrMdcv object defines mastering display (i.e., where creative work is done during the mastering process) color volume (a.k.a., mdcv) metadata which describes primaries, white point and min/max luminance. The hdrMdcv object SHOULD be provided.
Specification of the metadata along with its ranges adhere to the ST 2086:2018 - SMPTE Standard (except for minLuminance see comments below)
Mastering display color volume (mdcv) xy Chromaticity Coordinates within CIE 1931 color space.
Values SHALL be specified with four decimal places. The x coordinate SHALL be in the range [0.0001, 0.7400]. The y coordinate SHALL be in the range [0.0001, 0.8400].
Fields§
§red_x: Option<f64>
Red x coordinate.
red_y: Option<f64>
Red y coordinate.
green_x: Option<f64>
Green x coordinate.
green_y: Option<f64>
Green y coordinate.
blue_x: Option<f64>
Blue x coordinate.
blue_y: Option<f64>
Blue y coordinate.
white_point_x: Option<f64>
White point x coordinate.
white_point_y: Option<f64>
White point y coordinate.
max_luminance: Option<f64>
Max display luminance of the mastering display (in 1 cd/m2 ie. nits).
note: ST 2086:2018 - SMPTE Standard specifies minimum display mastering luminance in multiples of 0.0001 cd/m2.
For consistency we specify all values in 1 cd/m2. Given that a hypothetical perfect screen has a peak brightness of 10,000 nits and a black level of .0005 nits we do not need to switch units to 0.0001 cd/m2 to increase resolution on the lower end of the minLuminance property. The ranges (in nits) mentioned below suffice the theoretical limit for Mastering Reference Displays and adhere to the SMPTE ST 2084 standard (a.k.a., PQ) which is capable of representing full gamut of luminance level.
min_luminance: Option<f64>
Min display luminance of the mastering display (in 1 cd/m2 ie. nits).
See max_luminance
for details.
Trait Implementations§
Source§impl Clone for MetadataColorInfoHdrMdcv
impl Clone for MetadataColorInfoHdrMdcv
Source§fn clone(&self) -> MetadataColorInfoHdrMdcv
fn clone(&self) -> MetadataColorInfoHdrMdcv
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more