[v3,21/35] ipa: libipa: lsc: Introduce lsc::FrameContext
diff mbox series

Message ID 20260706-libipa-algorithms-v3-21-968757b038bb@ideasonboard.com
State New
Headers show
Series
  • ipa: libipa: Introduce libipa algorithms
Related show

Commit Message

Jacopo Mondi July 6, 2026, 8:01 a.m. UTC
Introduce the Lsc algorithm frame context in lsc.h.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
---
 src/ipa/libipa/lsc.cpp | 11 +++++++++++
 src/ipa/libipa/lsc.h   |  5 +++++
 2 files changed, 16 insertions(+)

Patch
diff mbox series

diff --git a/src/ipa/libipa/lsc.cpp b/src/ipa/libipa/lsc.cpp
index 9836f27162ba..b789ae98529f 100644
--- a/src/ipa/libipa/lsc.cpp
+++ b/src/ipa/libipa/lsc.cpp
@@ -26,6 +26,17 @@  namespace lsc {
  * \brief Boolean flag for the LscAlgorithm enable status
  */
 
+/**
+ * \struct FrameContext
+ * \brief The lsc frame context
+ *
+ * \var FrameContext::enabled
+ * \brief Boolean flag for the LscAlgorithm enable status
+ *
+ * \var FrameContext::update
+ * \brief Boolean flag for the LscAlgorithm updated status
+ */
+
 } /* namespace lsc */
 
 } /* namespace ipa */
diff --git a/src/ipa/libipa/lsc.h b/src/ipa/libipa/lsc.h
index 18c9fa25e53a..73519564feff 100644
--- a/src/ipa/libipa/lsc.h
+++ b/src/ipa/libipa/lsc.h
@@ -17,6 +17,11 @@  struct ActiveState {
 	bool enabled;
 };
 
+struct FrameContext {
+	bool enabled;
+	bool update;
+};
+
 } /* namespace lsc */
 
 } /* namespace ipa */