<div dir="ltr">Hi,<div><br></div><div>Gentle ping for some feedback on this change.</div><div><br></div><div>Thanks,</div><div>Naush</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 22 Jul 2021 at 12:57, Naushir Patuck <<a href="mailto:naush@raspberrypi.com">naush@raspberrypi.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Return controls::FrameDuration through the per-frame Request metadata. The<br>
frame duration is obtained by either the value in DelayedControls, or<br>
(preferably) the value parsed from the embedded data buffer.<br>
<br>
Signed-off-by: Naushir Patuck <<a href="mailto:naush@raspberrypi.com" target="_blank">naush@raspberrypi.com</a>><br>
---<br>
 src/ipa/raspberrypi/raspberrypi.cpp | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp<br>
index 5cd333049807..b08602f474af 100644<br>
--- a/src/ipa/raspberrypi/raspberrypi.cpp<br>
+++ b/src/ipa/raspberrypi/raspberrypi.cpp<br>
@@ -465,6 +465,8 @@ void IPARPi::reportMetadata()<br>
                libcameraMetadata_.set(controls::ExposureTime,<br>
                                       deviceStatus->shutter_speed.get<std::micro>());<br>
                libcameraMetadata_.set(controls::AnalogueGain, deviceStatus->analogue_gain);<br>
+               libcameraMetadata_.set(controls::FrameDuration,<br>
+                                      helper_->Exposure(deviceStatus->frame_length).get<std::micro>());<br>
        }<br>
<br>
        AgcStatus *agcStatus = rpiMetadata_.GetLocked<AgcStatus>("agc.status");<br>
-- <br>
2.25.1<br>
<br>
</blockquote></div>