From d22c0020ef48a92e88c62e01cecc624b8674b8ed Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 17 Jun 2022 11:23:13 +0200 Subject: ipa: rkisp1: Register algorithms To prepare for dynamic instantiation of algorithms from the tuning file, register the algorithms with the Module class. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder --- src/ipa/rkisp1/algorithms/agc.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipa/rkisp1/algorithms/agc.cpp') diff --git a/src/ipa/rkisp1/algorithms/agc.cpp b/src/ipa/rkisp1/algorithms/agc.cpp index b5a184d9..a1bb7d97 100644 --- a/src/ipa/rkisp1/algorithms/agc.cpp +++ b/src/ipa/rkisp1/algorithms/agc.cpp @@ -355,6 +355,8 @@ void Agc::prepare(IPAContext &context, rkisp1_params_cfg *params) params->module_en_update |= RKISP1_CIF_ISP_MODULE_HST; } +REGISTER_IPA_ALGORITHM(Agc, "Agc") + } /* namespace ipa::rkisp1::algorithms */ } /* namespace libcamera */ -- cgit v1.2.1