[libcamera-devel,v1,0/3] Default lens behaviour
mbox series

Message ID 20230601095630.25443-1-naush@raspberrypi.com
Headers show
Series
  • Default lens behaviour
Related show

Message

Naushir Patuck June 1, 2023, 9:56 a.m. UTC
Hi,

From the discussions on the GStreamer focus controls thread [1], we decided to
define a default behaviour for camera startup to be handled by the IPA.

This series explicitly defines a default behaviour by requiring the IPA put the
lens to the position given by the controls::LensPosition default value.
Typically this would be the hyperfocal position.  Patch 1 updates the controls
documentation, while patches 2 and 3 make the necessary changes to the RPi IPA
to move the lens on the first call to ipa->configure().

Regards,
Naush

[1]: https://lists.libcamera.org/pipermail/libcamera-devel/2023-June/038008.html

Naushir Patuck (3):
  libcamera: controls: Define a default lens position behaviour
  pipeline: ipa: rpi: Return lens controls from ipa->configure()
  ipa: rpi: Set lens position to hyperfocal on startup

 include/libcamera/ipa/raspberrypi.mojom           |  3 ++-
 src/ipa/rpi/common/ipa_base.cpp                   | 15 ++++++++++++++-
 src/libcamera/control_ids.yaml                    |  5 +++++
 .../pipeline/rpi/common/pipeline_base.cpp         |  6 ++++--
 4 files changed, 25 insertions(+), 4 deletions(-)