From patchwork Tue Sep 29 01:43:27 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: 9845 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 C9606C3B5B for ; Tue, 29 Sep 2020 01:43:48 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4784762048; Tue, 29 Sep 2020 03:43:48 +0200 (CEST) Received: from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net [195.74.38.229]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 682D260365 for ; Tue, 29 Sep 2020 03:43:46 +0200 (CEST) X-Halon-ID: 31b6e021-01f5-11eb-b295-0050569116f7 Authorized-sender: niklas.soderlund@fsdn.se Received: from bismarck.berto.se (p54ac52a8.dip0.t-ipconnect.de [84.172.82.168]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 31b6e021-01f5-11eb-b295-0050569116f7; Tue, 29 Sep 2020 03:43:41 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Tue, 29 Sep 2020 03:43:27 +0200 Message-Id: <20200929014334.49719-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/7] libcamera: pipeline: rkisp1: Create RkISP1Path helper 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" Hi, This series adds a new RkISP1Path class which abstracts the two paths into a single helper class with shared logic. The shared logic can then be leveraged to simplify the pipeline handler. This series is what is left of '[PATCH v3 00/22] libcamera: pipeline: rkisp1: Extend to support two streams'. Niklas Söderlund (7): libcamera: pipeline: rkisp1: Breakout basic path handling to own class libcamera: pipeline: rkisp1: Move path configuration to RkISP1Path libcamera: pipeline: rkisp1: Move path configuration generation and validation to RkISP1Path libcamera: pipeline: rkisp1: Add wrappers for accessing the path video device libcamera: pipeline: rkisp1: Move start and stop of path to RkISP1Path libcamera: pipeline: rkisp1: Move path link handling to RkISP1Path libcamera: pipeline: rkisp1: Use the media link to track if a path is enabled src/libcamera/pipeline/rkisp1/meson.build | 1 + src/libcamera/pipeline/rkisp1/rkisp1.cpp | 319 +++--------------- src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 234 +++++++++++++ src/libcamera/pipeline/rkisp1/rkisp1_path.h | 87 +++++ 4 files changed, 372 insertions(+), 269 deletions(-) create mode 100644 src/libcamera/pipeline/rkisp1/rkisp1_path.cpp create mode 100644 src/libcamera/pipeline/rkisp1/rkisp1_path.h