Fix mode selection bug when ARNR filtering disabled
authorAdrian Grange <agrange@google.com>
Thu, 1 May 2014 21:31:50 +0000 (14:31 -0700)
committerAdrian Grange <agrange@google.com>
Thu, 1 May 2014 21:38:58 +0000 (14:38 -0700)
commit0423a964698fa64f499c916d77dcbc5bcad61d69
tree3b7134bdde0127e5aad33d001cff6a55e99d559d
parent528a5c28b313fbcc7da6264f7151d26a610ddcfd
Fix mode selection bug when ARNR filtering disabled

When ARNR filtering is disabled, by setting
arnr_max_frames=0, mode_skip_mask was being set to
-1 for the ARF frame resulting in no mode being
selected for the block.

The intent is to restrict the reference frame to the
previous ARF frame and the mode to one of ZEROMV,
NEARMV or NEARESTMV.

Change-Id: Ifc3920b153142cd01d422910c94d2f20ffb6f129
vp9/encoder/vp9_rdopt.c