]> granicus.if.org Git - libvpx/commit
Fix overflow in calculating highbd SSIM
authorsdeng <sdeng@google.com>
Wed, 5 Dec 2018 00:35:34 +0000 (16:35 -0800)
committerSai Deng <sdeng@google.com>
Wed, 5 Dec 2018 00:55:41 +0000 (00:55 +0000)
commit6dc612758cac7d4f07e58c020ee2a1422b49a26d
tree2c59e8454d142e6063bc8c655ea51bb5d7cc326f
parent5fbc7a286b4d72883392fdbb10ec52bace662f66
Fix overflow in calculating highbd SSIM

Example internal stats
Before the fix:
Bitrate AVGPsnr GLBPsnr AVPsnrP GLPsnrP VPXSSIM VPSSIMP FASTSIM PSNRHVS WstPsnr WstSsim WstFast WstHVS AVPsnrY APsnrCb APsnrCr   Block WstBlck Consist WstCons     Time RcErr AbsErr
 153.39  37.131  36.420  37.151  36.437 716.077 817.445  10.422  34.347  32.980   0.916   9.281  30.208  36.024  41.830  40.581   0.000   0.000 100.000 100.000    55006    2.26    2.26
No mismatch detected in recon buffers

After the fix:
Bitrate AVGPsnr GLBPsnr AVPsnrP GLPsnrP VPXSSIM VPSSIMP FASTSIM PSNRHVS WstPsnr WstSsim WstFast WstHVS AVPsnrY APsnrCb APsnrCr   Block WstBlck Consist WstCons     Time RcErr AbsErr
 153.39  37.131  36.420  37.151  36.437  69.808  70.023  10.422  34.347  32.980   0.910   9.281  30.208  36.024  41.830  40.581   0.000   0.000 100.000 100.000    55067    2.26    2.26
No mismatch detected in recon buffers

Change-Id: I820abc498c1543548f193874046582b50afd0238
tools/tiny_ssim.c
vpx_dsp/ssim.c