]> granicus.if.org Git - libvpx/commit
Set scale factors consistently for SPLITMV
authorJohn Koleszar <jkoleszar@google.com>
Wed, 20 Feb 2013 21:46:55 +0000 (13:46 -0800)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 27 Feb 2013 16:22:39 +0000 (08:22 -0800)
commit472eeaf08203fddae5f6843ff2e16f43f0144ca8
tree160ab037d15740d9bda8682d7ba72579c7c1ca88
parent77f88e97faea434a79881f96f758ca862feaeadb
Set scale factors consistently for SPLITMV

This commit updates the 4x4 prediction to consistently use the
build_2x1_inter_predictor() method. That function is updated to
calculate the scale offset, rather than relying on the caller
to calculate it. In the case that the 2x1 prediction can not
be used, the scale offset is recalculated for each 1x1 block.
The idea here is that the offsets are calculated before each
call to vp9_build_scaled_inter_predictor().

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