From patchwork Mon Dec 21 23:53:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 10690 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 DB152C0F1A for ; Mon, 21 Dec 2020 23:54:03 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2D1A0615AC; Tue, 22 Dec 2020 00:54:03 +0100 (CET) Received: from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net [195.74.38.228]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id AB6886158A for ; Tue, 22 Dec 2020 00:54:01 +0100 (CET) X-Halon-ID: c6ec7848-43e7-11eb-a076-005056917f90 Authorized-sender: niklas.soderlund@fsdn.se Received: from wyvern.dyn.berto.se (h-209-203.a463.priv.bahnhof.se [155.4.209.203]) by bin-vsp-out-02.atm.binero.net (Halon) with ESMTPA id c6ec7848-43e7-11eb-a076-005056917f90; Tue, 22 Dec 2020 00:54:00 +0100 (CET) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Tue, 22 Dec 2020 00:53:43 +0100 Message-Id: <20201221235345.1965878-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] libcamera: pipeline_handler: Remove Camera pointer from Request handling 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" Hello, This series is a mix of things broken out of a previous series [1], comments on that series and changes to some dependencies that by now are picked-up in master. The change stands on it's own and simplifies the pipeline handler interface by not duplicating the Camera pointer in CameraData and in the Request handling API facing applications. The Result is an API that is simpler and harder to get wrong by accident as it eliminates the possibility to queue a Request to the "wrong" Camera. 1. [PATCH 00/11] libcamera: ipu3: Attach to an skeleton IPA Niklas Söderlund (2): libcamera: pipeline_handler: Remove Camera argument from request handling libcamera: pipeline_handler: Remove Camera pointer from CameraData Documentation/guides/pipeline-handler.rst | 4 +-- include/libcamera/internal/pipeline_handler.h | 8 +++--- src/libcamera/camera.cpp | 2 +- src/libcamera/pipeline/ipu3/ipu3.cpp | 8 +++--- .../pipeline/raspberrypi/raspberrypi.cpp | 8 +++--- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 5 ++-- src/libcamera/pipeline/simple/simple.cpp | 12 ++++----- src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 4 +-- src/libcamera/pipeline/vimc/vimc.cpp | 4 +-- src/libcamera/pipeline_handler.cpp | 27 ++++++------------- 10 files changed, 34 insertions(+), 48 deletions(-)