ipa: rkisp1: agc: Move AeEnable control to the AGC algorithm
The AGC algorithm implements the AeEnable control at runtime. Move the declaration of the control from the IPA module to the algorithm. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
4ce519cdc5
commit
13a8fbeb5c
2 changed files with 1 additions and 1 deletions
|
@ -148,6 +148,7 @@ int Agc::init(IPAContext &context, const YamlObject &tuningData)
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
context.ctrlMap[&controls::AeEnable] = ControlInfo(false, true);
|
||||||
context.ctrlMap.merge(controls());
|
context.ctrlMap.merge(controls());
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -106,7 +106,6 @@ const IPAHwSettings ipaHwSettingsV12{
|
||||||
|
|
||||||
/* List of controls handled by the RkISP1 IPA */
|
/* List of controls handled by the RkISP1 IPA */
|
||||||
const ControlInfoMap::Map rkisp1Controls{
|
const ControlInfoMap::Map rkisp1Controls{
|
||||||
{ &controls::AeEnable, ControlInfo(false, true) },
|
|
||||||
{ &controls::AwbEnable, ControlInfo(false, true) },
|
{ &controls::AwbEnable, ControlInfo(false, true) },
|
||||||
{ &controls::ColourGains, ControlInfo(0.0f, 3.996f, 1.0f) },
|
{ &controls::ColourGains, ControlInfo(0.0f, 3.996f, 1.0f) },
|
||||||
{ &controls::Sharpness, ControlInfo(0.0f, 10.0f, 1.0f) },
|
{ &controls::Sharpness, ControlInfo(0.0f, 10.0f, 1.0f) },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue