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

@ -52,6 +52,8 @@ void BlackLevelCorrection::prepare(IPAContext &context,
params->module_cfg_update |= RKISP1_CIF_ISP_MODULE_BLS;
}
REGISTER_IPA_ALGORITHM(BlackLevelCorrection, "BlackLevelCorrection")
} /* namespace ipa::rkisp1::algorithms */
} /* namespace libcamera */