[v2,0/2] ipa: rkisp1: Add lux estimation
mbox series

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

Message

Paul Elder Dec. 16, 2024, 9:49 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.

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