[RFC,0/7] Simple pipeline IPA cleanup
mbox series

Message ID 20251112082715.17823-1-mzamazal@redhat.com
Headers show
Series
  • Simple pipeline IPA cleanup
Related show

Message

Milan Zamazal Nov. 12, 2025, 8:27 a.m. UTC
The simple pipeline IPA algorithms mix contrast and saturation
processing with CCM and LUT processing.  This patch series moves some
parts of contrast and saturation processing to a separate algorithm.

This is currently RFC because it conflicts with the changes in GPU ISP.
It should be rebased on top of GPU ISP once it is merged.

Milan Zamazal (7):
  libcamera: ipa: simple: Remove an unused include from awb.cpp
  libcamera: ipa: simple: Unwrap IPAFrameContext::ccm
  libcamera: ipa: simple: Generalise tracking matrix changes
  libcamera: ipa: simple: Rename "ccm" identifiers not specific to CCM
  libcamera: ipa: simple: Introduce a general correction matrix
  libcamera: ipa: simple: Separate saturation from CCM
  libcamera: ipa: simple: Move contrast settings to adjust.cpp

 src/ipa/simple/algorithms/adjust.cpp  | 125 ++++++++++++++++++++++++++
 src/ipa/simple/algorithms/adjust.h    |  52 +++++++++++
 src/ipa/simple/algorithms/awb.cpp     |   1 -
 src/ipa/simple/algorithms/ccm.cpp     |  70 ++-------------
 src/ipa/simple/algorithms/ccm.h       |  10 +--
 src/ipa/simple/algorithms/lut.cpp     |  67 ++++----------
 src/ipa/simple/algorithms/lut.h       |  13 +--
 src/ipa/simple/algorithms/meson.build |   1 +
 src/ipa/simple/data/uncalibrated.yaml |   1 +
 src/ipa/simple/ipa_context.h          |  11 +--
 10 files changed, 212 insertions(+), 139 deletions(-)
 create mode 100644 src/ipa/simple/algorithms/adjust.cpp
 create mode 100644 src/ipa/simple/algorithms/adjust.h