pub struct OutputCaps {
pub max_bit_depth: u8,
pub hdr: bool,
}Expand description
What output formats an encoder path can produce. AV1 here is 4:2:0 only;
10-bit output is the web-safe AV1 Main profile (4:2:0 10-bit), HDR-tagged at
the container level (colr/mdcv/clli), not the wide-gamut professional
profiles.
Fields§
§max_bit_depth: u8Highest luma bit depth the path can encode (8 or 10).
hdr: boolCan produce HDR (PQ/HLG + BT.2020) output — i.e. 10-bit AV1 + the muxer’s HDR color atoms.
Trait Implementations§
Source§impl Clone for OutputCaps
impl Clone for OutputCaps
Source§fn clone(&self) -> OutputCaps
fn clone(&self) -> OutputCaps
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 OutputCaps
Source§impl Debug for OutputCaps
impl Debug for OutputCaps
impl Eq for OutputCaps
Source§impl PartialEq for OutputCaps
impl PartialEq for OutputCaps
Source§fn eq(&self, other: &OutputCaps) -> bool
fn eq(&self, other: &OutputCaps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputCaps
Auto Trait Implementations§
impl Freeze for OutputCaps
impl RefUnwindSafe for OutputCaps
impl Send for OutputCaps
impl Sync for OutputCaps
impl Unpin for OutputCaps
impl UnsafeUnpin for OutputCaps
impl UnwindSafe for OutputCaps
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