vp8: fix a bug in the internal PSNR calculation
authorYunqing Wang <yunqingwang@google.com>
Thu, 19 Mar 2015 19:28:24 +0000 (12:28 -0700)
committerYunqing Wang <yunqingwang@google.com>
Thu, 19 Mar 2015 19:56:25 +0000 (12:56 -0700)
commitd6a2e29028850459d3960edc6d2d187c571c66ca
treeb4e1a5b67fb197e89d71776294ff23e1641d38b8
parent067fc49996c4fb1f7f0a6dddaf4e74a8561350e0
vp8: fix a bug in the internal PSNR calculation

While CONFIG_INTERNAL_STATS=1, PSNR is calculated while encoding.
The aligned width/height were used mistakenly in the calculation.
This patch fixed it, and used the orignal image width/height.

Change-Id: Iad5334f8693af761b71ebb78f2587db8a3404ecf
vp8/encoder/onyx_if.c