commit | d0b44a52f815fb20cb470aca8ac17da498797c1e | [log] [tgz] |
---|---|---|
author | John Dias <joaodias@google.com> | Tue Jun 11 18:16:08 2019 -0700 |
committer | John Dias <joaodias@google.com> | Tue Jun 11 18:21:04 2019 -0700 |
tree | ccd04d76b1184ae12aecef60efad105c8f5ff0d5 | |
parent | bd670b8d26fa2cc8505e1d6073a17210e719b82d [diff] |
sf: optimize luma sampling code Removing some math from the luma-sampling code reduces its running time by about half (~.5ms -> ~.25ms at 1.1MHz on a little core in some experiments). Bug: 127973145 Bug: 134922154 Test: trace and compare sampleArea times when scrolling in news app Change-Id: Ie53d9595bea6685cf45f53972b42daa5e32fcc8e