]> granicus.if.org Git - libvpx/commit
fixed an overflow in ssim calculation
authorJim Bankoski <jimbankoski@google.com>
Mon, 28 Mar 2011 23:39:05 +0000 (16:39 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 7 Apr 2011 21:25:25 +0000 (14:25 -0700)
commitd4cdb683a48fc25bd3d32f53964023828f13cdbf
treec1478eaf050bb4c3cfaf6a72de6a64aacdabc4c7
parent4be062bbc3466cfd542a7485f5a2a8eadac4f24e
fixed an overflow in ssim calculation

This commit fixed an overflow in ssim calculation, added register
save and restore to make sure assembly code working for x64 platform.
It also changed the sampling points to every 4x4 instead of 8x8 and
adjusted the constants in SSIM calculation to match the scale of
previous VPXSSIM.

Change-Id: Ia4dbb8c69eac55812f4662c88ab4653b6720537b
vp8/encoder/ssim.c
vp8/encoder/x86/ssim_opt.asm