[libcamera-devel,0/3] ipa: ipu3: IPAFrameContext Queue
mbox series

Message ID 20220310205130.336361-1-umang.jain@ideasonboard.com
Headers show
Series
  • ipa: ipu3: IPAFrameContext Queue
Related show

Message

Nicolas Dufresne via libcamera-devel March 10, 2022, 8:51 p.m. UTC
Incoming controls from libcamera::Request can be conceptually
split into two buckets:
	- First being applied on sensor (apply X on sensor)
	- Second meant for IPA and controlling algorithms'
	  processing (fix exposure / gain etc.)

The series is aimed to address the second part. Currently we don't
process any controls on the IPA side but we will need to in near-future.
This series adds a context queue which can preserve controls for
corresponding frame of incoming requests.

(series has been validated with CTS, no regressions observed)

Jean-Michel Hautbois (1):
  ipa: ipu3: Mark the beginning and end of a frame

Umang Jain (2):
  libipa: algorithm: Pass frame number to prepare() and process()
  ipa: ipu3: Add a IPAFrameContext queue

 src/ipa/ipu3/algorithms/agc.cpp          | 19 +++----
 src/ipa/ipu3/algorithms/agc.h            |  6 +--
 src/ipa/ipu3/algorithms/awb.cpp          | 21 ++++----
 src/ipa/ipu3/algorithms/awb.h            |  4 +-
 src/ipa/ipu3/algorithms/blc.cpp          |  6 ++-
 src/ipa/ipu3/algorithms/blc.h            |  2 +-
 src/ipa/ipu3/algorithms/tone_mapping.cpp | 19 ++++---
 src/ipa/ipu3/algorithms/tone_mapping.h   |  4 +-
 src/ipa/ipu3/ipa_context.cpp             | 42 +++++++++++++++
 src/ipa/ipu3/ipa_context.h               | 12 +++++
 src/ipa/ipu3/ipu3.cpp                    | 65 ++++++++++++++++++++----
 src/ipa/libipa/algorithm.cpp             |  2 +
 src/ipa/libipa/algorithm.h               |  6 ++-
 13 files changed, 161 insertions(+), 47 deletions(-)