From 718654848aa0fee41c37b50e4ff611302a7e4e06 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 9 Nov 2015 10:03:27 -0800 Subject: [PATCH] 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 --- vp9/encoder/vp9_pickmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 8c4782d..c495c42 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -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 || -- 2.7.4