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

Message ID 20260708-libipa-algorithms-v5-22-0759d0359f52@ideasonboard.com
State Superseded
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(+)

Comments

Kieran Bingham July 14, 2026, 4:53 p.m. UTC | #1
Quoting Jacopo Mondi (2026-07-08 16:51:04)
> Introduce the Lsc algorithm frame context in lsc.h.
> 

I think I'd squash this in to which ever patch is the first user, but
otherwise:

Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> 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(+)
> 
> 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 */
> 
> -- 
> 2.54.0
>

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 */