{"id":15773,"url":"https://patchwork.libcamera.org/api/covers/15773/?format=json","web_url":"https://patchwork.libcamera.org/cover/15773/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20220504132154.9681-1-laurent.pinchart@ideasonboard.com>","date":"2022-05-04T13:21:49","name":"[libcamera-devel,0/5] libcamera: pipeline: simple: Support scaling on the camea sensor","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/15773/mbox/","series":[{"id":3090,"url":"https://patchwork.libcamera.org/api/series/3090/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3090","date":"2022-05-04T13:21:49","name":"libcamera: pipeline: simple: Support scaling on the camea sensor","version":1,"mbox":"https://patchwork.libcamera.org/series/3090/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/15773/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 A1352C3256\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  4 May 2022 13:22:02 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 757A36564F;\n\tWed,  4 May 2022 15:22:01 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BD1A465641\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  4 May 2022 15:21:59 +0200 (CEST)","from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3ED6C4A8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  4 May 2022 15:21:59 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1651670521;\n\tbh=H75lQdCHnQ7Ja66crllWwfuDFNsiCEhGfec3dj1Xr7g=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=G+S9HsmZSG3aYLXn+lrbf55NbCkxpbzX+XWWQG5M9xKuWSVsm8NeJd3nuVPn2u1Ok\n\tvowQsGgEqCyLmmsVmECTIiDzs0+uNPYBEW/ONjYdPG3vgrTm5S4XtUFjJ1LMFOXz72\n\tYYR3MsuZ+yC3TsNGqprYiaBW34qiKbBIw3ad7WDG++jCAKegl2T0xKmZIeK0S5f+8L\n\t8+f2Ld1FZL7r9CWDXnR9Gakk0+0INKJl1MZLwgF8kWacQA3mesZnjr7DT/t5j5v127\n\tb07v/0nHxYUt1LkAyhDP0Hx/eAfiiIVIeEx8K7MVk0kQQANb8uz7RG00Bu5i44KtK3\n\t0UfQbJhSknIGQ==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1651670519;\n\tbh=H75lQdCHnQ7Ja66crllWwfuDFNsiCEhGfec3dj1Xr7g=;\n\th=From:To:Subject:Date:From;\n\tb=si4xJ/d+dJ33zpp9cgq8/HCDSWx5FYji1wax6blCJ9uk4KGO/ia9wC1iT+7lF7owd\n\tbXqOXPXLhjhT+qrsmk272VYVyM38c657D+pap/v9YxbAUfERg8AFWhJogcKzVhP4y3\n\t15qpADAywJVqE6R+g+Zm0ueHUfhBmbfxArI4njr4="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"si4xJ/d+\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Wed,  4 May 2022 16:21:49 +0300","Message-Id":"<20220504132154.9681-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.35.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/5] libcamera: pipeline: simple: Support\n\tscaling on the camea sensor","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>","From":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\n\nThis patch series improves the simple pipeline handler to support\nscaling (in the generic sense, this can be binning/skipping or real\nscaling) on the camera sensor in addition to the converter. This is\nuseful on platforms that don't have a converter, but also on platforms\nwhere the SoC camera pipeline has limitations on resolution and/or\nbandwidth.\n\nPatches 1/5 and 2/5 are small drive-by improvements, patches 3/5 and 4/5\nprepare for sensor scaling support with some code refactoring, and patch\n5/5 then performs the bulk of the work, with an explanation of the\nheuristics used to configure scaling.\n\nLaurent Pinchart (5):\n  libcamera: pipeline: simple: Improve debug message on config failure\n  libcamera: pipeline: simple: Document the pipeline traversal algorithm\n  libcamera: pipeline: simple: Factor out format test to separate\n    function\n  libcamera: pipeline: simple: Store sensor resolution in configuration\n  libcamera: pipeline: simple: Support scaling on the sensor\n\n src/libcamera/pipeline/simple/simple.cpp | 262 ++++++++++++++++-------\n 1 file changed, 182 insertions(+), 80 deletions(-)\n\n\nbase-commit: 8a845ab078c3fe12ac4edd16c8cbac5b7ec03b98"}