{"id":9822,"url":"https://patchwork.libcamera.org/api/1.1/patches/9822/?format=json","web_url":"https://patchwork.libcamera.org/patch/9822/","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":"<20200925085127.17214-2-david.plowman@raspberrypi.com>","date":"2020-09-25T08:51:22","name":"[libcamera-devel,v2,1/6] libcamera: Add SensorOutputSize property","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"cd68ec2c82ce707dc5b6bd16bf86bf6f6f8c0c26","submitter":{"id":42,"url":"https://patchwork.libcamera.org/api/1.1/people/42/?format=json","name":"David Plowman","email":"david.plowman@raspberrypi.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/9822/mbox/","series":[{"id":1326,"url":"https://patchwork.libcamera.org/api/1.1/series/1326/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1326","date":"2020-09-25T08:51:21","name":"Digital zoom","version":2,"mbox":"https://patchwork.libcamera.org/series/1326/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/9822/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/9822/checks/","tags":{},"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 7AC63C3B5E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 25 Sep 2020 08:51:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 141FF6303A;\n\tFri, 25 Sep 2020 10:51:34 +0200 (CEST)","from mail-wr1-x442.google.com (mail-wr1-x442.google.com\n\t[IPv6:2a00:1450:4864:20::442])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3BAB160576\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Sep 2020 10:51:33 +0200 (CEST)","by mail-wr1-x442.google.com with SMTP id g4so2680371wrs.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 25 Sep 2020 01:51:33 -0700 (PDT)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tn4sm2001383wrp.61.2020.09.25.01.51.31\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 25 Sep 2020 01:51:32 -0700 (PDT)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"cBGGR0Ln\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=XUoWlq3axycFFStrgLqMBP3hphWhqff4qmdHXOg0LAY=;\n\tb=cBGGR0Ln2xGrO4mXYRfLiFj1BKPZZtraAcP0s+xUsqa58an/CD+DkNgFzEvKjZfgo/\n\tzXFJwy0Zg32V6ydFvzAP2qii7AVV8HkqB7sEhlh5MtGsC0ceovtoBAalpnoW18kiHyuH\n\tEpNywJPkOBvZZ6+sCx/3d+hwwpX1p+lJGbef7D0O1zxBRXG8ZGsqYkifkRmax1eMuD5h\n\tnw4WmGEXWBDBXXO6uDkXNSbXA7RaBUnuMSyyzC9NVuNxsmE4Oxcx1Mym9ML3sEb0FPTB\n\t0k5bvQFVgXxcDoJ3EY3638g10KcPWpZgvF+H7HqQIS8DOdp1/q02Zy8GNOb9cBHP8DCP\n\tIsBQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=XUoWlq3axycFFStrgLqMBP3hphWhqff4qmdHXOg0LAY=;\n\tb=JB0exunvIuKZqTzp/ynAOmsEQIOx1Gn1gbXlMBYN9oR23gnldCLKnbsgB/1oj2hZeM\n\tau9dux2lkh4NdmM2IsVEaJY/pUDqPjUp6mW2OC4nv802gu+1ccVbWKMprGOF38XQp3hw\n\twN125CySgFxgy6lmWZmNWwinL0725pJKFZXuVUYeAcOojyYwcmG7K6wwMS6l/dNE6oT4\n\tnAIudAMAnq9b43qoJFWZ9KNvHZ/sA9sMAqCjEQSS5p0kXcZTfJ36c9iy8lpbG3yZozNo\n\tUeV81Q0QpDfY6wVkPmlSxbQ6DSAp4xH48Qvm3oIC+4gNdf41T1DnYLBkftuS75JNUMlh\n\tq+mA==","X-Gm-Message-State":"AOAM533KQWGDRefO68iqbmUdbtGzczT9R0X+ZLhTgw7uUtqgssdSUyB4\n\tSDXEiJNuOdHImIb5KIwE8c6BQnsKy8KKYw==","X-Google-Smtp-Source":"ABdhPJxwMOuoxFDMbkvOBSViCsejL6m+sisBkG43F08yf+RAEM/zk7XxPOa5ahAj6D9DOeISpBOk8A==","X-Received":"by 2002:adf:ec47:: with SMTP id w7mr3511178wrn.175.1601023892692;\n\tFri, 25 Sep 2020 01:51:32 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 25 Sep 2020 09:51:22 +0100","Message-Id":"<20200925085127.17214-2-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","In-Reply-To":"<20200925085127.17214-1-david.plowman@raspberrypi.com>","References":"<20200925085127.17214-1-david.plowman@raspberrypi.com>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v2 1/6] libcamera: Add SensorOutputSize\n\tproperty","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=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"The SensorOutputSize camera property reports the image size that the\nnext step in processing after the sensor and CSI-2 receiver - usually\nthe ISP - will see. It will normally change when a new camera mode is\nselected, and can be used to implement digital zoom.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/property_ids.yaml | 19 +++++++++++++++++++\n 1 file changed, 19 insertions(+)","diff":"diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex 74ad019..8011b88 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -640,4 +640,23 @@ controls:\n         \\todo Rename this property to ActiveAreas once we will have property\n               categories (i.e. Properties::PixelArray::ActiveAreas)\n \n+  - SensorOutputSize:\n+      type: Size\n+      description: |\n+        The size, in pixels, of the image being used to produce the\n+        desired output streams. The image size might correspond to the\n+        size of the frames produced by the image sensor but would also\n+        take into account additional cropping (or even re-scaling)\n+        performed by the CSI-2 receiver to adjust the sensor frame\n+        size to conform to the output image sizes and aspect ratios.\n+        The property is meaningful only after the Camera has been\n+        successfully configured and its value changes whenever a new\n+        configuration is applied. It can be used to implement digital\n+        zoom.\n+\n+        \\sa controls::ISPCrop\n+\n+        \\todo Move this property to CameraConfiguration once the\n+        feature is made available\n+\n ...\n","prefixes":["libcamera-devel","v2","1/6"]}