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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2022-06-17 11:23:13 +02:00
parent 011a4668fb
commit d22c0020ef
3 changed files with 6 additions and 0 deletions

View file

@ -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 */