diff options
author | Daniel Semkowicz <dse@thaumatec.com> | 2023-01-19 09:41:06 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-09-04 14:08:50 +0200 |
commit | e78832cf91a81539f6188cf38739c3547b74684b (patch) | |
tree | c4eda9fa70567a7258b04488a4f4e9ba8f964261 /src/ipa/rkisp1/ipa_context.h | |
parent | 446647fb1d8161a74a59a7c6d127017ccdbeb3a5 (diff) |
rkisp1: Control camera lens position from IPA
Allow control of lens position from the IPA, by setting corresponding
af fields in the IPAFrameContext structure. Controls are then passed to
the pipeline handler, which sets the lens position in CameraLens.
Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Diffstat (limited to 'src/ipa/rkisp1/ipa_context.h')
-rw-r--r-- | src/ipa/rkisp1/ipa_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h index b9b20653..1fac6af9 100644 --- a/src/ipa/rkisp1/ipa_context.h +++ b/src/ipa/rkisp1/ipa_context.h @@ -54,6 +54,11 @@ struct IPASessionConfiguration { struct IPAActiveState { struct { + uint32_t lensPosition; + bool applyLensCtrls; + } af; + + struct { struct { uint32_t exposure; double gain; |