[libcamera-devel,0/4] IPAIPU3 - Rework interface and introduce context
mbox series

Message ID 20220103170956.323025-1-umang.jain@ideasonboard.com
Headers show
Series
  • IPAIPU3 - Rework interface and introduce context
Related show

Message

Umang Jain Jan. 3, 2022, 5:09 p.m. UTC
This patchset has been grown out of:
[PATCH v2] ipa: ipu3: Add a IPAFrameContext queue
and now consolidates that change here itself.

The main changes are :
- Remove event passing b/w PH <> IPA and use dedicated
  functions 2/4
- Introduce a queue-lookup for preserved frame-contexts 4/4

Patch 3/4 has been manually cherry-picked by JM's earlier work.

Series has been CTS-verified on LIMITED level. No regressions seen.

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

Umang Jain (3):
  libipa: algorithm: Pass frame number to prepare() and process()
  ipa: ipu3: Replace event-based operations with dedicated functions
  ipa: ipu3: Add a IPAFrameContext queue

 include/libcamera/ipa/ipu3.mojom         |  36 +----
 src/ipa/ipu3/algorithms/agc.cpp          |  21 +--
 src/ipa/ipu3/algorithms/agc.h            |   4 +-
 src/ipa/ipu3/algorithms/awb.cpp          |  22 +--
 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 |  18 ++-
 src/ipa/ipu3/algorithms/tone_mapping.h   |   4 +-
 src/ipa/ipu3/ipa_context.cpp             |  57 +++++++-
 src/ipa/ipu3/ipa_context.h               |  13 +-
 src/ipa/ipu3/ipu3-ipa-design-guide.rst   |  19 ++-
 src/ipa/ipu3/ipu3.cpp                    | 179 ++++++++++++++---------
 src/ipa/libipa/algorithm.cpp             |   2 +
 src/ipa/libipa/algorithm.h               |   6 +-
 src/libcamera/pipeline/ipu3/ipu3.cpp     | 123 +++++++---------
 16 files changed, 298 insertions(+), 218 deletions(-)