diff options
author | Milan Zamazal <mzamazal@redhat.com> | 2024-05-31 14:38:37 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-06-02 01:47:40 +0300 |
commit | 4e13c6f55bd667b39986d91ae06ed67ae5dabe68 (patch) | |
tree | 231806e22b1a609740ae7960b739d1ed2bb8952f /src/android/camera_hal_manager.h | |
parent | 738bd37905060a9f1b493edb9265574b9d585be1 (diff) |
libcamera: software_isp: Honor black level in AWB
The white balance computation didn't consider black level. This is
wrong because then the computed ratios are off when they are computed
from the whole brightness range rather than the sensor range.
This patch adjusts white balance computation for the black level. There
is no need to change white balance application in debayering as this is
already applied after black level correction.
Exposure computation already subtracts black level, no changes are
needed there.
Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Andrei Konovalov <andrey.konovalov.ynk@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/camera_hal_manager.h')
0 files changed, 0 insertions, 0 deletions