diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-16 00:34:16 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-17 15:03:45 +0300 |
commit | 8fd673deaf9beb2e9be9c81342f728c2b7b0513a (patch) | |
tree | a3da8cf7127098a4e2adb18dc83d5243c56059fc /src/ipa/libipa/agc_mean_luminance.cpp | |
parent | 01a33fedf6cdbb99c2b0316462a5578bb1b4b434 (diff) |
ipa: rkisp1: agc: Fix initialization without metering modes
When no metering modes are specified in the tuning file, the AGC
initialzation fails with
[0:00:46.148508875] [209] ERROR RkISP1Agc agc.cpp:46 'AeMeteringMode' parameter not found in tuning file
which results in a camera initialization failure. Fix it by downgrading
the error into a warning, and continuing the AGC initialization with the
default metering mode.
Fixes: 35233938ee5d ("ipa: rkisp1: agc: Read histogram weights from tuning file")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/agc_mean_luminance.cpp')
0 files changed, 0 insertions, 0 deletions