[libcamera-devel] [PATCH v4 0/4] ipa: ipu3: Misc clean up

Jean-Michel Hautbois jeanmichel.hautbois at ideasonboard.com
Thu Feb 24 16:11:09 CET 2022


Hello,

While working on AGC porting from IPU3 to RkISP1, a few minor changes
were proposed to clean the variables and function usage.

Report those changes in IPU3.

In v2:
  - Correct the filterExposure() calculation to use the same as RkISP1
  - Rewrite some comments
  - Remove the caching of analogue gain and exposure

In v3:
  - Remove all local references to lineDuration_ and use the context
    everywhere in IPAIPU3

In v4:
  - Remove lineDuration calculation in IPU3Agc::configure
  - Clean only frameContext at configure()
  - Add clamping of gain values in IPU3Awb

Jean-Michel Hautbois (4):
  ipa: ipu3: Return filtered value
  ipa: ipu3: Shorten exposure and gain lines
  ipa: ipu3: agc: Introduce lineDuration in IPASessionConfiguration
  ipa: ipu3: awb: Clamp gain values

 src/ipa/ipu3/algorithms/agc.cpp | 100 +++++++++++++++++---------------
 src/ipa/ipu3/algorithms/agc.h   |   6 +-
 src/ipa/ipu3/algorithms/awb.cpp |   8 +++
 src/ipa/ipu3/ipa_context.cpp    |   8 +++
 src/ipa/ipu3/ipa_context.h      |   4 ++
 src/ipa/ipu3/ipu3.cpp           |  35 ++++++-----
 6 files changed, 96 insertions(+), 65 deletions(-)

-- 
2.32.0



More information about the libcamera-devel mailing list