summaryrefslogtreecommitdiff
path: root/src/ipa/simple/algorithms/lut.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/simple/algorithms/lut.cpp')
-rw-r--r--src/ipa/simple/algorithms/lut.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ipa/simple/algorithms/lut.cpp b/src/ipa/simple/algorithms/lut.cpp
index dd76e117..0ba2391f 100644
--- a/src/ipa/simple/algorithms/lut.cpp
+++ b/src/ipa/simple/algorithms/lut.cpp
@@ -24,6 +24,13 @@ LOG_DEFINE_CATEGORY(IPASoftLut)
namespace ipa::soft::algorithms {
+int Lut::init(IPAContext &context,
+ [[maybe_unused]] const YamlObject &tuningData)
+{
+ context.ctrlMap[&controls::Contrast] = ControlInfo(0.0f, 2.0f, 1.0f);
+ return 0;
+}
+
int Lut::configure(IPAContext &context,
[[maybe_unused]] const IPAConfigInfo &configInfo)
{