diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2023-06-07 11:00:54 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-06-07 20:39:32 +0100 |
commit | 0ee9339331c648232e87d2de2ccd5a92cc61cab2 (patch) | |
tree | 82eced77c0a982fb57c9b155dbad082e273e2d7a /test/ipa/ipa_module_test.cpp | |
parent | 5242b78c0bfa2ea2849fb428ca8ece2ffb83f9fe (diff) |
ipa: rpi: agc: Gracefully handle missing agc modes
If a metering/exposure/constraint mode is not listed in the sensor
tuning file, and a control for the missing mode is set on the agc, we
terminate the application with a fatal log message.
Instead of this fatal termination, log a warning message and switch to
the appropriate default mode so that the application continues running.
Bug: https://github.com/raspberrypi/libcamera/issues/59
Bug: https://github.com/ayufan/camera-streamer/issues/67
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/ipa/ipa_module_test.cpp')
0 files changed, 0 insertions, 0 deletions