From patchwork Fri Nov 6 10:36:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 10367 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 6A915BDB89 for ; Fri, 6 Nov 2020 10:38:04 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 36C2F62D2E; Fri, 6 Nov 2020 11:38:04 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="ucetT8yM"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1C6F262D22 for ; Fri, 6 Nov 2020 11:38:03 +0100 (CET) Received: from pyrite.rasen.tech (unknown [IPv6:2400:4051:61:600:2c71:1b79:d06d:5032]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AAACAA19; Fri, 6 Nov 2020 11:38:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1604659082; bh=ZppjkDtCniNprqMHXKR+WAHKNmMzusbPb92Km/M0pJI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ucetT8yM46rNptmeZpHaXDy6wEyLFtrh2onjlMp9IO8aEFySPK5N8I3FkU9Dfo75U 0hWZz1xHm5Qft9KmhwY1xewbHg6dQB0NvlQGWVXc9HnBNrToH2CPnMCT4jdGHWq5xo 1uKeBs3NMG699tQqf9jXBPG6DxpkKvDcTdCwKEzY= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Fri, 6 Nov 2020 19:36:49 +0900 Message-Id: <20201106103707.49660-20-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201106103707.49660-1-paul.elder@ideasonboard.com> References: <20201106103707.49660-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 19/37] libcamera: IPAInterface: make ipaCreate return IPAInterface 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" With the new IPC infrastructure, we no longer need the C interface as provided by struct ipa_context. Make ipaCreate return IPAinterface. Signed-off-by: Paul Elder Reviewed-by: Jacopo Mondi --- No change in v4 No change in v3 No change in v2 --- include/libcamera/ipa/ipa_interface.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/libcamera/ipa/ipa_interface.h b/include/libcamera/ipa/ipa_interface.h index 8d4264c3..f6c40dc6 100644 --- a/include/libcamera/ipa/ipa_interface.h +++ b/include/libcamera/ipa/ipa_interface.h @@ -50,4 +50,8 @@ public: } /* namespace libcamera */ +extern "C" { +libcamera::IPAInterface *ipaCreate(); +} + #endif /* __LIBCAMERA_IPA_INTERFACE_H__ */