summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/lsc.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-03-08 17:07:34 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-03-08 17:32:01 +0100
commit97da589e657467f1d1e5d48b7fb838e1ad9e988d (patch)
tree351426eae31d15f67e642891fbffe987ba090f6b /src/ipa/rkisp1/algorithms/lsc.h
parentc0c5c2819a1141238f114d93c0ee1d1a7c8bc3c4 (diff)
ipa: rkisp1: lsc: Move 'enable' to activeState
Now that the LSC algorithm can be enabled and disabled at run-time, move the 'enabled' flag from the context's configuration to the algorithm's active state. This allows to populate the LensShadingEnable metadata in the process() function implementation. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/lsc.h')
-rw-r--r--src/ipa/rkisp1/algorithms/lsc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipa/rkisp1/algorithms/lsc.h b/src/ipa/rkisp1/algorithms/lsc.h
index 4708065b..e9770f40 100644
--- a/src/ipa/rkisp1/algorithms/lsc.h
+++ b/src/ipa/rkisp1/algorithms/lsc.h
@@ -29,6 +29,10 @@ public:
void prepare(IPAContext &context, const uint32_t frame,
IPAFrameContext &frameContext,
rkisp1_params_cfg *params) override;
+ void process(IPAContext &context, const uint32_t frame,
+ IPAFrameContext &frameContext,
+ const rkisp1_stat_buffer *stats,
+ ControlList &metadata) override;
private:
struct Components {