[libcamera-devel] [PATCH 0/3] Basic AF control for IPU3

Kate Hsuan hpa at redhat.com
Fri Sep 16 12:37:10 CEST 2022


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(-)

-- 
2.37.3



More information about the libcamera-devel mailing list