From 6d20a93177e89a35e5a2b2372df63c6505879258 Mon Sep 17 00:00:00 2001 From: Florian Sylvestre Date: Fri, 5 Aug 2022 14:40:26 +0200 Subject: ipa: rkisp1: Add enable field for LSC algorithm in IPA context Add an enable variable in the lsc struct in IPASessionConfiguration which indicates if the LSC hardware module is enabled. This will allow other algorithms to retrieve this information. Signed-off-by: Florian Sylvestre Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Reviewed-by: Umang Jain Reviewed-by: Paul Elder --- src/ipa/rkisp1/ipa_context.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ipa/rkisp1/ipa_context.h') diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h index 07202bea..fb4311f6 100644 --- a/src/ipa/rkisp1/ipa_context.h +++ b/src/ipa/rkisp1/ipa_context.h @@ -32,6 +32,10 @@ struct IPASessionConfiguration { bool enabled; } awb; + struct { + bool enabled; + } lsc; + struct { utils::Duration lineDuration; Size size; -- cgit v1.2.1