From bd077a11eed5bad324cfe72ae04f8d3835bb2459 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Mon, 16 Dec 2024 16:01:48 +0900 Subject: ipa: libipa: Add Lux helper Add a Lux helper to libipa that does the estimation of the lux level given gain, exposure, and luminance histogram. The helper also handles reading the reference values from the tuning file. These are expected to be common operations of lux algorithm modules in IPAs, and is modeled/copied from Raspberry Pi. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Isaac Scott --- src/ipa/libipa/meson.build | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipa/libipa/meson.build') diff --git a/src/ipa/libipa/meson.build b/src/ipa/libipa/meson.build index a7f16ff6..f2b2f4be 100644 --- a/src/ipa/libipa/meson.build +++ b/src/ipa/libipa/meson.build @@ -11,6 +11,7 @@ libipa_headers = files([ 'histogram.h', 'interpolator.h', 'lsc_polynomial.h', + 'lux.h', 'module.h', 'pwl.h', 'vector.h', @@ -27,6 +28,7 @@ libipa_sources = files([ 'histogram.cpp', 'interpolator.cpp', 'lsc_polynomial.cpp', + 'lux.cpp', 'module.cpp', 'pwl.cpp', 'vector.cpp', -- cgit v1.2.1