From 9e1bd62de3c61bf6771f656fc1ed7ccdde4f2bba Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Thu, 22 Apr 2021 06:57:23 +0200 Subject: ipa: ipu3: Add support for IPU3 AEC/AGC algorithm Implement basic auto-exposure (AE) and auto-gain (AG) correction functions. The functions computeTargetExposure() and computeGain() are adapted from the Raspberry Pi AGC implementation to suit the IPU3 structures, and filtering is added to reduce visible stepsize when there are large exposure changes. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Tested-by: Jacopo Mondi Signed-off-by: Kieran Bingham --- src/ipa/ipu3/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ipa/ipu3/meson.build') diff --git a/src/ipa/ipu3/meson.build b/src/ipa/ipu3/meson.build index 1040698e..0d843846 100644 --- a/src/ipa/ipu3/meson.build +++ b/src/ipa/ipu3/meson.build @@ -4,6 +4,7 @@ ipa_name = 'ipa_ipu3' ipu3_ipa_sources = files([ 'ipu3.cpp', + 'ipu3_agc.cpp', 'ipu3_awb.cpp', ]) -- cgit v1.2.1