{"id":9864,"url":"https://patchwork.libcamera.org/api/1.1/patches/9864/?format=json","web_url":"https://patchwork.libcamera.org/patch/9864/","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":"<20200929164000.15429-2-david.plowman@raspberrypi.com>","date":"2020-09-29T16:39:55","name":"[libcamera-devel,v3,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/9864/mbox/","series":[{"id":1337,"url":"https://patchwork.libcamera.org/api/1.1/series/1337/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1337","date":"2020-09-29T16:39:54","name":"Digital zoom","version":3,"mbox":"https://patchwork.libcamera.org/series/1337/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/9864/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/9864/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 87EEFC3B5B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 29 Sep 2020 16:40:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 55C4C621FC;\n\tTue, 29 Sep 2020 18:40:09 +0200 (CEST)","from mail-wr1-x444.google.com (mail-wr1-x444.google.com\n\t[IPv6:2a00:1450:4864:20::444])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3405B60BD3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 29 Sep 2020 18:40:06 +0200 (CEST)","by mail-wr1-x444.google.com with SMTP id k15so6137541wrn.10\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 29 Sep 2020 09:40:06 -0700 (PDT)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tq12sm6977393wrs.48.2020.09.29.09.40.04\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 29 Sep 2020 09:40:04 -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=\"VgVJ1x/w\"; 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=rK6TJchWCNdtebZ+uvmNEKNtyULDOcjn0Q2lyYeXKa4=;\n\tb=VgVJ1x/w5rLBjaMKOqacTu0WOh4HJayHQkdlwmwnx7K0BBlH2+xcW9Ce8fvYsr2Yyb\n\twDpk/cbVrFse/FfS8l6VxGxPIOdj7YhXKU87R9o7Gg0cMxUn2UPQfB8p3pSUm5XgvbXa\n\tFlmm0muYiFnVsdma97VUeGHD+jANFZ+aiBGMocsY/Xw/Wok/Hv8dMdXjrXu2ZnGm7pXt\n\t6rpU5f9XMCuPd3u64lmkBbPe/QwNgHIcgWS5J55lqhBqsmWF27Em494t5aBelWClrfBT\n\tYDjUZ9jrIFPMxWXK9dHKVY5UA/+hnSO80fuSfalrAuZ/Sk9Q+nX9eCHT6PNCSJkniw9y\n\tiTDQ==","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=rK6TJchWCNdtebZ+uvmNEKNtyULDOcjn0Q2lyYeXKa4=;\n\tb=pMUcTmGPWKSchDXLlzK2VanN/4zNfuss2MHiBdWkE/INz0uyA7b8sHUqVLSeP5jj0R\n\tsm4Lavbn2B8uZJtmJz9du1zZ7c+txtIMxMWKHlEI0svlyOsBzo6ucxohng9GbOelVVLO\n\tukMmRLYGs1TwCEiK671dwkbIdQ8dCdaIRJJuYH3YUuo8V2bm7CykHbRGR5hPz/Qt/nCY\n\tQQ2SlCvlGfkzxJCRNj/PEgYDPBG8KCuWTGsRt4UdJJ88BkBCtOIvBcWMttS3gjH3/qzt\n\tq0lIBXP17jXRgY2PId0IHQ2oZMbrb7Sxq6dQw4puLXH4NO9XfeLvHnqhhlj0oSBgDexs\n\tpGPQ==","X-Gm-Message-State":"AOAM532pyn/TYiRnLhkg07OavyluO1eToFbRQ8ik95P/2TGPp05/EyPs\n\tN5d31JRCFK0JLQ1j2GkgjtG03sDgRLM9EA==","X-Google-Smtp-Source":"ABdhPJxhBUXxeKnClCdnKAsEeX8FZ0k0Ci9EIKURXP7H/4RarCXD3Ncqpbi6uVqnNvTA7NZzZ+/uDg==","X-Received":"by 2002:a5d:4f82:: with SMTP id d2mr5277783wru.65.1601397605542; \n\tTue, 29 Sep 2020 09:40:05 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 29 Sep 2020 17:39:55 +0100","Message-Id":"<20200929164000.15429-2-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","In-Reply-To":"<20200929164000.15429-1-david.plowman@raspberrypi.com>","References":"<20200929164000.15429-1-david.plowman@raspberrypi.com>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH v3 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 74ad0195..8011b88c 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","v3","1/6"]}