pub fn estimate_motion<T: Pixel>(
fi: &FrameInvariants<T>,
ts: &TileStateMut<'_, T>,
w: usize,
h: usize,
tile_bo: TileBlockOffset,
ref_frame: RefType,
pmv: Option<[MotionVector; 2]>,
corner: MVSamplingMode,
extensive_search: bool,
ssdec: u8,
lambda: Option<u32>,
) -> Option<MotionSearchResult>