[libcamera-devel,v2,0/3] libcamera: rkisp1: Add lens control
mbox series

Message ID 20220809144704.61682-1-dse@thaumatec.com
Headers show
Series
  • libcamera: rkisp1: Add lens control
Related show

Message

Daniel Semkowicz Aug. 9, 2022, 2:47 p.m. UTC
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(-)