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

Message ID 20210521080530.37591-1-naush@raspberrypi.com
Headers show
Series
  • Switch RaspberryPi IPA to use std::chrono::duration
Related show

Message

Naushir Patuck May 21, 2021, 8:05 a.m. UTC
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(-)