diff options
author | Adrian Grange <agrange@google.com> | 2014-05-05 09:39:24 -0700 |
---|---|---|
committer | Adrian Grange <agrange@google.com> | 2014-05-05 11:00:43 -0700 |
commit | 928b34e89561e8d752027693ef9b26882f607523 (patch) | |
tree | a8f05a78055fbb6fa78ad2ac3b2cacaa5f467e0b /rate_hist.c | |
parent | 1b7291d52c8f8c5b8dca0faef6c61c5e0c84bec7 (diff) | |
download | libvpx-928b34e89561e8d752027693ef9b26882f607523.tar libvpx-928b34e89561e8d752027693ef9b26882f607523.tar.gz libvpx-928b34e89561e8d752027693ef9b26882f607523.tar.bz2 libvpx-928b34e89561e8d752027693ef9b26882f607523.zip |
Fix rounding in ARNR calculation
The rounding of the ARNR filter output prior to
normalization by the filter strength was incorrect
when strength = 0.
In this case 1 << (strength - 1) would not create the
required rounding of 0, rather it would outrange. This
patch fixes this issue.
Change-Id: I771809ba34d6052b17d34c870ea11ff67b418dab
Diffstat (limited to 'rate_hist.c')
0 files changed, 0 insertions, 0 deletions