[libcamera-devel,v2,0/4] Add Demosaicing and Color Processing control for rkisp1
mbox series

Message ID 20220720154221.50937-1-fsylvestre@baylibre.com
Headers show
Series
  • Add Demosaicing and Color Processing control for rkisp1
Related show

Message

Florian Sylvestre July 20, 2022, 3:42 p.m. UTC
Hello,

This patch series adds support for two rkisp1 algorithms:
        - Demosaicing algorithm (patch 3/4)
        - Color Processing algorithm (patch 4/4)
Demosaicing algorithm is in charge of denoising and sharpness control.
ColorProcessing algorithm is in charge of brightness, contrast and saturation
control.

Demosaicing and ColorProcessing algorithm are currently configurable from the
application by user controls.
So I add support for transfering user controls respectively in the algorithm
class (patch 1/4) and in the IPARkISP1 (patch 2/4).

This version addresses all the feedback made on the first version except for
the use of a frameContext associated with the targeted frame (the frameContext
used is the one of the current frame, as it's not currently supported for
rkisp).

Florian Sylvestre (4):
  ipa: libipa: algorithm: Add queueRequest() to the Algorithm class
  ipa: rkisp1: Transfer queueRequest() call to each algorithm
  ipa: rkisp1: Add support of Demosaicing control
  ipa: rkisp1: Add support of ColorProcessing control

 src/ipa/libipa/algorithm.cpp              |  16 ++
 src/ipa/libipa/algorithm.h                |   8 +
 src/ipa/rkisp1/algorithms/cproc.cpp       |  94 +++++++++++
 src/ipa/rkisp1/algorithms/cproc.h         |  30 ++++
 src/ipa/rkisp1/algorithms/demosaicing.cpp | 197 ++++++++++++++++++++++
 src/ipa/rkisp1/algorithms/demosaicing.h   |  30 ++++
 src/ipa/rkisp1/algorithms/meson.build     |   2 +
 src/ipa/rkisp1/data/ov5640.yaml           |   2 +
 src/ipa/rkisp1/ipa_context.h              |  13 ++
 src/ipa/rkisp1/rkisp1.cpp                 |   8 +-
 src/libcamera/pipeline/rkisp1/rkisp1.cpp  |  20 +++
 11 files changed, 417 insertions(+), 3 deletions(-)
 create mode 100644 src/ipa/rkisp1/algorithms/cproc.cpp
 create mode 100644 src/ipa/rkisp1/algorithms/cproc.h
 create mode 100644 src/ipa/rkisp1/algorithms/demosaicing.cpp
 create mode 100644 src/ipa/rkisp1/algorithms/demosaicing.h