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