[PATCH v2 0/5] utils: tuning: Add AGC and CCM

Paul Elder paul.elder at ideasonboard.com
Fri May 17 09:57:46 CEST 2024


This series adds skeletal tuning modules for AGC and CCM/CTK (color
correction matrix / crosstalk correction), mainly for rkisp1. They are
hardcoded values for now, copied from ctt.

This also adds a tuning file for the imx335 for rkisp1.

In v2, mainly we add support for both v10 and v12, as one tuning file
should work for both platforms. The format of matrices that are meant to
be interpolated (usually via color temperate) such as color correction
matrices, is changed to match that of lsc.

Paul Elder (5):
  utils: libtuning: modules: Add skeletal AGC module
  utils: tuning: rkisp1: Add skeletal AGC to the rkisp1 tuning script
  utils: libtuning: modules: Add skeletal CCM module
  utils: tuning: rkisp1: Add skeletal CTK to the rkisp1 tuning script
  ipa: rkisp1: data: Add hardcoded tuning file for imx335

 src/ipa/rkisp1/data/imx335.yaml               | 195 ++++++++++++++++++
 src/ipa/rkisp1/data/meson.build               |   1 +
 .../tuning/libtuning/modules/agc/__init__.py  |   6 +
 utils/tuning/libtuning/modules/agc/agc.py     |  21 ++
 utils/tuning/libtuning/modules/agc/rkisp1.py  | 112 ++++++++++
 .../tuning/libtuning/modules/ccm/__init__.py  |   6 +
 utils/tuning/libtuning/modules/ccm/ccm.py     |  22 ++
 utils/tuning/libtuning/modules/ccm/rkisp1.py  |  89 ++++++++
 utils/tuning/rkisp1.py                        |   6 +-
 9 files changed, 457 insertions(+), 1 deletion(-)
 create mode 100644 src/ipa/rkisp1/data/imx335.yaml
 create mode 100644 utils/tuning/libtuning/modules/agc/__init__.py
 create mode 100644 utils/tuning/libtuning/modules/agc/agc.py
 create mode 100644 utils/tuning/libtuning/modules/agc/rkisp1.py
 create mode 100644 utils/tuning/libtuning/modules/ccm/__init__.py
 create mode 100644 utils/tuning/libtuning/modules/ccm/ccm.py
 create mode 100644 utils/tuning/libtuning/modules/ccm/rkisp1.py

-- 
2.39.2



More information about the libcamera-devel mailing list