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:
parent
011a4668fb
commit
d22c0020ef
3 changed files with 6 additions and 0 deletions
|
@ -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 */
|
||||
|
|
|
@ -175,6 +175,8 @@ void Awb::process([[maybe_unused]] IPAContext &context,
|
|||
<< " and for blue: " << context.frameContext.awb.gains.blue;
|
||||
}
|
||||
|
||||
REGISTER_IPA_ALGORITHM(Awb, "Awb")
|
||||
|
||||
} /* namespace ipa::rkisp1::algorithms */
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue