diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-29 14:54:39 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-02-02 13:09:51 +0100 |
commit | 94d42ce0143ed683b979a69b4ad4b76ec924347c (patch) | |
tree | fcc6ec9d8400c4b6535dec53356eb66495d3c4c3 /src/android/jpeg/encoder_libjpeg.cpp | |
parent | da4b325f41fc488df54a1cfc9ab4eaf0a5dda522 (diff) |
android: camera_device: Use reference to settings
In preparation to use the keys part of a capture request to
fill in the result metadata, create a reference to
descriptor_->settings_.
While at it, move the 'ret' variable declaration to the beginning of
the function and rename it in 'found', as it will be used in many
places and move the \todo comment up as it applies to all metadata
whose value is copied from settings.
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/jpeg/encoder_libjpeg.cpp')
0 files changed, 0 insertions, 0 deletions