[v3,0/4] utils: tuning: Add AGC and CCM
mbox series

Message ID 20240529194251.863689-1-paul.elder@ideasonboard.com
Headers show
Series
  • utils: tuning: Add AGC and CCM
Related show

Message

Paul Elder May 29, 2024, 7:42 p.m. UTC
This series depends on v2 of "ipa: libipa: Change constraint Y target to
piecewise linear function".

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.

v3 is mainly minor fixes. Notably the patch adding a hardcoded tuning
file for imx335 was removed as the values in it were arbitrary, so
there was negative value in adding the file.

Paul Elder (4):
  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 CCM to the rkisp1 tuning script

 .../tuning/libtuning/modules/agc/__init__.py  |   6 +
 utils/tuning/libtuning/modules/agc/agc.py     |  21 ++++
 utils/tuning/libtuning/modules/agc/rkisp1.py  | 110 ++++++++++++++++++
 .../tuning/libtuning/modules/ccm/__init__.py  |   6 +
 utils/tuning/libtuning/modules/ccm/ccm.py     |  22 ++++
 utils/tuning/libtuning/modules/ccm/rkisp1.py  |  87 ++++++++++++++
 utils/tuning/rkisp1.py                        |   6 +-
 7 files changed, 257 insertions(+), 1 deletion(-)
 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