ipa: libipa: algorithm: queueRequest(): Pass frame context
IPA modules have access to incoming Request's controls list and need to store them in the frame context at queueRequest() time. Pass the frame context to the Algorithm::queueRequest() function. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
494662f082
commit
80cfe8f0f7
11 changed files with 14 additions and 1 deletions
|
@ -291,8 +291,11 @@ void IPARkISP1::unmapBuffers(const std::vector<unsigned int> &ids)
|
|||
|
||||
void IPARkISP1::queueRequest(const uint32_t frame, const ControlList &controls)
|
||||
{
|
||||
/* \todo Obtain the frame context to pass to process from the FCQueue */
|
||||
IPAFrameContext frameContext;
|
||||
|
||||
for (auto const &algo : algorithms())
|
||||
algo->queueRequest(context_, frame, controls);
|
||||
algo->queueRequest(context_, frame, frameContext, controls);
|
||||
}
|
||||
|
||||
void IPARkISP1::fillParamsBuffer(const uint32_t frame, const uint32_t bufferId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue