pub struct Av1Frame {
pub pic: Arc<Picture>,
pub hdr: Arc<FrameHeader>,
pub seq: Arc<SeqHeader>,
}Available on crate feature
decode only.Expand description
A shown picture.
Fields§
§pic: Arc<Picture>The reconstructed picture, film grain applied.
hdr: Arc<FrameHeader>The frame header it was decoded with.
seq: Arc<SeqHeader>The sequence header in force.
Implementations§
Source§impl Av1Frame
impl Av1Frame
Sourcepub fn to_decoded(&self) -> DecodedFrame
pub fn to_decoded(&self) -> DecodedFrame
As a DecodedFrame: planes
tightly packed, the sequence header’s matrix_coefficients as the
colour matrix (0 with identity = RGB, planes G, B, R).
Auto Trait Implementations§
impl Forget for Av1Frame
impl Freeze for Av1Frame
impl Move for Av1Frame
impl RefUnwindSafe for Av1Frame
impl Send for Av1Frame
impl Sync for Av1Frame
impl Unpin for Av1Frame
impl UnsafeUnpin for Av1Frame
impl UnwindSafe for Av1Frame
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more