commit | c875ba736f4a569198c6b5aabea8a8bea2b04b75 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu Mar 19 12:06:46 2020 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu Mar 19 13:14:33 2020 -0700 |
tree | 63e70c4dc28ed1c282badb4365c7637b5970124a | |
parent | 10e5f365502d7c5bbdd3857b0105338736c1a218 [diff] |
Minor optimization to skip bitmap copy during luma sampling - Attach the hw buffer to an image reader surface and sample the bytes directly Bug: 149318305 Test: Rotate the device and measure the time to get the luma Change-Id: I50512d6741109ee07a309f840c2936afd19af96e