diff options
author | Jingning Han <jingning@google.com> | 2014-10-22 14:47:15 -0700 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2014-10-22 14:47:15 -0700 |
commit | 08cdd006e1b25a9d803bfd13c4fb1400f3e4ca93 (patch) | |
tree | 42927104a251e31704c36a67029e7e16c4c47071 /vp9/encoder | |
parent | d166be653e76d5ed4fc7a5c1e41abd22ebfd824f (diff) | |
download | libvpx-08cdd006e1b25a9d803bfd13c4fb1400f3e4ca93.tar libvpx-08cdd006e1b25a9d803bfd13c4fb1400f3e4ca93.tar.gz libvpx-08cdd006e1b25a9d803bfd13c4fb1400f3e4ca93.tar.bz2 libvpx-08cdd006e1b25a9d803bfd13c4fb1400f3e4ca93.zip |
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
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_pickmode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 9d20bae2b..56240ca95 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))) |