libcamera: IPAManager: remove instance() and make createIPA() static
As the only usage of IPAManager::instance() is by the pipeline handlers to call IPAManager::createIPA(), remove the former and make the latter static. Update the pipeline handlers and tests accordingly. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
@@ -1118,7 +1118,7 @@ void RPiCameraData::frameStarted(uint32_t sequence)
|
||||
|
||||
int RPiCameraData::loadIPA()
|
||||
{
|
||||
ipa_ = IPAManager::instance()->createIPA(pipe_, 1, 1);
|
||||
ipa_ = IPAManager::createIPA(pipe_, 1, 1);
|
||||
if (!ipa_)
|
||||
return -ENOENT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user