summaryrefslogtreecommitdiff
path: root/camera/common/1.0/default/CameraModule.cpp
diff options
context:
space:
mode:
authorAlec Mouri <alecmouri@google.com>2022-01-24 08:58:28 -0800
committerAlec Mouri <alecmouri@google.com>2022-01-24 10:58:41 -0800
commit3e037cf683ce58d1a1b3af73e2791359ff0d46dc (patch)
tree694876c8d26d0e43cf18fcfb80ca83a48e098302 /camera/common/1.0/default/CameraModule.cpp
parent704402e4774b2362c5808acf95c1e334d187dea6 (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