{"id":9290,"url":"https://patchwork.libcamera.org/api/1.1/covers/9290/?format=json","web_url":"https://patchwork.libcamera.org/cover/9290/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200813005246.3265807-1-niklas.soderlund@ragnatech.se>","date":"2020-08-13T00:52:33","name":"[libcamera-devel,00/13] libcamera: pipeline: rkisp1: Extend to support two streams","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/1.1/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/9290/mbox/","series":[{"id":1215,"url":"https://patchwork.libcamera.org/api/1.1/series/1215/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1215","date":"2020-08-13T00:52:33","name":"libcamera: pipeline: rkisp1: Extend to support two streams","version":1,"mbox":"https://patchwork.libcamera.org/series/1215/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/9290/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id F37DEBD87D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 13 Aug 2020 00:53:40 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 048DC61380;\n\tThu, 13 Aug 2020 02:53:40 +0200 (CEST)","from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C687660388\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Aug 2020 02:53:37 +0200 (CEST)","from bismarck.berto.se (p54ac52a8.dip0.t-ipconnect.de\n\t[84.172.82.168]) by bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid 63fe5385-dcff-11ea-92dc-005056917a89;\n\tThu, 13 Aug 2020 02:53:34 +0200 (CEST)"],"X-Halon-ID":"63fe5385-dcff-11ea-92dc-005056917a89","Authorized-sender":"niklas.soderlund@fsdn.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 13 Aug 2020 02:52:33 +0200","Message-Id":"<20200813005246.3265807-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.28.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 00/13] libcamera: pipeline: rkisp1: Extend\n\tto support two streams","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi,\n\nThis series extends the RkISP1 pipeline handler to work with 2 streams.  \nIt allows cameras backed by this pipeline to expose a main path stream, \nsame as the one before this series. And a new self path stream that can \noperate in addition or independently from the main path.\n\nThe self path supports two new RGB formats that is not supported by the \nmain path. This series does not extend support for RAW formats as this \nis such a special case for this pipeline. Only the main path may be \nactive and no ISP parameters can be processed. This may be added on top \nbut functionality have been proven as a prototype.\n\nTo be able to use both main and self path simultaneously must run a \nkernel that includes [1]. The development of the series is tested on the \nlatest media-tree [2] with out-of-tree DTS patches for the test Scarlet \nplatform to enable the camera sensors.\n\nThis series depends on libcamera series [3].\n\n1. 60e915354c270357 (\"media: staging: rkisp1: cap: fix return values from pm functions\")\n2. f45882cfb152f5d3 (\"media: camss: fix memory leaks on error handling paths in probe\")\n3. [PATCH 0/2] libcamera: request: Make Stream pointer const\n\n\nNiklas Söderlund (13):\n  libcamera: pipeline: rkisp1: Fix line length typo\n  libcamera: pipeline: rkisp1: Breakout mainpath size and format\n    constraints\n  libcamera: pipeline: rkisp1: Setup links as part of configuration\n  libcamera: pipeline: rkisp1: Prepare buffer ready handlers for\n    multiple streams\n  libcamera: pipeline: rkisp1: Create RkISP1Frames from camera data\n  libcamera: pipeline: rkisp1: Export stream formats to applicaitons\n  libcamera: pipeline: rkisp1: Set the crop rectangle\n  libcamera: pipeline: rkisp1: Prefix main path video and resizer\n  libcamera: pipeline: rkisp1: Add self path devices\n  libcamera: pipeline: rkisp1: Configure self path\n  libcamera: pipeline: rkisp1: Track buffers for self path\n  libcamera: pipeline: rkisp1: Add format validation for self path\n  libcamera: pipeline: rkisp1: Expose self path stream\n\n src/libcamera/pipeline/rkisp1/rkisp1.cpp | 671 ++++++++++++++++-------\n 1 file changed, 468 insertions(+), 203 deletions(-)"}