[libcamera-devel] [PATCH v3 0/4] Switch RaspberryPi IPA to use std::chrono::duration

Naushir Patuck naush at raspberrypi.com
Fri May 21 10:05:26 CEST 2021


Hi,

Version 3 of this patch series addresses an implicit Duration cast issue
when using the operator<<() overload.

Thanks,
Naush

Naushir Patuck (4):
  libcamera: utils: Add helper class for std::chrono::duration
  ipa: raspberrypi: Switch ipa and cam_helper to use utils::Duration
  ipa: raspberrypi: Switch AgcAlgorithm API to use utils::Duration
  ipa: raspberrypi: Switch the AGC/Lux code to use utils::Duration

 include/libcamera/internal/utils.h            | 42 +++++++++
 src/ipa/raspberrypi/cam_helper.cpp            | 17 ++--
 src/ipa/raspberrypi/cam_helper.hpp            | 12 ++-
 .../raspberrypi/controller/agc_algorithm.hpp  |  9 +-
 src/ipa/raspberrypi/controller/agc_status.h   | 14 +--
 src/ipa/raspberrypi/controller/camera_mode.h  |  6 +-
 .../raspberrypi/controller/device_status.h    |  6 +-
 src/ipa/raspberrypi/controller/rpi/agc.cpp    | 89 +++++++++++--------
 src/ipa/raspberrypi/controller/rpi/agc.hpp    | 34 +++----
 src/ipa/raspberrypi/controller/rpi/lux.cpp    | 17 ++--
 src/ipa/raspberrypi/controller/rpi/lux.hpp    |  4 +-
 src/ipa/raspberrypi/raspberrypi.cpp           | 70 ++++++++-------
 src/libcamera/utils.cpp                       | 41 +++++++++
 13 files changed, 241 insertions(+), 120 deletions(-)

-- 
2.25.1



More information about the libcamera-devel mailing list