diff options
author | Oleg Matcovschi <omatcovschi@google.com> | 2023-05-23 11:21:10 -0700 |
---|---|---|
committer | Oleg Matcovschi <omatcovschi@google.com> | 2023-05-26 05:55:00 +0000 |
commit | 8c9370f42fc9414b9e1307140e3a0cce16d03c5c (patch) | |
tree | ac705dbf8ae81c2fda326f3dd93886dc6e057b9b /libhwc2.1/pixel-display.cpp | |
parent | 2a4e22ebcc9afeabdd953b5eb3f9b12e33433838 (diff) |
libhwc2.1: histogram: pass parameters as references
Bug: 277948998
Bug: 261376040
Change-Id: I7021e0445e4b938b98eaa7dab54d5622ada2957b
Merged-In: I7021e0445e4b938b98eaa7dab54d5622ada2957b
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Diffstat (limited to 'libhwc2.1/pixel-display.cpp')
-rw-r--r-- | libhwc2.1/pixel-display.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhwc2.1/pixel-display.cpp b/libhwc2.1/pixel-display.cpp index cfb57a0..fec7309 100644 --- a/libhwc2.1/pixel-display.cpp +++ b/libhwc2.1/pixel-display.cpp @@ -199,7 +199,7 @@ ndk::ScopedAStatus Display::setRefreshRateThrottle(int delayMs, int *_aidl_retur return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION); } -bool Display::runMediator(const RoiRect roi, const Weight weight, const HistogramPos pos, +bool Display::runMediator(const RoiRect &roi, const Weight &weight, const HistogramPos &pos, std::vector<char16_t> *histogrambuffer) { if (mMediator.setRoiWeightThreshold(roi, weight, pos) != HistogramErrorCode::NONE) { ALOGE("histogram error, SET_ROI_WEIGHT_THRESHOLD ERROR\n"); |