libcamera: ipa: raspberrypi: Demote warnings about lack of AWB results

Warnings about the lack of AWB status results are demoted to being
just "Debug". With monochrome sensors becoming more common this would
otherwise overwhelm the console output, and in practice nothing is
really lost as it is normally very evident if AWB is failing to run.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
David Plowman 2021-06-28 13:23:23 +01:00 committed by Laurent Pinchart
parent bdf04cca08
commit 87998e064d
2 changed files with 3 additions and 3 deletions

View file

@ -267,8 +267,8 @@ double get_ct(Metadata *metadata, double default_ct)
AwbStatus awb_status;
awb_status.temperature_K = default_ct; // in case nothing found
if (metadata->Get("awb.status", awb_status) != 0)
LOG(RPiAlsc, Warning) << "no AWB results found, using "
<< awb_status.temperature_K;
LOG(RPiAlsc, Debug) << "no AWB results found, using "
<< awb_status.temperature_K;
else
LOG(RPiAlsc, Debug) << "AWB results found, using "
<< awb_status.temperature_K;