Do not skip motion search even if zero mv error is small

Remove the condition that depends on a hard-coded threshold
to skip motion search in the first pass.

The removal should benefit videos with low texture and
those of high temporal correlations. The gain
on ugc480p and screen content set supports the hypothesis.

Results: vbr mode, 150 frames
spd1
neutral on lowres and screen content (0.06%).
-0.16% gain on ugc360p
-0.13% gain on ugc480p

spd2
neutral on lowres and ugc360p.
-0.2% gain on ugc480p
-0.5% gain on screen content set

STATS_CHANGED

Change-Id: I664ce6ab0f8cb22943b336686d1b706f3ce93cf7
diff --git a/av1/encoder/firstpass.c b/av1/encoder/firstpass.c
index e483b57..b3ff1ab 100644
--- a/av1/encoder/firstpass.c
+++ b/av1/encoder/firstpass.c
@@ -635,7 +635,7 @@
   raw_motion_err_list[raw_motion_err_counts] = raw_motion_error;
 
   // TODO(pengchong): Replace the hard-coded threshold
-  if (raw_motion_error > LOW_MOTION_ERROR_THRESH) {
+  if (raw_motion_error > LOW_MOTION_ERROR_THRESH && cpi->oxcf.speed > 2) {
     // Test last reference frame using the previous best mv as the
     // starting point (best reference) for the search.
     first_pass_motion_search(cpi, x, best_ref_mv, &mv, &motion_error);