{"id":16197,"url":"https://patchwork.libcamera.org/api/covers/16197/?format=json","web_url":"https://patchwork.libcamera.org/cover/16197/","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":"<20220612152311.8408-1-laurent.pinchart@ideasonboard.com>","date":"2022-06-12T15:23:06","name":"[libcamera-devel,v2,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/16197/mbox/","series":[{"id":3170,"url":"https://patchwork.libcamera.org/api/series/3170/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3170","date":"2022-06-12T15:23:06","name":"libcamera: pipeline: simple: Support scaling on the camea sensor","version":2,"mbox":"https://patchwork.libcamera.org/series/3170/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/16197/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 F2AC1BD808\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 12 Jun 2022 15:23:25 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 35E2D65638;\n\tSun, 12 Jun 2022 17:23:25 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id C52C8600F4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 12 Jun 2022 17:23:23 +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 10DD551C;\n\tSun, 12 Jun 2022 17:23:22 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1655047405;\n\tbh=Of7uU9URnLbKWImr6qqBMVprTA8QQa71+RTzDffE/mE=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=H8GbqnP/UCEyJLh6Vpgi8VauRn6jJKrwau6q86MSZE5Cvjatbk+QdNsa1SChlPb22\n\tefkKevrHgXSc2vlbb0Or4rBvthuLtpB3isWIg+LdkiD9+uJsHVXzqftcaaIiirASfs\n\tdLAEai8zB25Bjt/hldApYT7njYg60/NVavMo4avYK05xGP+ugunRxIat0JIaqRH0rF\n\tUFuFmmXdjUI5B/AYYZy211euq3dZfYFruM8l6Q1nq5vHV/5hE4dOX4Fxmvx0WKZlZx\n\tYgbE38UGWOKI1JWXaS/GtmpQuBu5XMVLvnsNtM6Is3c7O+WteV3dVbJiS86a2U43JR\n\tcoqxQmOwYI+JQ==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1655047403;\n\tbh=Of7uU9URnLbKWImr6qqBMVprTA8QQa71+RTzDffE/mE=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=GRmJUR8mDKjLMyKgFE6P7Wq8rKfJ6RmuCnwBeBG8oz5XFtD44wDrXjERk7C/b/NsI\n\tUkjn1UNoGiMMZ1GrFZPEy5dUrdsH7b6sFlsL0InSqIm5X5bn01g0ZDQF2/lOQSdEpz\n\tLAnm9BfCD16hFwD60hqP4xNZfKxCvwnbkTYcQTvU="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"GRmJUR8m\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Sun, 12 Jun 2022 18:23:06 +0300","Message-Id":"<20220612152311.8408-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 v2 0/5] libcamera: pipeline: simple:\n\tSupport scaling 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>","Cc":"Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>,\n\tBenjamin Schaaf <ben.schaaf@gmail.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 | 270 ++++++++++++++++-------\n 1 file changed, 190 insertions(+), 80 deletions(-)\n\n\nbase-commit: b4d4b78c82a23de3c6dd1676bf43bba1d6043652"}