summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_compat.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-01-29 14:54:39 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-02-02 13:09:51 +0100
commit94d42ce0143ed683b979a69b4ad4b76ec924347c (patch)
treefcc6ec9d8400c4b6535dec53356eb66495d3c4c3 /src/v4l2/v4l2_compat.cpp
parentda4b325f41fc488df54a1cfc9ab4eaf0a5dda522 (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/v4l2/v4l2_compat.cpp')
0 files changed, 0 insertions, 0 deletions