[PATCH v2 0/3] rkisp1: Reduce oscillations on startup

Stefan Klug stefan.klug at ideasonboard.com
Wed Mar 26 14:47:19 CET 2025


Hi all,

This tiny series further reduces startup AE oscillations on rkisp1.
While analyzing the issue it got clear that the regulation had to cope
with images that had an exposure value of 0 which should not happen in
first place.

Patch 1 adds a log message that could help debug such ill behavior.
Patch 2 add error handling for the exposurevalue == 0 case.
Patch 3 fixes it for rkisp1.

Please see the individual patches for the technical details.

Best regards,
Stefan

Changes in v2:
- Some fixes from review (see individual changelogs)

Stefan Klug (3):
  ipa: rkisp1: Add debug log for the sensor controls being set
  ipa: libipa: agc_mean_luminance: Error out when effectiveExposureValue
    is zero
  ipa: rksip1: Remove setControls(0) to reduce startup oscillations

 src/ipa/libipa/agc_mean_luminance.cpp | 12 ++++++++++++
 src/ipa/rkisp1/rkisp1.cpp             |  7 +++++--
 2 files changed, 17 insertions(+), 2 deletions(-)

-- 
2.43.0



More information about the libcamera-devel mailing list