ipa: raspberrypi: Populate libcamera metadata after controller process
For control algorithms like focus, this is needed to return out the the current frame focus statistics. For other algorithms, there is no functional change. Signed-off-By: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
c905870cd0
commit
64652e26d7
1 changed files with 2 additions and 1 deletions
|
@ -318,6 +318,8 @@ void IPARPi::processEvent(const IPAOperationData &event)
|
|||
if (frame_count_ > mistrust_count_)
|
||||
processStats(bufferId);
|
||||
|
||||
reportMetadata();
|
||||
|
||||
IPAOperationData op;
|
||||
op.operation = RPI_IPA_ACTION_STATS_METADATA_COMPLETE;
|
||||
op.data = { bufferId & RPiIpaMask::ID };
|
||||
|
@ -336,7 +338,6 @@ void IPARPi::processEvent(const IPAOperationData &event)
|
|||
* they are "unreliable".
|
||||
*/
|
||||
prepareISP(embeddedbufferId);
|
||||
reportMetadata();
|
||||
|
||||
/* Ready to push the input buffer into the ISP. */
|
||||
IPAOperationData op;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue