[PATCH v3 0/2] ipa: rkisp1: Add lux estimation

Paul Elder paul.elder at ideasonboard.com
Wed Dec 18 08:45:59 CET 2024


This series adds a lux algorithm module to libipa and rkisp1. It is
modeled/copied from Raspberry Pi's, and estimates the lux level of the
image.

Originally this was meant only to be used by agc, and thus wasn't seen
as required as it could just be built in to agc. However, there seems to
now be demand for it for bayesian awb, so this series has been brought
out of bitrot.

v3 only has minor formatting (both text and code) fixes.

Paul Elder (2):
  ipa: libipa: Add Lux helper
  ipa: rkisp1: Add Lux algorithm module

 src/ipa/libipa/lux.cpp                | 181 ++++++++++++++++++++++++++
 src/ipa/libipa/lux.h                  |  42 ++++++
 src/ipa/libipa/meson.build            |   2 +
 src/ipa/rkisp1/algorithms/lux.cpp     |  80 ++++++++++++
 src/ipa/rkisp1/algorithms/lux.h       |  36 +++++
 src/ipa/rkisp1/algorithms/meson.build |   1 +
 src/ipa/rkisp1/ipa_context.h          |   4 +
 7 files changed, 346 insertions(+)
 create mode 100644 src/ipa/libipa/lux.cpp
 create mode 100644 src/ipa/libipa/lux.h
 create mode 100644 src/ipa/rkisp1/algorithms/lux.cpp
 create mode 100644 src/ipa/rkisp1/algorithms/lux.h

-- 
2.39.2



More information about the libcamera-devel mailing list