Use same bias (against non-zero mv for big blocks) for speed 5.
authorMarco <marpan@google.com>
Mon, 9 Nov 2015 18:03:27 +0000 (10:03 -0800)
committerMarco <marpan@google.com>
Mon, 9 Nov 2015 18:09:51 +0000 (10:09 -0800)
Use same setting for speed 5 (as it is for speed > 5).
Change is only for real-time (non-rd) mode.

Change-Id: I830250eac654328373cb318baa89d4f0e63942e1

vp9/encoder/vp9_pickmode.c

index 8c4782d..c495c42 100644 (file)
@@ -1485,7 +1485,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
 
     // Bias against non-zero (above some threshold) motion for large blocks.
     // This is temporary fix to avoid selection of large mv for big blocks.
-    if (cpi->oxcf.speed > 5 &&
+    if (cpi->oxcf.speed >= 5 &&
         cpi->oxcf.content != VP9E_CONTENT_SCREEN &&
         (frame_mv[this_mode][ref_frame].as_mv.row > 64 ||
         frame_mv[this_mode][ref_frame].as_mv.row < -64 ||