{"id":13567,"url":"https://patchwork.libcamera.org/api/1.1/covers/13567/?format=json","web_url":"https://patchwork.libcamera.org/cover/13567/","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":"<20210830082150.42514-1-umang.jain@ideasonboard.com>","date":"2021-08-30T08:21:46","name":"[libcamera-devel,v3,0/4] ipu3: Change sensor size selection policy","submitter":{"id":86,"url":"https://patchwork.libcamera.org/api/1.1/people/86/?format=json","name":"Umang Jain","email":"umang.jain@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/13567/mbox/","series":[{"id":2420,"url":"https://patchwork.libcamera.org/api/1.1/series/2420/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2420","date":"2021-08-30T08:21:46","name":"ipu3: Change sensor size selection policy","version":3,"mbox":"https://patchwork.libcamera.org/series/2420/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/13567/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 923C6BD87D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 30 Aug 2021 08:22:00 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 420C56916C;\n\tMon, 30 Aug 2021 10:22:00 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id AB49F68934\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 30 Aug 2021 10:21:56 +0200 (CEST)","from perceval.ideasonboard.com (unknown [103.251.226.0])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A6A683D7;\n\tMon, 30 Aug 2021 10:21:55 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"AKVtr1bo\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1630311716;\n\tbh=PaTGFqP8EpOgdFfxq2pPClrEPQ6u4ekB9nP1zZgFggQ=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=AKVtr1bok4u76NQMrY2NaHhrWP4gGzaWMIU94WPRMhw8UiUHV85fg8FyPyfhB+fqB\n\t8nrac9rnBvA+Sz7YxTW7vWXQltVf6MrtggerCW7db68g7xnlSC8y18wwg7/aJlfBRu\n\tBg7UR56Qs9owo98NtX50fOfLPlfrrI6ytlK6zeCQ=","From":"Umang Jain <umang.jain@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 30 Aug 2021 13:51:46 +0530","Message-Id":"<20210830082150.42514-1-umang.jain@ideasonboard.com>","X-Mailer":"git-send-email 2.31.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v3 0/4] ipu3: Change sensor size selection\n\tpolicy","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The series is geared towards addressing sensor selection constraints\non soraka and nautilus. 1/4 and 2/4 prepares the base to highlight\nthe change in selection policy. 3/4 and 4/4 is the actual change.\n\nThe constraints are documented in the commit messages of 3/4 and 4/4.\n\nChanges in v3:\n- Minor for loop matching change in 1/4\n- Remove author's \"Tested-by\" tags (mainly were added since I was\n  testing CTS rigoursly)\n- Descriptive comment on ratio diffs in 4/4\n- Few commit typo fixes\n\nChanges in v2:\n- 1/4 also sees the change in CIO2Device::sizes to  \n  CIO2Device::sizes(pixelFormat).\n- Use std::numeric_limits<> in 2/4. Include <math.h> otherwise\n  compilation breaks on gcc.\n- Few wordings restructure.\n\nUmang Jain (4):\n  libcamera: camera_sensor: Transform CameraSensor::sizes()\n  ipu3: cio2: Replicate CameraSensor::getFormats() to a member function\n  ipu3: cio2: Change sensor size selection policy\n  ipu3: cio2: Tweak sensor size selection policy\n\n include/libcamera/internal/camera_sensor.h |   2 +-\n src/libcamera/camera_sensor.cpp            |  25 ++++-\n src/libcamera/pipeline/ipu3/cio2.cpp       | 125 ++++++++++++++++++++-\n src/libcamera/pipeline/ipu3/cio2.h         |   5 +-\n src/libcamera/pipeline/ipu3/ipu3.cpp       |   2 +-\n test/camera-sensor.cpp                     |   2 +-\n 6 files changed, 145 insertions(+), 16 deletions(-)"}