Fix use of scaling in joint motion search
authorAdrian Grange <agrange@google.com>
Tue, 24 Mar 2015 15:55:35 +0000 (08:55 -0700)
committerAdrian Grange <agrange@google.com>
Wed, 25 Mar 2015 22:35:29 +0000 (15:35 -0700)
commit8d8d7bfde5d311bb7d4ff4e921a9dbaa8f389af5
treec5ca37d94ab555b9e30aa0830eadbbfddcab8585
parentba13ff8501c53c0575e7e814c2c4320987d2d24c
Fix use of scaling in joint motion search

To enable us to the scale-invariant motion estimation
code during mode selection, each of the reference
buffers is scaled to match the size of the frame
being encoded.

This fix ensures that a unit scaling factor is used in
this case rather than the one calculated assuming that
the reference frame is not scaled.

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