[libcamera-devel,0/3] Basic AF control for IPU3
mbox series

Message ID 20220916103713.21132-1-hpa@redhat.com
Headers show
  • Basic AF control for IPU3
Related show


Kate Hsuan Sept. 16, 2022, 10:37 a.m. UTC
The basic AF control includes AF mode selection and lens position
settings. The AF mode behaviors are described as follows.

1. Auto mode
The AF result is not sensitive to the change in the image variance so if
the algorithm finds the focus, and the focus will be persisted until the
variance is significantly changed.

2. Continuous mode
The AF result is highly affected by the change in image variance. The
focus result will be changed according to the environment immediately.

3. Manual mode
The user is allowed to set the lens position.

Kate Hsuan (3):
  ipu3: Registering AF controls
  ipa: ipu3: Drive requestQueue when controls are accepted
  ipa: ipu3: af: AfMode and LensPosition control implementation

 src/ipa/ipu3/algorithms/af.cpp       | 106 +++++++++++++++++++++++----
 src/ipa/ipu3/algorithms/af.h         |  15 ++++
 src/ipa/ipu3/ipu3.cpp                |   7 ++
 src/libcamera/pipeline/ipu3/ipu3.cpp |   2 +
 4 files changed, 114 insertions(+), 16 deletions(-)