diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2020-06-26 11:25:31 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-06 17:14:34 +0300 |
commit | e0c583871da9cc6d243bff26ef5ba224007fc5ed (patch) | |
tree | bdb81beae525b1794346dca2ef49ed6c23f12ef7 /src/v4l2/v4l2_compat.cpp | |
parent | 64652e26d7dbae24ab90a1a4bed19b733985fcf7 (diff) |
libcamera: ipa: raspberrypi: Populate focus FoM from the ISP statistics
Switch FocusStatus::num to unsigned int for convenience.
Fill in libcamera::controls::FocusFoM with the average of the middle two
regions (across a 4x3 grid) FoM statistics from the ISP.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat.cpp')
0 files changed, 0 insertions, 0 deletions