[0/5] Software ISP levels cleanup
mbox series

Message ID 20240423182000.1527425-1-mzamazal@redhat.com
Headers show
Series
  • Software ISP levels cleanup
Related show

Message

Milan Zamazal April 23, 2024, 6:19 p.m. UTC
This is a cleanup of black level and color gain handling in software ISP.
It fixes omission of black level subtraction in white balance computation and moves color lookup tables computations out of debayering.  The latter also serves as a preparation for bringing software ISP algorithms closer to common libcamera algorithm handling, in future patches.

Milan Zamazal (5):
  libcamera: software_isp: Use a specific integer type for black level
  libcamera: software_isp: Honor black level in AWB
  libcamera: software_isp: Move color mappings out of debayering
  libcamera: software_isp: Remove TODO #13
  libcamera: software_isp: Remove DebayerParams::kGain10

 .../internal/software_isp/debayer_params.h    | 19 ++--
 src/ipa/simple/black_level.cpp                |  3 +-
 src/ipa/simple/black_level.h                  |  4 +-
 src/ipa/simple/soft_simple.cpp                | 86 +++++++++++++++----
 src/libcamera/software_isp/TODO               | 23 -----
 src/libcamera/software_isp/debayer.cpp        | 28 +++---
 src/libcamera/software_isp/debayer_cpu.cpp    | 41 ++-------
 src/libcamera/software_isp/debayer_cpu.h      |  9 +-
 src/libcamera/software_isp/software_isp.cpp   |  4 +-
 9 files changed, 103 insertions(+), 114 deletions(-)