[libcamera-devel,v3,0/3] ipa: ipu3: Misc clean up
mbox series

Message ID 20220210114316.1151170-1-jeanmichel.hautbois@ideasonboard.com
Headers show
Series
  • ipa: ipu3: Misc clean up
Related show

Message

Jean-Michel Hautbois Feb. 10, 2022, 11:43 a.m. UTC
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

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

 src/ipa/ipu3/algorithms/agc.cpp | 99 ++++++++++++++++++---------------
 src/ipa/ipu3/algorithms/agc.h   |  6 +-
 src/ipa/ipu3/ipa_context.cpp    |  8 +++
 src/ipa/ipu3/ipa_context.h      |  4 ++
 src/ipa/ipu3/ipu3.cpp           | 34 ++++++-----
 5 files changed, 88 insertions(+), 63 deletions(-)