pub struct AccelFrame<'a> {
pub h: &'a Header,
pub data: &'a [u8],
pub uncompressed_size: usize,
pub compressed_size: usize,
pub cur: &'a Arc<Frame>,
pub refs: &'a [Option<Arc<Frame>>; 8],
}Available on crate feature
decode only.Expand description
Everything a Vp9Accel is told about one frame.
Fields§
§h: &'a HeaderThe frame header.
data: &'a [u8]The whole frame: uncompressed header, compressed header, tiles.
uncompressed_size: usizeBytes of the uncompressed header.
compressed_size: usizeBytes of the compressed header.
cur: &'a Arc<Frame>The frame being decoded (sizes and format; no samples).
refs: &'a [Option<Arc<Frame>>; 8]The reference slots as the frame finds them.
Auto Trait Implementations§
impl<'a> Forget for AccelFrame<'a>
impl<'a> Freeze for AccelFrame<'a>
impl<'a> Move for AccelFrame<'a>
impl<'a> RefUnwindSafe for AccelFrame<'a>
impl<'a> Send for AccelFrame<'a>
impl<'a> Sync for AccelFrame<'a>
impl<'a> Unpin for AccelFrame<'a>
impl<'a> UnsafeUnpin for AccelFrame<'a>
impl<'a> UnwindSafe for AccelFrame<'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
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