Assign offsets correctly to compute warped motion
Offsets for the least-squares for affine motion computation
are now set at the top left corner of the current block.
Improves stability and performance a little.
Change-Id: I68ca7e74c6102502daa8ca3373af2b2dd59400c3
diff --git a/av1/decoder/decodemv.c b/av1/decoder/decodemv.c
index dff0d5c..0b97099 100644
--- a/av1/decoder/decodemv.c
+++ b/av1/decoder/decodemv.c
@@ -1979,7 +1979,7 @@
if (mbmi->motion_mode == WARPED_CAUSAL) {
mbmi->wm_params[0].wmtype = DEFAULT_WMTYPE;
find_projection(mbmi->num_proj_ref[0], pts, pts_inref,
- &mbmi->wm_params[0]);
+ &mbmi->wm_params[0], mi_row, mi_col);
}
#endif // CONFIG_WARPED_MOTION
#if CONFIG_SUPERTX