[v5,22/36] ipa: libipa: lsc: Introduce lsc::FrameContext
diff mbox series

Message ID 20260708-libipa-algorithms-v5-22-0759d0359f52@ideasonboard.com
State New
Headers show
Series
  • ipa: libipa: Introduce libipa algorithms
Related show

Commit Message

Jacopo Mondi July 8, 2026, 3:51 p.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 437666855354..382cafc04ab4 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 */