summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_psnr.c
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2013-02-28 10:52:04 -0800
committerJohn Koleszar <jkoleszar@google.com>2013-02-28 11:33:02 -0800
commitb6a3062d8181c48b8056458f12950bb6fd08628f (patch)
tree79a7511d29d9efa7098bef7d8102dc034691acef /vp9/encoder/vp9_psnr.c
parent714aa9f3c072624186df161589bacbb778369312 (diff)
downloadlibvpx-b6a3062d8181c48b8056458f12950bb6fd08628f.tar
libvpx-b6a3062d8181c48b8056458f12950bb6fd08628f.tar.gz
libvpx-b6a3062d8181c48b8056458f12950bb6fd08628f.tar.bz2
libvpx-b6a3062d8181c48b8056458f12950bb6fd08628f.zip
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
Diffstat (limited to 'vp9/encoder/vp9_psnr.c')
0 files changed, 0 insertions, 0 deletions