[v4,0/2] utils: tuning: Add AGC and CCM
mbox series

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

Message

Paul Elder June 14, 2024, 11:40 a.m. UTC
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.

v4 /removes/ support for both v10 and v12, and only supports v10.
Piecewise linear functions have also been removed from luminance
targets.

Paul Elder (2):
  utils: libtuning: modules: Add skeletal AGC module
  utils: tuning: rkisp1: Add skeletal AGC 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  | 79 +++++++++++++++++++
 utils/tuning/rkisp1.py                        |  4 +-
 4 files changed, 109 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