[libcamera-devel] [PATCH v2 0/3] libcamera: rkisp1: Add lens control

Daniel Semkowicz dse at thaumatec.com
Tue Aug 9 16:47:01 CEST 2022


Hi,

This patch set adds lens control that is needed by auto focus algorithms.
AF algorithms can control the absolute focus by setting
"context.frameContext.af.lensPosition" value during process() method.

These changes base on the similar code for IPU3 and Raspberry Pi.

Changes in v2:
- Remove unnecessary lens validation
- Rearrange commits

Best regards
Daniel Semkowicz

Daniel Semkowicz (3):
  libcamera: rkisp1: ipa: Rename ctrls_ to sensorCtrls_
  rkisp1: Add camera lens to PH and expose it to the IPA
  rkisp1: Add camera lens position control from IPA

 include/libcamera/ipa/rkisp1.mojom       |  1 +
 src/ipa/rkisp1/ipa_context.h             |  5 ++++
 src/ipa/rkisp1/rkisp1.cpp                | 33 +++++++++++++++++++-----
 src/libcamera/pipeline/rkisp1/rkisp1.cpp | 21 +++++++++++++++
 4 files changed, 53 insertions(+), 7 deletions(-)

-- 
2.34.1



More information about the libcamera-devel mailing list