[libcamera-devel,v4,0/5] Add GSL, LSC and DPCC tuning support for rkisp1
mbox series

Message ID 20220727084052.590421-1-fsylvestre@baylibre.com
Headers show
Series
  • Add GSL, LSC and DPCC tuning support for rkisp1
Related show

Message

Florian Sylvestre July 27, 2022, 8:40 a.m. UTC
Hello,

This series of patches adds support for several rkisp1 algorithms control:
        - Gamma Sensor Linearization (patch 2/5)
        - Lens Shading Correction (patch 3/5)
        - Defect Pixel Cluster Correction (patch 5/5)

To manage efficiently lists in YAML tuning file, I added a function in the YAML
parser to retrieve lists in a single call (patch 1/5).

I have also updated rkisp1 headers from branch:
pinchartl/v5.19/dev/isp/next to get latest DPCC defines (patch 4/5)

Florian Sylvestre (5):
  libcamera: yaml_parser: Add getList() function
  ipa: rkisp1: Add support of Gamma Sensor Linearization control
  ipa: rkisp1: Add support of Lens Shading Correction control
  include: linux: Update rkisp1 kernel header for DPCC configuration
  ipa: rkisp1: Add support of Defect Pixel Cluster Correction control

 include/libcamera/internal/yaml_parser.h |  16 ++
 include/linux/rkisp1-config.h            |  77 +++++--
 src/ipa/rkisp1/algorithms/dpcc.cpp       | 254 +++++++++++++++++++++++
 src/ipa/rkisp1/algorithms/dpcc.h         |  31 +++
 src/ipa/rkisp1/algorithms/gsl.cpp        | 147 +++++++++++++
 src/ipa/rkisp1/algorithms/gsl.h          |  34 +++
 src/ipa/rkisp1/algorithms/lsc.cpp        | 175 ++++++++++++++++
 src/ipa/rkisp1/algorithms/lsc.h          |  38 ++++
 src/ipa/rkisp1/algorithms/meson.build    |   3 +
 src/ipa/rkisp1/data/ov5640.yaml          | 145 +++++++++++++
 src/ipa/rkisp1/ipa_context.cpp           |   3 +
 src/ipa/rkisp1/ipa_context.h             |   1 +
 src/ipa/rkisp1/rkisp1.cpp                |   1 +
 src/libcamera/yaml_parser.cpp            |  66 ++++++
 test/yaml-parser.cpp                     |   6 +
 15 files changed, 981 insertions(+), 16 deletions(-)
 create mode 100644 src/ipa/rkisp1/algorithms/dpcc.cpp
 create mode 100644 src/ipa/rkisp1/algorithms/dpcc.h
 create mode 100644 src/ipa/rkisp1/algorithms/gsl.cpp
 create mode 100644 src/ipa/rkisp1/algorithms/gsl.h
 create mode 100644 src/ipa/rkisp1/algorithms/lsc.cpp
 create mode 100644 src/ipa/rkisp1/algorithms/lsc.h