[PATCH v5 0/2] Get black level from the camera helper

Milan Zamazal mzamazal at redhat.com
Fri Oct 18 11:26:26 CEST 2024


This patch takes the black level value for the given sensor from its
specification, if available.  The initial intention was to get the value
from the tuning file but in the meantime the value was added to
CameraSensorHelper so it’s taken from there.

Changes in v5:
- Added a patch to take black level from the tuning file.

Changes in v4:
- Added braces around a single-line ‘if’ with a comment.

Changes in v3:
- A clarifying comment about the bit widths added.

Changes in v2:
- Rebased on the merged version of software ISP refactoring.
- The black level is represented as a pixel value rather than a 0..1
  floating value.

Milan Zamazal (2):
  libcamera: software_isp: Get black level from the camera helper
  libcamera: software_isp: Black level from tuning file

 src/ipa/simple/algorithms/blc.cpp | 15 ++++++++++++++-
 src/ipa/simple/algorithms/blc.h   |  1 +
 src/ipa/simple/ipa_context.h      |  4 ++++
 src/ipa/simple/soft_simple.cpp    | 11 +++++++++++
 4 files changed, 30 insertions(+), 1 deletion(-)

-- 
2.44.1



More information about the libcamera-devel mailing list