From patchwork Tue Sep 27 02:36:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 17426 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 CAC6FC0DA4 for ; Tue, 27 Sep 2022 02:37:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7FAA5622A5; Tue, 27 Sep 2022 04:37:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1664246244; bh=9lxCmbWCn93sXEIe1o8sdocG8NN5IOVflXuad5Vtn+s=; 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=JQ9+TnQ7iI8gyA/54FIyV38WGJVvtDPDD8/z2KqVNNFptfFRGz6apJs1FyM2BzeiZ MM1LHF7QDjjD7hm/VbpASmNfHXeVVXMT8C9dca2RsG0I5GKDLzecL7633ufMvVR0tf srI9dtY6uD8LqXIkU7pKTtLuRNGdcB48UOa8wnkqD1T8labPh4KgKfQg1qWazAys3S PncYlIqeHdhIfoILmGnlerMBqOaIqJC1VIJnyTrONF1sHdRRCcHEq0cvTQRbrxEEPw ytxEvMLMRCRv2BRuBTQ0DOF0i5QgtbK14WMR4oObNGk+TMTfdeiBCN66q2FzRaj06a zOZC/MKKbCy3w== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BD2406229E for ; Tue, 27 Sep 2022 04:37:21 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="dZD8Fak0"; 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 3D4FFE5 for ; Tue, 27 Sep 2022 04:37:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1664246241; bh=9lxCmbWCn93sXEIe1o8sdocG8NN5IOVflXuad5Vtn+s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dZD8Fak0ByhrfP314Qe2iEvYeE4yIzzIsNZgFERsNhhAlAUxeTGXUePkn1Mzv5lm7 oJ++RAnLeF0oGIi5mLyfB0gH/+NbhetxCNdElDpdc4TKXGqYJLebJXyMkacO0f1ysZ FB0TBTtT6o6IGFjTMhSjIsKdSBN+FDd1yfFvo0Nw= To: libcamera-devel@lists.libcamera.org Date: Tue, 27 Sep 2022 05:36:24 +0300 Message-Id: <20220927023642.12341-16-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220927023642.12341-1-laurent.pinchart@ideasonboard.com> References: <20220927023642.12341-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 15/33] 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 {