[PATCH 0/3] ipa: rkisp1: Add lux estimation

Paul Elder paul.elder at ideasonboard.com
Fri Apr 12 11:16:57 CEST 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. This is used (so far only) by agc.

As there is no tuning support yet, this won't run (as in, you'll get
"missing tuning parameter" errors) and won't be merged until tuning
support is in so I'm just sending this in early for review.

Paul Elder (3):
  ipa: libipa: Add Lux helper
  ipa: rkisp1: Add Lux algorithm module
  ipa: rkisp1: agc: Plumb lux

 src/ipa/libipa/lux.cpp                | 119 ++++++++++++++++++++++++++
 src/ipa/libipa/lux.h                  |  45 ++++++++++
 src/ipa/libipa/meson.build            |   2 +
 src/ipa/rkisp1/algorithms/agc.cpp     |   3 +-
 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 +
 8 files changed, 284 insertions(+), 2 deletions(-)
 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