From 6c5f3fe6ced796eb396926a22394a45724e02fef Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Fri, 21 May 2021 19:48:28 +0900 Subject: 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 Reviewed-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Reviewed-by: Hirokazu Honda --- src/ipa/ipu3/ipu3.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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(33334)); + IPU3Action op; op.op = ActionMetadataReady; op.controls = ctrls; -- cgit v1.2.1