Fix recon mismatches in GLOBAL_MOTION+MOTION_VAR

The offset of neighbors is communicated to av1_make_inter_predictors
so as to use the correct mi in gm warping

Change-Id: I471bbdf2112ed678969492b11730f15d9527eb7e
diff --git a/av1/common/reconinter.c b/av1/common/reconinter.c
index 3263f9e..7e3f9f3 100644
--- a/av1/common/reconinter.c
+++ b/av1/common/reconinter.c
@@ -679,6 +679,9 @@
                            subpel_y, sf, w, h, &conv_params, tmp_ipf,
 #if CONFIG_GLOBAL_MOTION
                            is_global, p_col, p_row, plane, ref,
+#if CONFIG_MOTION_VAR
+                           0, 0,
+#endif
 #endif  // CONFIG_GLOBAL_MOTION
                            xs, ys, xd);
 #if CONFIG_COMPOUND_SEGMENT
@@ -719,6 +722,9 @@
                            subpel_y, sf, w, h, &conv_params, tmp_ipf,
 #if CONFIG_GLOBAL_MOTION
                            is_global, p_col, p_row, plane, ref,
+#if CONFIG_MOTION_VAR
+                           0, 0,
+#endif
 #endif  // CONFIG_GLOBAL_MOTION
                            xs, ys, xd);
 #if CONFIG_COMPOUND_SEGMENT
@@ -775,6 +781,9 @@
                            sf, w, h, &conv_params, interp_filter,
 #if CONFIG_GLOBAL_MOTION
                            is_global, p_col, p_row, plane, ref,
+#if CONFIG_MOTION_VAR
+                           0, 0,
+#endif
 #endif  // CONFIG_GLOBAL_MOTION
                            sf->x_step_q4, sf->y_step_q4, xd);
 }
@@ -808,6 +817,9 @@
                            sf, w, h, conv_params, interp_filter,
 #if CONFIG_GLOBAL_MOTION
                            is_global, p_col, p_row, plane, ref,
+#if CONFIG_MOTION_VAR
+                           0, 0,
+#endif
 #endif  // CONFIG_GLOBAL_MOTION
                            sf->x_step_q4, sf->y_step_q4, xd);
 }
@@ -939,6 +951,9 @@
 #if CONFIG_GLOBAL_MOTION
                 is_global[ref], (mi_x >> pd->subsampling_x) + x,
                 (mi_y >> pd->subsampling_y) + y, plane, ref,
+#if CONFIG_MOTION_VAR
+                mi_col_offset, mi_row_offset,
+#endif
 #endif  // CONFIG_GLOBAL_MOTION
                 xs, ys, xd);
         }
@@ -1042,6 +1057,9 @@
 #if CONFIG_GLOBAL_MOTION
             is_global[ref], (mi_x >> pd->subsampling_x) + x,
             (mi_y >> pd->subsampling_y) + y, plane, ref,
+#if CONFIG_MOTION_VAR
+            mi_col_offset, mi_row_offset,
+#endif
 #endif  // CONFIG_GLOBAL_MOTION
             subpel_params[ref].xs, subpel_params[ref].ys, xd);
     }
@@ -2867,6 +2885,9 @@
 #if CONFIG_GLOBAL_MOTION
                            is_global, (mi_x >> pd->subsampling_x) + x,
                            (mi_y >> pd->subsampling_y) + y, plane, ref,
+#if CONFIG_MOTION_VAR
+                           0, 0,
+#endif
 #endif  // CONFIG_GLOBAL_MOTION
                            xs, ys, xd);
 }