diff options
author | Daniel Semkowicz via libcamera-devel <libcamera-devel@lists.libcamera.org> | 2022-06-28 11:06:56 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2022-07-14 17:06:46 +0200 |
commit | c0ec98a6b90bb55e838f2cff272503ee55db456a (patch) | |
tree | da856edd3139c6a6aafb3303521f4c8fb0c78f72 /src/ipa/rkisp1/ipa_context.h | |
parent | 7c52f539350998bda947a9083dc6c83ab7dd8273 (diff) |
libcamera: rkisp1: Control the lens from IPA
Check if lens are available and have ability to control the focus.
Connect IPA setLensControls() signal to the pipeline slot that controls
the lens. If lens are valid, allow changing the focus from IPA by
emitting signal to the pipeline.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h index f387cace..4b199048 100644 --- a/src/ipa/rkisp1/ipa_context.h +++ b/src/ipa/rkisp1/ipa_context.h @@ -42,6 +42,10 @@ struct IPASessionConfiguration { struct IPAFrameContext { struct { + uint32_t focus; + } af; + + struct { uint32_t exposure; double gain; } agc; |