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>
This commit is contained in:
Paul Elder 2021-05-21 19:48:28 +09:00
parent 3beb1accac
commit 6c5f3fe6ce

View file

@ -269,6 +269,10 @@ void IPAIPU3::parseStatistics(unsigned int frame,
if (agcAlgo_->updateControls()) if (agcAlgo_->updateControls())
setControls(frame); setControls(frame);
/* \todo Populate this with real values */
ctrls.set(controls::FrameDuration,
static_cast<int64_t>(33334));
IPU3Action op; IPU3Action op;
op.op = ActionMetadataReady; op.op = ActionMetadataReady;
op.controls = ctrls; op.controls = ctrls;