From: Jingning Han Date: Wed, 22 Oct 2014 21:47:15 +0000 (-0700) Subject: Allow checking zeromv mode in vp9_pick_inter_mode X-Git-Tag: v1.4.0~571^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08cdd006e1b25a9d803bfd13c4fb1400f3e4ca93;p=platform%2Fupstream%2Flibvpx.git Allow checking zeromv mode in vp9_pick_inter_mode This improves the compression performance of speed -5 by 0.6%. The speed impact is less than 1%. Change-Id: Ie77daa561976dfc8b479061e1221bdf428eb0c3b --- diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 9d20bae..56240ca 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -599,8 +599,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, int rate_mv = 0; int mode_rd_thresh; - if (const_motion[ref_frame] && - (this_mode == NEARMV || this_mode == ZEROMV)) + if (const_motion[ref_frame] && this_mode == NEARMV) continue; if (!(cpi->sf.inter_mode_mask[bsize] & (1 << this_mode)))