pub struct MkvMasteringMetadata {
pub primary_r_chromaticity_x: Option<f64>,
pub primary_r_chromaticity_y: Option<f64>,
pub primary_g_chromaticity_x: Option<f64>,
pub primary_g_chromaticity_y: Option<f64>,
pub primary_b_chromaticity_x: Option<f64>,
pub primary_b_chromaticity_y: Option<f64>,
pub white_point_chromaticity_x: Option<f64>,
pub white_point_chromaticity_y: Option<f64>,
pub luminance_max: Option<f64>,
pub luminance_min: Option<f64>,
}Expand description
SMPTE ST 2086 mastering display metadata, carried verbatim from the
MKV MasteringMetadata sub-element. Used by HDR10 mux and by future
SEI-passthrough paths to preserve the creator-intended display gamut
and min/max luminance.
Fields§
§primary_r_chromaticity_x: Option<f64>§primary_r_chromaticity_y: Option<f64>§primary_g_chromaticity_x: Option<f64>§primary_g_chromaticity_y: Option<f64>§primary_b_chromaticity_x: Option<f64>§primary_b_chromaticity_y: Option<f64>§white_point_chromaticity_x: Option<f64>§white_point_chromaticity_y: Option<f64>§luminance_max: Option<f64>§luminance_min: Option<f64>Trait Implementations§
Source§impl Clone for MkvMasteringMetadata
impl Clone for MkvMasteringMetadata
Source§fn clone(&self) -> MkvMasteringMetadata
fn clone(&self) -> MkvMasteringMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MkvMasteringMetadata
impl Debug for MkvMasteringMetadata
Source§impl Default for MkvMasteringMetadata
impl Default for MkvMasteringMetadata
Source§fn default() -> MkvMasteringMetadata
fn default() -> MkvMasteringMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for MkvMasteringMetadata
impl PartialEq for MkvMasteringMetadata
Source§fn eq(&self, other: &MkvMasteringMetadata) -> bool
fn eq(&self, other: &MkvMasteringMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MkvMasteringMetadata
Auto Trait Implementations§
impl Freeze for MkvMasteringMetadata
impl RefUnwindSafe for MkvMasteringMetadata
impl Send for MkvMasteringMetadata
impl Sync for MkvMasteringMetadata
impl Unpin for MkvMasteringMetadata
impl UnsafeUnpin for MkvMasteringMetadata
impl UnwindSafe for MkvMasteringMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more