[v2,0/4] Reduce rkisp1 flicker on first start
mbox series

Message ID 20241020152821.240726-1-mike.rudenko@gmail.com
Headers show
Series
  • Reduce rkisp1 flicker on first start
Related show

Message

Mikhail Rudenko Oct. 20, 2024, 3:28 p.m. UTC
This small series aims at reducing rkisp1 startup flicker due to
suboptimal defaults and the lack of coordination between the pipeline
handler and the AGC algorithm.

Changes in v2:
- set default exposure to maximum frame duration
- use exposure/gain from activeState in setControls()

Mikhail Rudenko (4):
  ipa: rkisp1: agc: Use better defaults for analogue gain and exposure
  utils: ipc: Allow start method with output parameters in IPA proxies
  rkisp1: synchronize sensor controls with IPA
  ipa: rkisp1: use active state in setControls

 include/libcamera/ipa/rkisp1.mojom            |  2 +-
 src/ipa/rkisp1/algorithms/agc.cpp             |  7 +++--
 src/ipa/rkisp1/ipa_context.h                  |  2 ++
 src/ipa/rkisp1/rkisp1.cpp                     | 27 ++++++++++++++-----
 src/libcamera/pipeline/rkisp1/rkisp1.cpp      |  6 ++++-
 .../module_ipa_proxy.h.tmpl                   | 11 +++-----
 .../module_ipa_proxy_worker.cpp.tmpl          |  2 +-
 7 files changed, 38 insertions(+), 19 deletions(-)

--
2.46.0