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

Naushir Patuck naush at raspberrypi.com
Tue May 25 13:42:37 CEST 2021


Hi,

The following changes have been made in version 5 of this patch series:

- Removed the using... directive from all header files, and expanded the namespace
instead.
- Fix struct formatting in lux.cpp.
- Remove BaseDuration references from the documentation and remove full stops
from single line statements to match the guidelines.

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            | 18 ++--
 src/ipa/raspberrypi/cam_helper.hpp            | 10 ++-
 .../raspberrypi/controller/agc_algorithm.hpp  |  7 +-
 src/ipa/raspberrypi/controller/agc_status.h   | 12 +--
 src/ipa/raspberrypi/controller/camera_mode.h  |  6 +-
 .../raspberrypi/controller/device_status.h    |  6 +-
 src/ipa/raspberrypi/controller/rpi/agc.cpp    | 88 +++++++++++--------
 src/ipa/raspberrypi/controller/rpi/agc.hpp    | 34 +++----
 src/ipa/raspberrypi/controller/rpi/lux.cpp    | 19 ++--
 src/ipa/raspberrypi/controller/rpi/lux.hpp    |  4 +-
 src/ipa/raspberrypi/raspberrypi.cpp           | 69 ++++++++-------
 src/libcamera/utils.cpp                       | 37 ++++++++
 13 files changed, 232 insertions(+), 120 deletions(-)

-- 
2.25.1



More information about the libcamera-devel mailing list