pub struct EncodeReady<'a> { /* private fields */ }Expand description
Encoder-ready pixels and their matching CICP, ICC, and HDR metadata.
Implementations§
Source§impl<'a> EncodeReady<'a>
impl<'a> EncodeReady<'a>
Sourcepub const fn pixels(&self) -> &PixelCow<'a>
pub const fn pixels(&self) -> &PixelCow<'a>
Pixels ready for encoding. Identity plans can borrow them or reuse owned storage.
Sourcepub const fn hdr(&self) -> HdrMetadata
pub const fn hdr(&self) -> HdrMetadata
Container HDR metadata for these pixels. SDR output clears it.
Sourcepub fn into_parts(self) -> (PixelCow<'a>, ResolvedSignaling, HdrMetadata)
pub fn into_parts(self) -> (PixelCow<'a>, ResolvedSignaling, HdrMetadata)
Take the pixels and their matching signaling and HDR metadata without copying.
Trait Implementations§
Source§impl<'a> Clone for EncodeReady<'a>
impl<'a> Clone for EncodeReady<'a>
Source§fn clone(&self) -> EncodeReady<'a>
fn clone(&self) -> EncodeReady<'a>
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 moreAuto Trait Implementations§
impl<'a> !RefUnwindSafe for EncodeReady<'a>
impl<'a> !UnwindSafe for EncodeReady<'a>
impl<'a> Freeze for EncodeReady<'a>
impl<'a> Send for EncodeReady<'a>
impl<'a> Sync for EncodeReady<'a>
impl<'a> Unpin for EncodeReady<'a>
impl<'a> UnsafeUnpin for EncodeReady<'a>
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