From patchwork Wed Jun 5 22:18:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 1365 Return-Path: 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 74A1864B8F for ; Thu, 6 Jun 2019 00:18:31 +0200 (CEST) Received: from localhost.localdomain (unknown [96.44.9.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3B1492D1; Thu, 6 Jun 2019 00:18:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1559773110; bh=7NmTwFIAJeS3Ymgk6NtzFkRL8N3ccbfAojEQgkv0Hlc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oWDGPXQz9u+esMwIyTTPvxhkfmn0YVaZkD2Co0Dh60bA4FHGPCvBqc4OLwwxWoegU IZkK6X61G7Y7sJx5SPBonGmN10bxTXn3aPYjnhK9K7PStIsTsCXXQXEw9/Wh0TPZmz d+5qQuWHLNKan9FeAmwqYyjvwPNnq3K9LMmS+a18= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Wed, 5 Jun 2019 18:18:11 -0400 Message-Id: <20190605221817.966-5-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190605221817.966-1-paul.elder@ideasonboard.com> References: <20190605221817.966-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [RFC PATCH 04/10] libcamera: ipa_interface: add init for shims X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 22:18:32 -0000 Add a function to IPAInterface for shims to use to initialize the IPA module that it will wrap around. Signed-off-by: Paul Elder --- include/libcamera/ipa/ipa_interface.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libcamera/ipa/ipa_interface.h b/include/libcamera/ipa/ipa_interface.h index 2c5eb1f..fd779d2 100644 --- a/include/libcamera/ipa/ipa_interface.h +++ b/include/libcamera/ipa/ipa_interface.h @@ -15,6 +15,7 @@ public: virtual ~IPAInterface() {} virtual int init() = 0; + virtual int init(const char *path) { return 0; }; }; } /* namespace libcamera */