Make gm refinement step go all the way down to 1
-0.242% gain on cam_lowres
Change-Id: Ib9ba2f7dfc7d10b8066bd3f70eeafa7faac8a607
diff --git a/av1/encoder/global_motion.c b/av1/encoder/global_motion.c
index da1e403..116b815 100644
--- a/av1/encoder/global_motion.c
+++ b/av1/encoder/global_motion.c
@@ -156,7 +156,7 @@
d_width - 2 * border, d_height - 2 * border,
d_stride, 0, 0, 16, 16, best_frame_error);
best_error = AOMMIN(best_error, best_frame_error);
- step = 1 << (n_refinements + 1);
+ step = 1 << (n_refinements - 1);
for (i = 0; i < n_refinements; i++, step >>= 1) {
for (p = 0; p < n_params; ++p) {
int step_dir = 0;