[PATCH v2 0/3] ipa: rkisp1: Add crosstalk algorithm

Paul Elder paul.elder at ideasonboard.com
Fri Apr 19 09:18:16 CEST 2024


This patch series adds the crosstalk / color correction algorithm to
the rkisp1 IPA.

Interpolating matrices is likely to be a common functionaily, as lens
shading correction also does it, and other IPAs will will want to do
both color correction and lens shading correction. Because of this, the
crosstalk is implemented using a generic matrix interpolator, which is
added to libipa, in addition to a Matrix class.

v2 mainly upgrades the Matrix class to use template arguments for size,
and renames ctk to ccm.

Paul Elder (3):
  ipa: libipa: Add Matrix class
  ipa: libipa: Add MatrixInterpolator class
  ipa: rkisp1: algorithms: Add crosstalk algorithm

 src/ipa/libipa/matrix.cpp              |  17 +++
 src/ipa/libipa/matrix.h                | 144 +++++++++++++++++++++++++
 src/ipa/libipa/matrix_interpolator.cpp |  54 ++++++++++
 src/ipa/libipa/matrix_interpolator.h   | 105 ++++++++++++++++++
 src/ipa/libipa/meson.build             |   4 +
 src/ipa/rkisp1/algorithms/ccm.cpp      | 101 +++++++++++++++++
 src/ipa/rkisp1/algorithms/ccm.h        |  41 +++++++
 src/ipa/rkisp1/algorithms/meson.build  |   1 +
 8 files changed, 467 insertions(+)
 create mode 100644 src/ipa/libipa/matrix.cpp
 create mode 100644 src/ipa/libipa/matrix.h
 create mode 100644 src/ipa/libipa/matrix_interpolator.cpp
 create mode 100644 src/ipa/libipa/matrix_interpolator.h
 create mode 100644 src/ipa/rkisp1/algorithms/ccm.cpp
 create mode 100644 src/ipa/rkisp1/algorithms/ccm.h

-- 
2.39.2



More information about the libcamera-devel mailing list