[libcamera-devel,v1,0/4] ipa: Fill metadata in individual algorithms
mbox series

Message ID 20221019110434.17767-1-laurent.pinchart@ideasonboard.com
Headers show
Series
  • ipa: Fill metadata in individual algorithms
Related show

Message

Laurent Pinchart Oct. 19, 2022, 11:04 a.m. UTC
Hello,

This small patch series improves metadata reporting in IPA modules by
making it possible for individual algorithms to report metadata, instead
of relying on the top-level IPA module code to do so.

Patch 1/4 is a small drive-by cleanup. Patch 2/4 then extends the
Algorithm::process() function to take a metadata contro list argument
that algorithms should fill with metadata for the frame. Patch 3/4
updates the AGC and AWB algorithms to report their metadata. Patch 4/4
is then another drive-by improvement.

Laurent Pinchart (4):
  ipa: Drop period at end of \brief or \param
  ipa: Pass metadata to Algorithm::process() function
  ipa: rkisp1: Fill AGC and AWB metadata
  ipa: rkisp1: Downgrade sensor controls range message to Debug

 src/ipa/ipu3/algorithms/af.cpp           | 20 +++++++++++---------
 src/ipa/ipu3/algorithms/af.h             |  2 +-
 src/ipa/ipu3/algorithms/agc.cpp          |  2 ++
 src/ipa/ipu3/algorithms/agc.h            |  2 +-
 src/ipa/ipu3/algorithms/awb.cpp          |  1 +
 src/ipa/ipu3/algorithms/awb.h            |  2 +-
 src/ipa/ipu3/algorithms/tone_mapping.cpp |  2 ++
 src/ipa/ipu3/algorithms/tone_mapping.h   |  2 +-
 src/ipa/ipu3/ipa_context.cpp             |  6 +++---
 src/ipa/ipu3/ipu3.cpp                    |  3 ++-
 src/ipa/libipa/algorithm.cpp             |  7 ++++---
 src/ipa/libipa/algorithm.h               |  1 +
 src/ipa/libipa/histogram.cpp             |  2 +-
 src/ipa/rkisp1/algorithms/agc.cpp        | 11 ++++++++++-
 src/ipa/rkisp1/algorithms/agc.h          |  2 +-
 src/ipa/rkisp1/algorithms/awb.cpp        |  7 +++++++
 src/ipa/rkisp1/algorithms/awb.h          |  2 +-
 src/ipa/rkisp1/rkisp1.cpp                | 23 ++++++-----------------
 18 files changed, 56 insertions(+), 41 deletions(-)


base-commit: ca247829c3feea28d65b181fd0a5f76ff7120a15