ipa: raspberrypi: Return controls::FrameDuration from the IPA
Return controls::FrameDuration through the per-frame Request metadata. The frame duration is obtained by either the value in DelayedControls, or (preferably) the value parsed from the embedded data buffer. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
e87fb20f8f
commit
b40a8d4b45
1 changed files with 2 additions and 0 deletions
|
@ -465,6 +465,8 @@ void IPARPi::reportMetadata()
|
|||
libcameraMetadata_.set(controls::ExposureTime,
|
||||
deviceStatus->shutter_speed.get<std::micro>());
|
||||
libcameraMetadata_.set(controls::AnalogueGain, deviceStatus->analogue_gain);
|
||||
libcameraMetadata_.set(controls::FrameDuration,
|
||||
helper_->Exposure(deviceStatus->frame_length).get<std::micro>());
|
||||
}
|
||||
|
||||
AgcStatus *agcStatus = rpiMetadata_.GetLocked<AgcStatus>("agc.status");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue