summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorDaniel Semkowicz <dse@thaumatec.com>2023-01-19 09:41:10 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-09-04 14:08:51 +0200
commit3af2e35ac5a817f1fbf35adec0a97fba2c67f2fd (patch)
tree469a63c30740663af62adf5bd77655f0966ea6a0 /src/ipa
parent568a7a20f1bfe03b973029b62cebf11e853e7abf (diff)
pipeline: rkisp1: Add basic AF controls to the supported controls list
This will expose the AF controls and will allow controlling them using the top level API. Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/rkisp1/rkisp1.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index 297161b2..2ad711d5 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -101,11 +101,15 @@ namespace {
/* List of controls handled by the RkISP1 IPA */
const ControlInfoMap::Map rkisp1Controls{
{ &controls::AeEnable, ControlInfo(false, true) },
+ { &controls::AfMode, ControlInfo(controls::AfModeValues) },
+ { &controls::AfPause, ControlInfo(controls::AfPauseValues) },
+ { &controls::AfTrigger, ControlInfo(controls::AfTriggerValues) },
{ &controls::AwbEnable, ControlInfo(false, true) },
{ &controls::ColourGains, ControlInfo(0.0f, 3.996f, 1.0f) },
{ &controls::Brightness, ControlInfo(-1.0f, 0.993f, 0.0f) },
{ &controls::Contrast, ControlInfo(0.0f, 1.993f, 1.0f) },
{ &controls::Saturation, ControlInfo(0.0f, 1.993f, 1.0f) },
+ { &controls::LensPosition, ControlInfo(0.0f, 2147483647.0f) },
{ &controls::Sharpness, ControlInfo(0.0f, 10.0f, 1.0f) },
{ &controls::draft::NoiseReductionMode, ControlInfo(controls::draft::NoiseReductionModeValues) },
};