[libcamera-devel] [PATCH v2 0/3] ipa: Fill metadata in individual algorithms
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Oct 19 22:56:11 CEST 2022
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/3 extends the Algorithm::process() function to take a metadata
contro list argument that algorithms should fill with metadata for the
frame. Patch 2/3 updates the RkISP1 AGC and AWB algorithms to report
their metadata, and patch 3/3 does the same for the IPU3 IPA module.
Laurent Pinchart (3):
ipa: Pass metadata to Algorithm::process() function
ipa: rkisp1: Fill AGC and AWB metadata
ipa: ipu3: Fill AGC and AWB metadata in algorithms
src/ipa/ipu3/algorithms/af.cpp | 4 +++-
src/ipa/ipu3/algorithms/af.h | 3 ++-
src/ipa/ipu3/algorithms/agc.cpp | 18 +++++++++++++++++-
src/ipa/ipu3/algorithms/agc.h | 3 ++-
src/ipa/ipu3/algorithms/awb.cpp | 13 ++++++++++++-
src/ipa/ipu3/algorithms/awb.h | 3 ++-
src/ipa/ipu3/algorithms/tone_mapping.cpp | 4 +++-
src/ipa/ipu3/algorithms/tone_mapping.h | 3 ++-
src/ipa/ipu3/ipa_context.cpp | 3 +++
src/ipa/ipu3/ipa_context.h | 1 +
src/ipa/ipu3/ipu3.cpp | 19 ++++---------------
src/ipa/libipa/algorithm.cpp | 5 +++--
src/ipa/libipa/algorithm.h | 3 ++-
src/ipa/rkisp1/algorithms/agc.cpp | 17 ++++++++++++++++-
src/ipa/rkisp1/algorithms/agc.h | 3 ++-
src/ipa/rkisp1/algorithms/awb.cpp | 10 +++++++++-
src/ipa/rkisp1/algorithms/awb.h | 5 +++--
src/ipa/rkisp1/ipa_context.cpp | 3 +++
src/ipa/rkisp1/ipa_context.h | 1 +
src/ipa/rkisp1/rkisp1.cpp | 19 +++++--------------
20 files changed, 95 insertions(+), 45 deletions(-)
base-commit: 376adeb7b7e0b75f2fa90b890fe0203d1e268cdf
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list