pub struct Motion {
pub mv: Vec<MvField>,
pub w4: usize,
pub ctb_slice: Vec<u16>,
pub slices: Vec<SliceInfo>,
pub log2_ctb: usize,
pub ctb_w: usize,
}Available on crate feature
decode only.Expand description
The motion a picture leaves for later ones to use as collocated.
Fields§
§mv: Vec<MvField>Motion of each 4×4 block, row-major.
w4: usizeWidth of the picture in 4×4 blocks (the row stride of mv).
ctb_slice: Vec<u16>Index into slices of the slice each CTB belongs to.
slices: Vec<SliceInfo>What collocated prediction needs from each slice of the picture.
log2_ctb: usizelog2 of the CTB size.
ctb_w: usizeWidth of the picture in CTBs.
Auto Trait Implementations§
impl Forget for Motion
impl Freeze for Motion
impl Move for Motion
impl RefUnwindSafe for Motion
impl Send for Motion
impl Sync for Motion
impl Unpin for Motion
impl UnsafeUnpin for Motion
impl UnwindSafe for Motion
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