ipa: rkisp1: Use the Algorithm class
Now that libipa offers a templated class for Algorithm, use it in RkISP1. Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
fdf1426694
commit
55c07ed4db
4 changed files with 40 additions and 1 deletions
|
@ -25,9 +25,11 @@
|
|||
|
||||
#include <libcamera/internal/mapped_framebuffer.h>
|
||||
|
||||
#include "ipa_context.h"
|
||||
#include "algorithms/algorithm.h"
|
||||
#include "libipa/camera_sensor_helper.h"
|
||||
|
||||
#include "ipa_context.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
LOG_DEFINE_CATEGORY(IPARkISP1)
|
||||
|
@ -82,6 +84,9 @@ private:
|
|||
|
||||
/* Local parameter storage */
|
||||
struct IPAContext context_;
|
||||
|
||||
/* Maintain the algorithms used by the IPA */
|
||||
std::list<std::unique_ptr<ipa::rkisp1::Algorithm>> algorithms_;
|
||||
};
|
||||
|
||||
int IPARkISP1::init(const IPASettings &settings, unsigned int hwRevision)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue