[libcamera-devel,v3,00/10] Raspberry Pi: Generalised algorithms
mbox series

Message ID 20230331072341.24851-1-naush@raspberrypi.com
Headers show
Series
  • Raspberry Pi: Generalised algorithms
Related show

Message

Naushir Patuck March 31, 2023, 7:23 a.m. UTC
Hi,

Only a minor change to version 3 compared to the previous version:

- Fixed a typo reported by Jacopo.
- In patch 10/10, I've made some minor changes to not only remove the "rpi.focus"
  algorithm, but also to generalise the calculation of focus FoM values from the
  central region of the statistics.

Only patch 10/10 is waiting for R-b tags now.  If I've missed anything out
please do shout!

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: Generalise the focus reporting code

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           |  85 +++--
 31 files changed, 520 insertions(+), 439 deletions(-)
 delete mode 100644 src/ipa/raspberrypi/controller/focus_status.h
 delete mode 100644 src/ipa/raspberrypi/controller/rpi/focus.cpp