pub struct MvField {
pub mb_w: usize,
pub mb_h: usize,
pub mv: Vec<(i32, i32)>,
pub ref_idx: Vec<i32>,
pub inter: Vec<bool>,
}Expand description
One frame’s motion field, in 4x4-block raster (mb_w*4 wide).
Captured from any conformant stream this decoder parses — including x264’s — so a harness can compare motion fields between encoders without depending on external MV-export tooling.
Fields§
§mb_w: usize§mb_h: usize§mv: Vec<(i32, i32)>§ref_idx: Vec<i32>§inter: Vec<bool>Auto Trait Implementations§
impl Freeze for MvField
impl RefUnwindSafe for MvField
impl Send for MvField
impl Sync for MvField
impl Unpin for MvField
impl UnsafeUnpin for MvField
impl UnwindSafe for MvField
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