<div dir="ltr"><div dir="ltr">Hi Jacopo and David,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 23 Jun 2021 at 09:12, Jacopo Mondi <<a href="mailto:jacopo@jmondi.org">jacopo@jmondi.org</a>> wrote:<br></div><div> </div><div><snip></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><br>
> Are we saying that AeDisable means "stop adjusting the AEC/AGC<br>
> immediately, whether it's converged or not", but AeLock means "wait<br>
> until it's converged and then immediately stop adjusting the AEC/AGC"?<br>
<br>
If AeLock is set on a Converged state then yes, the values are not<br>
changed until the lock is lifted.<br>
<br>
Does the transition table repoted here helps ?<br>
<a href="https://developer.android.com/reference/android/hardware/camera2/CaptureResult#CONTROL_AE_STATE" rel="noreferrer" target="_blank">https://developer.android.com/reference/android/hardware/camera2/CaptureResult#CONTROL_AE_STATE</a><br>
<br>
Thanks<br>
   j<br></blockquote><div><br></div><div>Having a brief look at the above document, I think Jacopo's description makes</div><div>sense now.  Enabling AeLock locks the current AE computed values, whether</div><div>the algorithm has converged or not.  However, with AeLock set to on, other</div><div>controls are effectively ignored by the AE (e.g. <span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px">aePrecaptureTrigger, maybe</span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px">other things as well).  Not sure why this is the case, as the application surely</span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px">knows what state it wants the AE to be in...?</span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px"><br></span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px">We don't deal with pre-capture sequences in RPi AE, so for us AeLock and</span></div><div><font color="#202124" face="Roboto, Noto Sans, Noto Sans JP, Noto Sans KR, Noto Naskh Arabic, Noto Sans Thai, Noto Sans Hebrew, Noto Sans Bengali, sans-serif"><span style="font-size:14px;background-color:rgba(255,255,255,0.95)">AeDisable are actually the same thing.  Thinking about it, even with a pre-capture</span></font></div><div><font color="#202124" face="Roboto, Noto Sans, Noto Sans JP, Noto Sans KR, Noto Naskh Arabic, Noto Sans Thai, Noto Sans Hebrew, Noto Sans Bengali, sans-serif"><span style="font-size:14px;background-color:rgba(255,255,255,0.95)">sequence, we could probably say the same.  This may also be the case for</span></font></div><div><font color="#202124" face="Roboto, Noto Sans, Noto Sans JP, Noto Sans KR, Noto Naskh Arabic, Noto Sans Thai, Noto Sans Hebrew, Noto Sans Bengali, sans-serif"><span style="font-size:14px;background-color:rgba(255,255,255,0.95)">other vendor AE algorithms, but Android makes these states explicit.</span></font></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px"><br></span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px"> Or it could be that I've just completely misunderstood that document :-)</span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px"><br></span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px">Naush</span></div><div><span style="background-color:rgba(255,255,255,0.95);color:rgb(32,33,36);font-family:Roboto,"Noto Sans","Noto Sans JP","Noto Sans KR","Noto Naskh Arabic","Noto Sans Thai","Noto Sans Hebrew","Noto Sans Bengali",sans-serif;font-size:14px"><br></span></div><div><br></div></div></div>