[libcamera-devel] [PATCH 20/20] ipa: rpi: agc: When AGC channels are changed, start with the 1st channel
Naushir Patuck
naush at raspberrypi.com
Thu Oct 12 15:11:21 CEST 2023
Hi Jacopo,
Thank you for the review.
On Thu, 12 Oct 2023 at 11:57, Jacopo Mondi
<jacopo.mondi at ideasonboard.com> wrote:
>
> Hi Naush
>
> On Fri, Oct 06, 2023 at 02:20:00PM +0100, Naushir Patuck via libcamera-devel wrote:
> > 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.
>
> The user won't be able to cycle through channels directly, but the HDR
> algorithm will, right ?
Correct!
> So this doesn't need to be documented anywhere
> perhaps...
We do have a job of updating our IPA/tuning guide and this will have
to be noted there.
Regards,
Naush
>
> >
> > Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
> > Reviewed-by: David Plowman <david.plowman at raspberrypi.com>
>
> Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>
>
> Thanks
> j
>
> > ---
> > src/ipa/rpi/controller/rpi/agc.cpp | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/src/ipa/rpi/controller/rpi/agc.cpp b/src/ipa/rpi/controller/rpi/agc.cpp
> > index 758da0719b9b..32eb36242268 100644
> > --- a/src/ipa/rpi/controller/rpi/agc.cpp
> > +++ b/src/ipa/rpi/controller/rpi/agc.cpp
> > @@ -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,
> > --
> > 2.34.1
> >
More information about the libcamera-devel
mailing list