summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-21 13:13:04 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-09-28 05:41:10 +0300
commit9f5ab89fb30c2f9da2b1b57c096c6fdf0793a68e (patch)
tree5f54dd804410c313be33d15aa2b76013a3b614a3
parent906373331f1bc1a0411a48ef5ae3d1d54c19122c (diff)
ipa: rkisp1: Use base FrameContext class
Inherit from the base FrameContext class in the RkISP1 IPAFrameContext. As the IPAFrameContext is currently unused, this change is a no-op, but it prepares the RkISP1 IPA module for frame context queue support. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--src/ipa/rkisp1/ipa_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h
index 5590482c..f6b3e6eb 100644
--- a/src/ipa/rkisp1/ipa_context.h
+++ b/src/ipa/rkisp1/ipa_context.h
@@ -14,6 +14,8 @@
#include <libcamera/geometry.h>
+#include <libipa/fc_queue.h>
+
namespace libcamera {
namespace ipa::rkisp1 {
@@ -89,7 +91,7 @@ struct IPAActiveState {
unsigned int frameCount;
};
-struct IPAFrameContext {
+struct IPAFrameContext : public FrameContext {
};
struct IPAContext {