Fix incorrect comparison of frame size
authorJohn Koleszar <jkoleszar@google.com>
Thu, 28 Feb 2013 18:52:04 +0000 (10:52 -0800)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 28 Feb 2013 19:33:02 +0000 (11:33 -0800)
commitb6a3062d8181c48b8056458f12950bb6fd08628f
tree79a7511d29d9efa7098bef7d8102dc034691acef
parent714aa9f3c072624186df161589bacbb778369312
Fix incorrect comparison of frame size

The width and height stored in the reference frames are padded out to
a multiple of 16. The Width and Height variables in common are the
displayed size, which may be smaller. The incorrect comparison was
causing scaling related code to be called when it shouldn't have
been. A notable case where this happens is 1080p, since 1088 != 1080.

Change-Id: I55f743eeeeaefbf2e777e193bc9a77ff726e16b5
vp9/encoder/vp9_onyx_if.c