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

Florian Sylvestre fsylvestre at baylibre.com
Wed Jun 22 17:19:13 CEST 2022


Hello,

This patch series 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)

The series is based on top of "[PATCH v4 12/12] ipa: rkisp1: Add support of
Black Level Correction tuning"
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       | 273 +++++++++++++++++++++++
 src/ipa/rkisp1/algorithms/dpcc.h         |  35 +++
 src/ipa/rkisp1/algorithms/gsl.cpp        | 142 ++++++++++++
 src/ipa/rkisp1/algorithms/gsl.h          |  38 ++++
 src/ipa/rkisp1/algorithms/lsc.cpp        | 171 ++++++++++++++
 src/ipa/rkisp1/algorithms/lsc.h          |  44 ++++
 src/ipa/rkisp1/algorithms/meson.build    |   3 +
 src/ipa/rkisp1/data/ov5640.yaml          | 147 ++++++++++++
 src/ipa/rkisp1/rkisp1.cpp                |   3 +
 src/libcamera/yaml_parser.cpp            |  73 ++++++
 test/yaml-parser.cpp                     |   6 +
 13 files changed, 1012 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

-- 
2.34.1



More information about the libcamera-devel mailing list