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

Paul Elder paul.elder at ideasonboard.com
Mon Dec 16 10:49:31 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.

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

 src/ipa/libipa/lux.cpp                | 183 ++++++++++++++++++++++++++
 src/ipa/libipa/lux.h                  |  48 +++++++
 src/ipa/libipa/meson.build            |   2 +
 src/ipa/rkisp1/algorithms/lux.cpp     |  76 +++++++++++
 src/ipa/rkisp1/algorithms/lux.h       |  39 ++++++
 src/ipa/rkisp1/algorithms/meson.build |   1 +
 src/ipa/rkisp1/ipa_context.h          |   1 +
 7 files changed, 350 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