vp9: Nonrd-pickmode: move some early exits up.
authorMarco <marpan@google.com>
Wed, 6 Dec 2017 18:11:54 +0000 (10:11 -0800)
committerMarco <marpan@google.com>
Wed, 6 Dec 2017 18:18:44 +0000 (10:18 -0800)
commit33953f310eb6a2019d25af2b9cb8382182740410
treeedce5f837fc80e5b28b7eacaade060ebce9cedcd
parent9f9d4f8dc9888d3b4d6c793d031f3ce5d407bd65
vp9: Nonrd-pickmode: move some early exits up.

Move the early exit checks on usable_ref_frame and
skip_ref_find_pref up before the check on flag_svc_subpel.
The code under flag_svc_subpel requires frame_mv to be set
for the golden/spatial reference, which is only set if the
both those exits don't pass.

No change in behavior.

Change-Id: Id304276c745eeb389ff85fa2dcf510d5976bc413
vp9/encoder/vp9_pickmode.c