From 268882fa309c62cae8cccf1f2209bc32fc24fb05 Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Fri, 5 Nov 2021 21:24:15 +0100 Subject: ipa: ipu3: Move ExposureTime to IPA Now that we have the exposure time calculated, report it in the controls::ExposureTime and don't use the pipeline handler for it anymore. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Reviewed-by: Umang Jain Reviewed-by: Paul Elder --- src/ipa/ipu3/ipu3.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipa') diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp index f1597f78..dc6f2ced 100644 --- a/src/ipa/ipu3/ipu3.cpp +++ b/src/ipa/ipu3/ipu3.cpp @@ -630,6 +630,8 @@ void IPAIPU3::parseStatistics(unsigned int frame, ctrls.set(controls::ColourTemperature, context_.frameContext.awb.temperatureK); + ctrls.set(controls::ExposureTime, context_.frameContext.sensor.exposure * lineDuration_.get()); + /* * \todo The Metadata provides a path to getting extended data * out to the application. Further data such as a simplifed Histogram -- cgit v1.2.1