From patchwork Thu Sep 8 01:41:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17324 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 0D7A6C3272 for ; Thu, 8 Sep 2022 01:42:41 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BC0CD620D5; Thu, 8 Sep 2022 03:42:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1662601360; bh=8j/YBvvGgMJbJ53tc0F+C0YHVXUyQt69ZY96MUcTtMs=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=FJo+qguEZidXieHEm+rxirpzG/7P78yekX/KOZ+joNkTqW0bvyKGo+734W1HVz+f7 h3pf5b9PjJ+FNluXF6IjStoGm4cs7PVs3f7IQOTK6c0o30eboYEl0JT7JIRxsOsGO/ c3BoVtjguCtptZfm+k0r2r3n1kTqCX6i9RfJ/mEaaY2k+l5hzSNih1oCW/2TmIUU3o mWbM09mZyMUF4fptSVHDsFc17+WMv5Xyd9RFjaw6lC6Mi7n5sW38Vm8tqdXMlXpYy3 Pn6w2FdYnVQf6vrvGm06uyrgG1HSTNrzcK4vxZElOfHLVYq6bf3hlk4BfLtSnyp9U8 fqGst8fUOGkIw== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DAADC620BE for ; Thu, 8 Sep 2022 03:42:38 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="JWynqFBG"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 671D0888 for ; Thu, 8 Sep 2022 03:42:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1662601358; bh=8j/YBvvGgMJbJ53tc0F+C0YHVXUyQt69ZY96MUcTtMs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JWynqFBGsC5BszpQuMVGjlj+uhYpodBV4lxh7cbu/YihPppzJeUx75Eddd47sxuFs /F8CwSylwhPhPRBx6EKwV7PC3at32pdc11guklAWDqUQVffZyPOtDvXm7QA29RAs6o Fql1lNnw7ZjDhexljLoULshbOMz+kTGqyiIOSgmU= To: libcamera-devel@lists.libcamera.org Date: Thu, 8 Sep 2022 04:41:43 +0300 Message-Id: <20220908014200.28728-16-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220908014200.28728-1-laurent.pinchart@ideasonboard.com> References: <20220908014200.28728-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 15/32] ipa: rkisp1: Use base FrameContext class X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi --- src/ipa/rkisp1/ipa_context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h index 5590482c6a8c..f6b3e6eb951c 100644 --- a/src/ipa/rkisp1/ipa_context.h +++ b/src/ipa/rkisp1/ipa_context.h @@ -14,6 +14,8 @@ #include +#include + namespace libcamera { namespace ipa::rkisp1 { @@ -89,7 +91,7 @@ struct IPAActiveState { unsigned int frameCount; }; -struct IPAFrameContext { +struct IPAFrameContext : public FrameContext { }; struct IPAContext {