From eacde8036e7dc26b41ac37b13ba38a4f9d7d9563 Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Tue, 9 Feb 2021 16:03:35 +0100 Subject: ipa: ipu3: Don't call SetControls for each frame Setting a default EXPOSURE and ANALOGUE_GAIN makes sense for the first frame but there is no need to force it for all frames. It will be called later by the 3A algorithms. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Kieran Bingham Signed-off-by: Kieran Bingham --- src/ipa/ipu3/ipu3.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp index fcd8889c..b63e58be 100644 --- a/src/ipa/ipu3/ipu3.cpp +++ b/src/ipa/ipu3/ipu3.cpp @@ -170,9 +170,6 @@ void IPAIPU3::fillParams(unsigned int frame, ipu3_uapi_params *params) op.op = ipa::ipu3::ActionParamFilled; queueFrameAction.emit(frame, op); - - /* \todo Calculate new values for exposure_ and gain_. */ - setControls(frame); } void IPAIPU3::parseStatistics(unsigned int frame, -- cgit v1.2.1