[v1,0/2] Raspberry Pi: Fix algorithm gating
mbox series

Message ID 20260805100502.1947139-1-naush@raspberrypi.com
Headers show
Series
  • Raspberry Pi: Fix algorithm gating
Related show

Message

Naushir Patuck Aug. 5, 2026, 10:03 a.m. UTC
Hi,

Hopefully a self explanitory patch series that addresses a bug reported at:
https://github.com/raspberrypi/libcamera/issues/345

We should run the IPA algorithms uncondiationally on startup instead of being
gated by possibly invalid metadata. This is completely safe, as we get the
metadata values (gain/exposure) from the DelayedControls list by default.

Regards,
Naush

Naushir Patuck (2):
  ipa: rpi: Rename mistrustFramesStartup() to mistrustMetadataStartup()
  ipa: rpi: Gate CamHelper::prepare() by the mistrust count

 src/ipa/rpi/cam_helper/cam_helper.cpp        |  4 ++--
 src/ipa/rpi/cam_helper/cam_helper.h          |  4 ++--
 src/ipa/rpi/cam_helper/cam_helper_ov5647.cpp |  4 ++--
 src/ipa/rpi/common/ipa_base.cpp              | 25 +++++++-------------
 4 files changed, 15 insertions(+), 22 deletions(-)