pub struct ContentLightLevel {
pub max_cll: u16,
pub max_fall: u16,
}Expand description
HDR10 Content Light Level Information per CTA-861.3 / HEVC SEI 144
(content_light_level_info) / AV1 Metadata OBU
METADATA_TYPE_HDR_CLL. Wire-encoded into the MP4 clli box as
2 × u16 BE, total 4 bytes payload.
Units (per the spec):
max_cll— Maximum Content Light Level, peak luminance of the brightest pixel anywhere in the stream, in cd/m² (integer nits).max_fall— Maximum Frame-Average Light Level, peak per-frame average luminance, in cd/m² (integer nits).
Field-name contract with Squad-21: load-bearing names; do not rename without coordinating.
Fields§
§max_cll: u16§max_fall: u16Trait Implementations§
Source§impl Clone for ContentLightLevel
impl Clone for ContentLightLevel
Source§fn clone(&self) -> ContentLightLevel
fn clone(&self) -> ContentLightLevel
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 moreimpl Copy for ContentLightLevel
Source§impl Debug for ContentLightLevel
impl Debug for ContentLightLevel
impl Eq for ContentLightLevel
Source§impl PartialEq for ContentLightLevel
impl PartialEq for ContentLightLevel
Source§fn eq(&self, other: &ContentLightLevel) -> bool
fn eq(&self, other: &ContentLightLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContentLightLevel
Auto Trait Implementations§
impl Freeze for ContentLightLevel
impl RefUnwindSafe for ContentLightLevel
impl Send for ContentLightLevel
impl Sync for ContentLightLevel
impl Unpin for ContentLightLevel
impl UnsafeUnpin for ContentLightLevel
impl UnwindSafe for ContentLightLevel
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