Remove the use of prev_frame_mvs for mfmv

The experiment of mfmv has already extensively leveraged the use of
the motion vectors from the reference frames, hence there is no need
to further add the motion vectors from the previous frame to serve
as the motion vector reference candidates, let alone such motion
vectors have not taken into account of the use of frame offsets.

Experimental results collected so far have shown this patch has zero
coding performance impact.

Change-Id: I57a2f8b60797bd5e8f0a95206689b6e443b28ed1
diff --git a/av1/common/mvref_common.c b/av1/common/mvref_common.c
index 8b55260..74fd116 100644
--- a/av1/common/mvref_common.c
+++ b/av1/common/mvref_common.c
@@ -619,7 +619,7 @@
 
   return coll_blk_count;
 }
-#endif
+#endif  // CONFIG_MFMV
 
 static void setup_ref_mv_list(const AV1_COMMON *cm, const MACROBLOCKD *xd,
                               MV_REFERENCE_FRAME ref_frame,
@@ -826,7 +826,7 @@
   } else {
     mode_context[ref_frame] |= (1 << ZEROMV_OFFSET);
   }
-#endif
+#endif  // CONFIG_MFMV
 
   // Scan the second outer area.
   scan_blk_mbmi(cm, xd, mi_row, mi_col, block, rf, -1, -1, ref_mv_stack,
@@ -960,7 +960,11 @@
   int different_ref_found = 0;
   int context_counter = 0;
 
-#if CONFIG_TMV || CONFIG_MFMV
+#if CONFIG_MFMV
+  (void)sync;
+  (void)data;
+#else
+#if CONFIG_TMV
   int tmi_row = mi_row & 0xfffe;
   int tmi_col = mi_col & 0xfffe;
   POSITION mi_pos = { 0, 0 };
@@ -989,8 +993,9 @@
       cm->use_prev_frame_mvs
           ? cm->prev_frame->mvs + mi_row * cm->mi_cols + mi_col
           : NULL;
-#endif
+#endif  // CONFIG_MV_COMPRESS
 #endif  // CONFIG_TMV
+#endif  // CONFIG_MFMV
 
 #if CONFIG_INTRABC
   assert(IMPLIES(ref_frame == INTRA_FRAME, cm->use_prev_frame_mvs == 0));
@@ -1097,6 +1102,7 @@
   }
 #endif
 
+#if !CONFIG_MFMV
   // Check the last frame's mode and mv info.
   if (cm->use_prev_frame_mvs) {
     // Synchronize here for frame parallel decode if sync function is provided.
@@ -1112,6 +1118,7 @@
                       xd, Done);
     }
   }
+#endif  // !CONFIG_MFMV
 
   // Since we couldn't find 2 mvs from the same reference frame
   // go back through the neighbors and find motion vectors from
@@ -1136,6 +1143,7 @@
     }
   }
 
+#if !CONFIG_MFMV
   // Since we still don't have a candidate we'll try the last frame.
   if (cm->use_prev_frame_mvs) {
     if (prev_frame_mvs->ref_frame[0] != ref_frame &&
@@ -1160,6 +1168,7 @@
       ADD_MV_REF_LIST(mv, refmv_count, mv_ref_list, bw, bh, xd, Done);
     }
   }
+#endif  // !CONFIG_MFMV
 
 Done:
   if (mode_context)