Fix non-4:2:0 chroma MV calculation for SPLITMV
authorJohn Koleszar <jkoleszar@google.com>
Wed, 8 May 2013 23:14:14 +0000 (16:14 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Fri, 10 May 2013 03:14:39 +0000 (20:14 -0700)
commita37ee9d2e8b9b7cf33455af60bcd9312dc898126
tree246646e203b0ec450ada4e0681e1c6f8e04397f7
parent6dab4d205e5c3cb51fc104109359a41f9c1b9111
Fix non-4:2:0 chroma MV calculation for SPLITMV

The previous code was somewhat vestigial for 16x16 MI units, but was
incorrect when called with chroma blocks larger than 4x4 because the
block index caused a reference to a non-existent BMI. This patch uses
the same MV for all chroma subblocks in SPLITMV mode, which is
suboptimal for non-4:2:0 subsamplings, but as SPLITMV may be removed
in the near future, will use this as a stop gap.

Change-Id: I3211cee5ccf1cfb426e5eef5353b0ce5bb92b4cd
vp9/common/vp9_reconinter.c