From patchwork Tue Aug 10 12:17:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siyuan Fan X-Patchwork-Id: 13283 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 F0989C3241 for ; Tue, 10 Aug 2021 12:18:00 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B1D476882A; Tue, 10 Aug 2021 14:18:00 +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="mEBvhadV"; dkim-atps=neutral Received: from out203-205-221-164.mail.qq.com (out203-205-221-164.mail.qq.com [203.205.221.164]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 18FC068887 for ; Tue, 10 Aug 2021 14:17:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1628597872; bh=EIqLODHjrEbAGuJ2JGkHGKc4vTVmI0zsqYyym2mcLZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=mEBvhadVBRwG8SvphRFPfUc7aLmIRsn5UT1VG6udOfCJEbFETTc+lAD2HHW1+dIKZ soVHML0jx22SV7KJqvlqCTksPTZUiH8FMFWgudmBMoFCejRGZdVHQY3y+GxALuCoqz wAASlEcfCa4mTaWfM3Da+RnfBP8CYSsvpAhha3cU= Received: from localhost.localdomain ([123.126.82.8]) by newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP id 46D0AC53; Tue, 10 Aug 2021 20:17:45 +0800 X-QQ-mid: xmsmtpt1628597870tmcibvffj Message-ID: X-QQ-XMAILINFO: NqN/wpVFVRYX/pYJZjhb+dUPh4sQOUIUwq688lIf6HQcmrE9mcyYnRVaUWM1Sl WMMLXf/xmufXtEV7eg4CwFBTBGtTJ24kRJXjVWMjuOOIR9F83l0O3/Pkfng4p5D6ThaTnwUBNcnU QlpEHAoTmrB2ejIOPVMQVQsaFVsqaM8/aL6L0oWxnJp85qnbpi4MoGqdXsO2RWBxtlZOjV9Nw2CW C1Cl9c3UtvSjgS6313gwfESozdO0UxAixRUtbTWSZBRt9gpgqEwgu2J1W7jwBtwY/G4nO5NWJhzO onImw7hr0ET3CQz0xg4RJujZfG6g0nxlFZf+NtKylG34o+nRqIoV9W1+gvRvkMLrOP3LRsv+Wm6P hF80a2gW4BiaT+o39a9qnxWky4chJvz+dSlpLoTppbOf9/xzLGKDxkCg5abF2G22N16yVGzGBGkY 9Jyzx501IpYbx6TQwJLwVO/fiEYd41qJFObWBPnjZQcv+acNYdPZiBPCpiKaJ2yJ21NgW+Erb93d q4Vu+uxVUhkkbPu1auvIpj9HcXO9Wp3kWcy6Js2V8PwBCv8m2FJe2Fj1rxg9Cx0dZNQORx5px0tg 9tMylbBI+6b+Evdc572HOChbFiO2GSFMYgddfy3smQzSpHqtj73AI71nDBkUuYacWAPNrp4P86lG Ae+OPtXh7fHm0+XmOqr7CbjaT8lHAQyUAadbBODUcFs2Yuv2QkeOlL+HRDm5UIiYqZV6HqhLDKfW J1nAVZ06dmL7skZXQuLl5dK3FFhrSqeWNcAWq0l1K486Lplt9PjIp/3vSWoqlyooSlZ1T5A1V9nH 38qe5WDSf3fNaPPWDxhqyGb/6dwm7VKeel9DUHfSxTnFCt2GsFrqxA54jqoolv3mpZvPYFUckRQe +dAiAJKEt4aoZIv5nxIF5PTYMLwoR+AjeFQSNXIpby08VcU72MiSUhggBXfrKRLW9Kq1mu4sWZCS TSH8qsk1LhzZ/QIVLbkg== From: Siyuan Fan To: libcamera-devel@lists.libcamera.org Date: Tue, 10 Aug 2021 13:17:41 +0100 X-OQ-MSGID: <20210810121742.11012-4-siyuan.fan@foxmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210810121742.11012-1-siyuan.fan@foxmail.com> References: <20210810121742.11012-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_;