[libcamera-devel] [PATCH v6 0/6] ipa: raspberrypi: Rate-limit the controller algorithms

Naushir Patuck naush at raspberrypi.com
Mon May 10 11:58:09 CEST 2021


Hi,

Version 6 of this patch series introduces the following changes:

1) Switch from RPiController::Metadata::Overwrite() back to RPiController::Metadata::Merge().  This simplifies the logic in the IPA.

2) Introduce a new change in patch 3/6.  This replaces our use of std::lock_guard with std::scoped_lock to mitigate deadlock when locking multiple mutexes.

3) SensorTimestamp is no longer a draft control.

David, I have removed your R-b tag from 6/6 because of the scope of change.  When you get a chance, could you re-review please?

Thanks,
Naush

Naushir Patuck (6):
  ipa: raspberrypi: Store dropped frame count in a member variable
  ipa: raspberrypi: Reformat RPiController::Metadata class header
  ipa: raspberrypi: Switch to std::scoped_lock in the Metadata class
  ipa: raspberrypi: Add move/copy ctors and operators to Metadata class
  ipa: raspberrypi: Add a Merge method to RPiController::Metadata
  ipa: raspberrypi: Rate-limit the controller algorithms

 src/ipa/raspberrypi/controller/metadata.hpp   | 61 +++++++++++++++----
 src/ipa/raspberrypi/raspberrypi.cpp           | 56 ++++++++++++++---
 .../pipeline/raspberrypi/raspberrypi.cpp      |  5 ++
 3 files changed, 100 insertions(+), 22 deletions(-)

-- 
2.25.1



More information about the libcamera-devel mailing list