[PATCH 0/4] libipa: Initialize FrameContext with ActiveState

Jacopo Mondi jacopo.mondi at ideasonboard.com
Wed Oct 16 19:03:41 CEST 2024


This series allows IPA modules to override the FrameContext initialization
to allow them to be default-initialized with the most recent algorithms' state
provided in ActiveState.

My use case is explained in detail in commit message 4/4 but I wonder if this
is useful for Paul's algorithm seeding work as well.

Jacopo Mondi (4):
  libipa: FrameContext: Move init() to FrameContext
  libipa: FCQueue: Make sure FrameContext#0 is initialized
  libipa: FCQueue: Initialize FrameContext with activeState
  ipa: rkisp1: Initialize FrameContext.agc.meteringMode

 src/ipa/ipu3/ipa_context.h        |  2 +-
 src/ipa/ipu3/ipu3.cpp             |  9 ++++--
 src/ipa/libipa/fc_queue.cpp       | 20 +++++++++++--
 src/ipa/libipa/fc_queue.h         | 48 ++++++++++++++++++++++++-------
 src/ipa/rkisp1/algorithms/agc.cpp |  2 ++
 src/ipa/rkisp1/ipa_context.cpp    | 11 +++++++
 src/ipa/rkisp1/ipa_context.h      |  5 +++-
 src/ipa/rkisp1/rkisp1.cpp         | 12 +++++---
 src/ipa/simple/ipa_context.h      |  2 +-
 src/ipa/simple/soft_simple.cpp    |  9 ++++--
 10 files changed, 93 insertions(+), 27 deletions(-)

--
2.47.0



More information about the libcamera-devel mailing list