ipa: rkisp1: Fill AGC and AWB metadata
Fill the frame metadata in the AGC and AWB algorithm's prepare() function. Additional metadata for other algorithms will be addressed later. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
c20ca6587d
commit
32d5f0d2a4
5 changed files with 28 additions and 2 deletions
|
@ -244,6 +244,8 @@ int IPARkISP1::configure([[maybe_unused]] const IPACameraSensorInfo &info,
|
|||
/* Set the hardware revision for the algorithms. */
|
||||
context_.configuration.hw.revision = hwRevision_;
|
||||
|
||||
const ControlInfo vBlank = ctrls_.find(V4L2_CID_VBLANK)->second;
|
||||
context_.configuration.sensor.defVBlank = vBlank.def().get<int32_t>();
|
||||
context_.configuration.sensor.size = info.outputSize;
|
||||
context_.configuration.sensor.lineDuration = info.minLineLength * 1.0s / info.pixelRate;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue