[libcamera-devel] [PATCH v3 0/5] Raspberry Pi: Generalise statistics

Naushir Patuck naush at raspberrypi.com
Tue Dec 13 12:48:31 CET 2022


Hi,

I've rebased this change to the top of master as there were some merge conflits
that needed resolving.  Apart from fixing a commit message typo, the changes
are identical to version 2.

Thanks,
Naush

Naushir Patuck (5):
  ipa: raspberrypi: Generalise statistics
  ipa: raspberrypi: histogram: Add a constructor for an empty histogram
  ipa: raspberrypi: awb: Delay release of the statistics buffer
  ipa: raspberrypi: Use the generic statistics structure in the
    algorithms
  ipa: raspberrypi: Normalise region sums to 16-bits

 src/ipa/raspberrypi/controller/controller.h   |   4 +-
 src/ipa/raspberrypi/controller/histogram.h    |   5 +
 src/ipa/raspberrypi/controller/region_stats.h | 123 ++++++++++++++++++
 src/ipa/raspberrypi/controller/rpi/agc.cpp    |  31 ++---
 src/ipa/raspberrypi/controller/rpi/agc.h      |   2 +-
 src/ipa/raspberrypi/controller/rpi/alsc.cpp   |  32 ++---
 src/ipa/raspberrypi/controller/rpi/alsc.h     |   3 +-
 src/ipa/raspberrypi/controller/rpi/awb.cpp    |  30 ++---
 src/ipa/raspberrypi/controller/rpi/awb.h      |   1 +
 .../raspberrypi/controller/rpi/contrast.cpp   |   8 +-
 src/ipa/raspberrypi/controller/rpi/focus.cpp  |   7 +-
 src/ipa/raspberrypi/controller/rpi/lux.cpp    |  14 +-
 src/ipa/raspberrypi/raspberrypi.cpp           |  48 ++++++-
 src/ipa/raspberrypi/statistics.h              |  72 ++++++++++
 14 files changed, 304 insertions(+), 76 deletions(-)
 create mode 100644 src/ipa/raspberrypi/controller/region_stats.h
 create mode 100644 src/ipa/raspberrypi/statistics.h

-- 
2.25.1



More information about the libcamera-devel mailing list