zoomvtools 1.1.0

Video motion vector analysis utilities in pure Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::mv::MotionVector;

#[derive(Debug, Clone, Copy)]
pub struct FakeBlockData {
    pub x: i32,
    pub y: i32,
    pub vector: MotionVector,
}

impl FakeBlockData {
    pub(crate) const fn update(&mut self, src: MotionVector) {
        self.vector = src;
    }
}