shithub: libvpx

Download patch

ref: 718654848aa0fee41c37b50e4ff611302a7e4e06
parent: 420e8d6d039c2224e00c13aba7f8908b68868359
author: Marco <[email protected]>
date: Mon Nov 9 05:03:27 EST 2015

Use same bias (against non-zero mv for big blocks) for speed 5.

Use same setting for speed 5 (as it is for speed > 5).
Change is only for real-time (non-rd) mode.

Change-Id: I830250eac654328373cb318baa89d4f0e63942e1

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1485,7 +1485,7 @@
 
     // 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 ||