summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-02-09 16:03:35 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-02-19 14:14:27 +0000
commiteacde8036e7dc26b41ac37b13ba38a4f9d7d9563 (patch)
treebc24140cdcfbf61b1062bf4f897d157493964dc6
parent8201093830845f1ce420b8ca1dc550cd5a421b26 (diff)
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 <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/ipa/ipu3/ipu3.cpp3
1 files changed, 0 insertions, 3 deletions
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,