Message ID | 20230602060947.16309-1-laurent.pinchart@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
Hi Laurent, Seems clearer, I'm happy with this change! Regards, Naush On Fri, 2 Jun 2023 at 07:09, Laurent Pinchart <laurent.pinchart@ideasonboard.com> wrote: > > From: Naushir Patuck <naush@raspberrypi.com> > > Update the AfMode control description to explicitly define a > startup/default behaviour. > > On startup, the camera will move the lens to the position given by the > default value of the LensPosition control if operating in manual focus > mode. Typically this would be the hyperfocal position of the lens. > > Signed-off-by: Naushir Patuck <naush@raspberrypi.com> > --- > src/libcamera/control_ids.yaml | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml > index 76d41f5f2a5a..985f792a53c1 100644 > --- a/src/libcamera/control_ids.yaml > +++ b/src/libcamera/control_ids.yaml > @@ -408,7 +408,15 @@ controls: > LensPosition control. > > In this mode the AfState will always report AfStateIdle. > - - name: AfModeAuto > + > + If the camera is started is AfModeManual, it will move the focus > + lens to the position specified by the LensPosition control. > + > + This mode is the recommended default value for the AfMode control. > + External cameras (as reported by the Location property set to > + CameraLocationExternal) may use a different default value. > + > + name: AfModeAuto > value: 1 > description: | > The AF algorithm is in auto mode. This means that the algorithm > -- > Regards, > > Laurent Pinchart >
diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml index 76d41f5f2a5a..985f792a53c1 100644 --- a/src/libcamera/control_ids.yaml +++ b/src/libcamera/control_ids.yaml @@ -408,7 +408,15 @@ controls: LensPosition control. In this mode the AfState will always report AfStateIdle. - - name: AfModeAuto + + If the camera is started is AfModeManual, it will move the focus + lens to the position specified by the LensPosition control. + + This mode is the recommended default value for the AfMode control. + External cameras (as reported by the Location property set to + CameraLocationExternal) may use a different default value. + + name: AfModeAuto value: 1 description: | The AF algorithm is in auto mode. This means that the algorithm