summaryrefslogtreecommitdiff
path: root/src/ipa/ipu3/ipu3.cpp
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2021-05-21 19:48:28 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2021-05-27 17:05:29 +0900
commit6c5f3fe6ced796eb396926a22394a45724e02fef (patch)
tree1b7551186d37b9b4452c040152f3b3f59afaf98a /src/ipa/ipu3/ipu3.cpp
parent3beb1accac1d9eff6cc36681915b943413081593 (diff)
ipa: ipu3: Set output frame duration metadata
The sensor frame duration should be set by the IPA. Hardcode it for now. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Diffstat (limited to 'src/ipa/ipu3/ipu3.cpp')
-rw-r--r--src/ipa/ipu3/ipu3.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp
index 581297be..700a5660 100644
--- a/src/ipa/ipu3/ipu3.cpp
+++ b/src/ipa/ipu3/ipu3.cpp
@@ -269,6 +269,10 @@ void IPAIPU3::parseStatistics(unsigned int frame,
if (agcAlgo_->updateControls())
setControls(frame);
+ /* \todo Populate this with real values */
+ ctrls.set(controls::FrameDuration,
+ static_cast<int64_t>(33334));
+
IPU3Action op;
op.op = ActionMetadataReady;
op.controls = ctrls;