commit | 5dbefe6ebc19275e6bd51f207c74c0de645bef8c | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Mon Dec 05 14:49:43 2016 +0000 |
committer | Chris Banes <chrisbanes@google.com> | Mon Dec 05 15:03:32 2016 +0000 |
tree | ea9f6d0f6d21da7b6d9c9a0a42d9d18bf1835d12 | |
parent | d816c7f18654239432204610efac8cd4b7e09290 [diff] |
Fix error in Palette resize function This ultimately led to the internal bitmap used for color extraction being very very small, which hurt quality. Since we are now using the correct size, performance has dropped by roughly 25%. 500 iterations (now vs previously) Pixel: 3620ms, 2712ms N5: 14996ms, 12435ms GN: 31540ms, 24109ms Test: all pass BUG: 31392794 Change-Id: I7cc81e9ab2f44895a5ee9f4736d92318f4dfdced