pub struct ContentColourVolume {
pub primaries: Option<[(i32, i32); 3]>,
pub min_luminance: Option<u32>,
pub max_luminance: Option<u32>,
pub avg_luminance: Option<u32>,
}Expand description
Content colour volume from the cclv property box.
Describes the colour volume of the content. Derived from H.265 D.2.40 / ITU-T H.274. All fields are optional, controlled by presence flags. See ISOBMFF § 12.1.5.
Fields§
§primaries: Option<[(i32, i32); 3]>Content colour primaries (x, y) for 3 primaries, as signed i32.
Present only if ccv_primaries_present_flag was set.
min_luminance: Option<u32>Minimum luminance value. Present only if flag was set.
max_luminance: Option<u32>Maximum luminance value. Present only if flag was set.
avg_luminance: Option<u32>Average luminance value. Present only if flag was set.
Trait Implementations§
Source§impl Clone for ContentColourVolume
impl Clone for ContentColourVolume
Source§fn clone(&self) -> ContentColourVolume
fn clone(&self) -> ContentColourVolume
Returns a duplicate of the value. Read more
1.0.0 · 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 ContentColourVolume
impl Debug for ContentColourVolume
Source§impl PartialEq for ContentColourVolume
impl PartialEq for ContentColourVolume
impl Copy for ContentColourVolume
impl Eq for ContentColourVolume
impl StructuralPartialEq for ContentColourVolume
Auto Trait Implementations§
impl Freeze for ContentColourVolume
impl RefUnwindSafe for ContentColourVolume
impl Send for ContentColourVolume
impl Sync for ContentColourVolume
impl Unpin for ContentColourVolume
impl UnwindSafe for ContentColourVolume
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