ipa: rpi: agc: When AGC channels are changed, start with the 1st channel
Whenever the AGC active channels are changed, start with the first channel listed. This allows applications to rely on a particular channel being generated first. For example, multi-exposure HDR always wants the short channel first. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
daeaf681c9
commit
d848d2a21c
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ void Agc::setActiveChannels(const std::vector<unsigned int> &activeChannels)
|
|||
|
||||
LOG(RPiAgc, Debug) << "setActiveChannels " << activeChannels;
|
||||
activeChannels_ = activeChannels;
|
||||
index_ = 0;
|
||||
}
|
||||
|
||||
void Agc::switchMode(CameraMode const &cameraMode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue