#[non_exhaustive]pub enum Frame {
Spec(SpecFrame),
}Expand description
One decoded (shown) frame surfaced by decode_av1.
As of the r428 mirror-path retirement every stream decodes through
the spec-faithful driver, so Frame::Spec is the only variant
constructed. The enum stays #[non_exhaustive] (as it has been
since its introduction), so downstream match sites are unaffected.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Spec(SpecFrame)
A frame decoded through the spec-faithful driver
(decode_av1_spec): intra + inter GOPs,
show_existing_frame, 4:2:0 / 4:2:2 / 4:4:4 / monochrome
layouts, 8/10/12-bit output, multi-tile frames, film grain,
superres, loop restoration — see SpecFrame for the plane
layout contract (cropped extents, per-plane dims, 10/12-bit as
little-endian 2-byte samples).
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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