diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ipa/ipu3/ipu3.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp index 3b74ca6b..1ea2c898 100644 --- a/src/ipa/ipu3/ipu3.cpp +++ b/src/ipa/ipu3/ipu3.cpp @@ -679,6 +679,11 @@ void IPAIPU3::setControls(unsigned int frame) ctrls.set(V4L2_CID_ANALOGUE_GAIN, static_cast<int32_t>(gain_)); op.sensorControls = ctrls; + ControlList lensCtrls(lensCtrls_); + lensCtrls.set(V4L2_CID_FOCUS_ABSOLUTE, + static_cast<int32_t>(context_.frameContext.af.focus)); + op.lensControls = lensCtrls; + queueFrameAction.emit(frame, op); } |