From patchwork Fri Aug 6 10:14:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13244 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 23581BD87D for ; Fri, 6 Aug 2021 10:14:51 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BFC1860267; Fri, 6 Aug 2021 12:14:25 +0200 (CEST) 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="PmGSa0T5"; dkim-atps=neutral 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 AC14260266 for ; Fri, 6 Aug 2021 12:14:23 +0200 (CEST) Received: from perceval.ideasonboard.com (unknown [103.251.226.40]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 917404FB; Fri, 6 Aug 2021 12:14:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1628244863; bh=5xVAyhELD2so2FALA5mm9R52oYV0YmmrLMPUAcktqHQ=; h=From:To:Cc:Subject:Date:From; b=PmGSa0T5Ao8fAHkywINRmcPumSZG1p5x2Ala/8mBRX4+PD+28MvS1CIK3I0Ina5NS U1NFx+OVT1qRcE/xye1diE0j0+YffyajGvl0vKoIIWudwXwZvJTE2R3r1XYCRZeaLw Ys1N3XD/VDWQFp5QmqEhUjVfsd/xpD3eyX16skXg= From: Umang Jain To: libcamera-devel@lists.libcamera.org Date: Fri, 6 Aug 2021 15:44:05 +0530 Message-Id: <20210806101409.324645-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] Pass buffers to VIMC IPA 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" Introduce necessary plumbing to enable passing buffers to VIMC IPA. The actions and events for IPA <> PH handling is minimalistic for now, can be extended on top. As discussed on IRC, absence of actual parameters and statistics buffer is a concern. We could have created our own, but those need to be backed by dmabuf/fds. We want to leverage VIMC for tests for now, hence, we are passing actual frame buffers to the IPA instead of the param/stats ones. Laurent Pinchart (1): ipa: vimc: Add configure() function Umang Jain (3): ipa: vimc: Rename IPA trace enums ipa: vimc: Map and unmap buffers ipa: vimc: Send and retrieve FrameBuffers from IPA include/libcamera/ipa/vimc.mojom | 41 +++++++++++-- src/ipa/vimc/vimc.cpp | 91 ++++++++++++++++++++++++++-- src/libcamera/pipeline/vimc/vimc.cpp | 68 ++++++++++++++++++++- test/ipa/ipa_interface_test.cpp | 18 +++--- 4 files changed, 196 insertions(+), 22 deletions(-)