From patchwork Wed Aug 11 06:12:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siyuan Fan X-Patchwork-Id: 13297 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 7EE7DC3241 for ; Wed, 11 Aug 2021 06:13:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2ECAA6884E; Wed, 11 Aug 2021 08:13:53 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=foxmail.com header.i=@foxmail.com header.b="M8p9BPMq"; dkim-atps=neutral Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9282C60261 for ; Wed, 11 Aug 2021 08:13:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1628662427; bh=EIqLODHjrEbAGuJ2JGkHGKc4vTVmI0zsqYyym2mcLZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=M8p9BPMq7lT6o6qF5qqRttnreHy0BKCWD6FXB5Ru+h/1MretUjo/gjrIqhTFI0X0N ttlcFQhuy/s9AaQeMIMlBaOuvjSmqIKxQj4EM3OnMvdxExhHNMhOS6QXCp4i177m2i tWNrAGRGeUmAzKDwdVL1P9TvikauwXC4wzoy7kdA= Received: from localhost.localdomain ([123.126.82.8]) by newxmesmtplogicsvrszc9.qq.com (NewEsmtp) with SMTP id 3569928F; Wed, 11 Aug 2021 14:13:22 +0800 X-QQ-mid: xmsmtpt1628662425tqdn9z0a2 Message-ID: X-QQ-XMAILINFO: Nqr6iIg7be4re8l0I7sKGAuPsoPVpDC/eRRJLYj8kb+r4k7XuwrKOVqGmlL1bE Vxd85up2sBGUZiG2wjedm2vAD/mojulEo+eCONbvvUjgJ+fIIZFfYS+o1aZvOzFBGsEV2+QpeEja qTwlGHfGr98OeFe4mgselQRM+NfqWd93hCLO+meDnaGo5Jib0pKTW9IOf+s1OiR7Q+ydmUc75PMU LocrI4lcT6JbCUoLgHhBxUGUTrYd1KqIZrtor+1OcMvlw51XRB1qzl851dsvSuRoGgTZvd0Y230O 2/CKW7UWrCRLvt5JM8IkSHmrdVCigV6p7RoZLq0VtHD9HQrQA3+y53QI2SiXT5nzOvrXi6Pog1+M KRgo6srdLQULpeVY1Va5iVZqHh6mb0/X1Fh1W+o5XnRAxcC7293jtuvOGzCeH0WkXGTrMJ7I3/Fe MIvvZf2uf3FwyMX3UAjwMbLaetN3csVuzeDdmoKJZwuEVAs4Ew2C92eni4TlL7GazVRZJee0VCR2 XPdDZVIcJWn+LYQ/Ca/V3dKOccjUkLp78Xi0D+b8sSbEUwHePG7UoV5KawNXCRTxNkC8Qyizo6t9 GttA0AtlgpN9K97VGzPjPOrJNoWfgAlzgYMp+9wMvd0GIChA+5ceNKfiC1Q9x7VXVyFPBtDgX85O Zs+6iIioP0P357T9otl16yjBXYeVRKZsuvTPWrN8udl1Kwxdefsyv3/93ylKKb40MbRWK+WBEa5k wJtvVxyhwbC3G1x+yWtnNJCOJGmgkRu9wI0eMZvxhFbrNwU5IgdiBfZv4Sjok6pLoeWjLvgl/8Mc xQIBO6XWcrt+SxzKUq5V0t3js21VqIqT3BVaM6WRRoNuyIWAzM3gqktEAr7UZ3GAekIpEJWv/k/e 50ltaf+Jor1CniVR0vRsKRdqLzOGG3mudPA7uKyz1TvW6jmfrQJ7TJVIXA2smt8A== From: Siyuan Fan To: libcamera-devel@lists.libcamera.org Date: Wed, 11 Aug 2021 07:12:57 +0100 X-OQ-MSGID: <20210811061258.7421-4-siyuan.fan@foxmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210811061258.7421-1-siyuan.fan@foxmail.com> References: <20210811061258.7421-1-siyuan.fan@foxmail.com> MIME-Version: 1.0 Subject: [libcamera-devel] [RFC PATCH v2 3/4] libcamera: framebuffer: Add the friend class CPU_ISP 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" From: Fan Siyuan In order to fill in dstBuffer->metadata(), we need to add the friend class CPU_ISP. Signed-off-by: Fan Siyuan --- include/libcamera/framebuffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h index 28307890..9cc1b760 100644 --- a/include/libcamera/framebuffer.h +++ b/include/libcamera/framebuffer.h @@ -61,6 +61,7 @@ private: LIBCAMERA_DISABLE_COPY_AND_MOVE(FrameBuffer) friend class V4L2VideoDevice; /* Needed to update metadata_. */ + friend class CPU_ISP; std::vector planes_;