libcamera: software_isp: Add contrast control
This patch introduces support for applying runtime controls to software ISP. It enables the contrast control as the first control that can be used. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
9135aacff1
commit
3930b94021
@@ -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)
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ public:
|
||||
Lut() = default;
|
||||
~Lut() = default;
|
||||
|
||||
int init(IPAContext &context, const YamlObject &tuningData) override;
|
||||
int configure(IPAContext &context, const IPAConfigInfo &configInfo) override;
|
||||
void queueRequest(typename Module::Context &context,
|
||||
const uint32_t frame,
|
||||
|
||||
Reference in New Issue
Block a user