pub struct ContentLightLevel {
pub max_content_light_level: u16,
pub max_frame_average_light_level: u16,
}Expand description
HDR content light level metadata (CEA-861.3 / CTA-861-H).
Describes the peak brightness characteristics of HDR content. Used by AVIF, JXL, PNG (cLLi chunk), and video containers.
Fields§
§max_content_light_level: u16Maximum Content Light Level (MaxCLL) in cd/m² (nits). Peak luminance of any single pixel in the content.
max_frame_average_light_level: u16Maximum Frame-Average Light Level (MaxFALL) in cd/m². Peak average luminance of any single frame.
Implementations§
Source§impl ContentLightLevel
impl ContentLightLevel
Sourcepub const fn new(
max_content_light_level: u16,
max_frame_average_light_level: u16,
) -> ContentLightLevel
pub const fn new( max_content_light_level: u16, max_frame_average_light_level: u16, ) -> ContentLightLevel
Create content light level metadata.
Trait 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 · 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 ContentLightLevel
impl Debug for ContentLightLevel
Source§impl Default for ContentLightLevel
impl Default for ContentLightLevel
Source§fn default() -> ContentLightLevel
fn default() -> ContentLightLevel
Returns the “default value” for a type. Read more
Source§impl Hash for ContentLightLevel
impl Hash for ContentLightLevel
Source§impl PartialEq for ContentLightLevel
impl PartialEq for ContentLightLevel
impl Copy for ContentLightLevel
impl Eq for ContentLightLevel
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