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>
This commit is contained in:
Jean-Michel Hautbois 2021-02-09 16:03:35 +01:00 committed by Kieran Bingham
parent 8201093830
commit eacde8036e

View file

@ -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,