diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2021-05-21 19:48:28 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2021-05-27 17:05:29 +0900 |
commit | 6c5f3fe6ced796eb396926a22394a45724e02fef (patch) | |
tree | 1b7551186d37b9b4452c040152f3b3f59afaf98a | |
parent | 3beb1accac1d9eff6cc36681915b943413081593 (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>
-rw-r--r-- | src/ipa/ipu3/ipu3.cpp | 4 |
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; |