[libcamera-devel] [PATCH v2 00/10] Raspberry Pi: Generalised algorithms

Naushir Patuck naush at raspberrypi.com
Mon Mar 27 14:20:20 CEST 2023


Hi,

Version 2 is a minor update that addresses Jacopo's review suggestions.

However, there is also a change that removes the redundant "rpi.focus" algorithm
from our source tree.  This is the algorithm used to report focus measures out
to the application.  It is replaced by code in raspberrypi.cpp that does
exactly the same thing.

Regards,
Naush

David Plowman (2):
  ipa: raspberrypi: alsc: Replace std::vectors by Array2D class
  ipa: raspberrypi: alsc: Use a better type name for sparse arrays

Naushir Patuck (7):
  ipa: raspberrypi Store the target string in the controller
  ipa: raspberrypi: Add hardware configuration to the controller
  ipa: raspberrypi: Generalise the ALSC algorithm
  ipa: raspberrypi: Generalise the contrast algorithm
  ipa: raspberrypi: Make RegionStats::get() always return a Region
    struct
  ipa: raspberrypi: Generalise the agc algorithm
  ipa: raspberrypi: Remove the focus reporting algorithm

Nick Hollinghurst (1):
  ipa: raspberrypi: Generalise the autofocus algorithm

 src/ipa/raspberrypi/cam_helper_imx708.cpp     |  23 +-
 src/ipa/raspberrypi/controller/algorithm.h    |   8 +
 src/ipa/raspberrypi/controller/alsc_status.h  |  13 +-
 .../raspberrypi/controller/contrast_status.h  |  11 +-
 src/ipa/raspberrypi/controller/controller.cpp |  37 +++
 src/ipa/raspberrypi/controller/controller.h   |  15 +
 src/ipa/raspberrypi/controller/focus_status.h |  20 --
 src/ipa/raspberrypi/controller/pdaf_data.h    |  21 +-
 src/ipa/raspberrypi/controller/region_stats.h |   4 +-
 src/ipa/raspberrypi/controller/rpi/af.cpp     | 176 +++++------
 src/ipa/raspberrypi/controller/rpi/af.h       |  29 +-
 src/ipa/raspberrypi/controller/rpi/agc.cpp    |  20 +-
 src/ipa/raspberrypi/controller/rpi/agc.h      |   9 +-
 src/ipa/raspberrypi/controller/rpi/alsc.cpp   | 291 ++++++++++--------
 src/ipa/raspberrypi/controller/rpi/alsc.h     |  83 ++++-
 .../raspberrypi/controller/rpi/contrast.cpp   |  30 +-
 src/ipa/raspberrypi/controller/rpi/contrast.h |   1 -
 src/ipa/raspberrypi/controller/rpi/focus.cpp  |  49 ---
 src/ipa/raspberrypi/data/imx290.json          |   3 -
 src/ipa/raspberrypi/data/imx296.json          |   3 -
 src/ipa/raspberrypi/data/imx296_mono.json     |   3 -
 src/ipa/raspberrypi/data/imx477.json          |   3 -
 src/ipa/raspberrypi/data/imx477_noir.json     |   3 -
 .../raspberrypi/data/imx477_scientific.json   |   3 -
 src/ipa/raspberrypi/data/imx477_v1.json       |   3 -
 src/ipa/raspberrypi/data/imx708.json          |   3 -
 src/ipa/raspberrypi/data/imx708_noir.json     |   3 -
 src/ipa/raspberrypi/data/imx708_wide.json     |   3 -
 .../raspberrypi/data/imx708_wide_noir.json    |   3 -
 src/ipa/raspberrypi/meson.build               |   1 -
 src/ipa/raspberrypi/raspberrypi.cpp           |  69 +++--
 31 files changed, 507 insertions(+), 436 deletions(-)
 delete mode 100644 src/ipa/raspberrypi/controller/focus_status.h
 delete mode 100644 src/ipa/raspberrypi/controller/rpi/focus.cpp

-- 
2.34.1



More information about the libcamera-devel mailing list