diff options
author | Alec Mouri <alecmouri@google.com> | 2022-01-24 08:58:28 -0800 |
---|---|---|
committer | Alec Mouri <alecmouri@google.com> | 2022-01-24 10:58:41 -0800 |
commit | 3e037cf683ce58d1a1b3af73e2791359ff0d46dc (patch) | |
tree | 694876c8d26d0e43cf18fcfb80ca83a48e098302 /camera/common/1.0/default/CameraModule.cpp | |
parent | 704402e4774b2362c5808acf95c1e334d187dea6 (diff) |
Remove stride from VTS classes
Stride must be retrieved from the graphic buffer immediately prior to
CPU access. The previous code was tripped up by an error-prone situation
where stride was never initialized, causing UB.
Also this patch sneaks in a couple of const modifiers for methods that
pass-by-ref.
Bug: 213493262
Test: VtsHalGraphicsComposer3_TargetTest
Change-Id: Ic601cca128b71d36876ed25bd55140b02cb0ad0f
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions