diff options
author | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-07-03 15:49:51 +0200 |
---|---|---|
committer | Stefan Klug <stefan.klug@ideasonboard.com> | 2024-07-03 16:41:41 +0200 |
commit | 50c28e1351000b879ff38eca8b36751b4ac7c0c9 (patch) | |
tree | 765131566045b098ffd453d93d78d7a40c3ece49 /src/ipa/libipa/camera_sensor_helper.h | |
parent | 3df0f0f2b819ba2ddcf55bcca57db4b937d8a545 (diff) |
ipa: rkisp1: blc: Query black levels from camera sensor helper
As the camera sensor helper now has the ability to provide the black
level, use it. Black levels can still be overwritten by the tuning
file, but the direction is to remove them from the tuning files and move
them into the sensor helpers.
Additionally interpret all values based on 16bits. The conversion to the
scale required by the hardware is done in process(). It ensures all the
values inside libcamera are the same scale and is in preparation for the
i.MX8MP where black levels are based on a 20bit scale. Note that this
breaks existing tuning files. The tuning files distributed with
libcamera will be fixed in a later patch.
Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/camera_sensor_helper.h')
0 files changed, 0 insertions, 0 deletions