[0/3] ipa: rkisp1: Add lux estimation
mbox series

Message ID 20240412091700.1817754-1-paul.elder@ideasonboard.com
Headers show
Series
  • ipa: rkisp1: Add lux estimation
Related show

Message

Paul Elder April 12, 2024, 9:16 a.m. UTC
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