{"id":9699,"url":"https://patchwork.libcamera.org/api/1.1/patches/9699/?format=json","web_url":"https://patchwork.libcamera.org/patch/9699/","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":"<20200922100400.30766-2-david.plowman@raspberrypi.com>","date":"2020-09-22T10:03:55","name":"[libcamera-devel,1/6] libcamera: Add SensorOutputSize property","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"7f9a182b61ce2cb6f0d07a69043878d6e262eae9","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/9699/mbox/","series":[{"id":1308,"url":"https://patchwork.libcamera.org/api/1.1/series/1308/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1308","date":"2020-09-22T10:03:54","name":"Digital zoom","version":1,"mbox":"https://patchwork.libcamera.org/series/1308/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/9699/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/9699/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 25030BF01C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Sep 2020 10:04:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B845162FD5;\n\tTue, 22 Sep 2020 12:04:08 +0200 (CEST)","from mail-wm1-x329.google.com (mail-wm1-x329.google.com\n\t[IPv6:2a00:1450:4864:20::329])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EFB6660367\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Sep 2020 12:04:07 +0200 (CEST)","by mail-wm1-x329.google.com with SMTP id q9so2691382wmj.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Sep 2020 03:04:07 -0700 (PDT)","from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tg14sm26369595wrv.25.2020.09.22.03.04.06\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 22 Sep 2020 03:04:06 -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=\"tdNuATfM\"; 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=LigCNjkZO94leaY9q1uFql7UckMWWfQGwZmh1nkglmo=;\n\tb=tdNuATfM2e0I9zvrLivMiCZxSHWExLgBNnaaydB16jFI6mmDx/g3eFrQ5zihHn/7bp\n\tRfiMKh/joKNPGWHyRXKf07hHfQKxiWG/88ZZzX7Z9Fg1PKC8iqxOGpFRpBZ/DCJ5Mrd4\n\tkucA+bFkeQ7dtm7K7xHSdbd76cj9wxfDWll+c+I4mVPiX5t4aXb8t0JL6fTqvKRzvKWA\n\thih7tTUCdQwF1ZDhZcFEjt/GBKqI9Sm4g4w23f0MZqZNJm4mmq/0lq7caRMXZXJ1bez8\n\tYPMNJQzgr3pl2ywS79ohCDnD7nx6vP61qDoUk9KwnA9avqEqsIqCQ/Jz7ASKyhc0Aliq\n\tQfEg==","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=LigCNjkZO94leaY9q1uFql7UckMWWfQGwZmh1nkglmo=;\n\tb=fOEyvmUE8CaVs/7lUkFdckSnP09maXDuZRbw4A5JTINphNam+UCga1vGHy0XZuFJMY\n\tNLqZw3vdG98BvystGacrranpb3ZlN2drXl3aq/0INh/ohZ7AC/mskYolVEYgJWrul9KD\n\tBngOdbN5nh7YL4hvOZB9WDzKJuush9mnohAj4uyCewuJkDkSYqPFLLFktMCpJiW2oFOL\n\tbhPccWuPGJ7hjInugQSOEI5EfUWAAKZkmAuIb7DoAKbCb6CkQVCubeduH5nUix97sbEe\n\t0A4jby9v0kQ9ul/LbEr/ztOMKnAVaDRmRmlmpyELP6GWcCy521zgnk/hfLog1bn1NSw9\n\t2flQ==","X-Gm-Message-State":"AOAM530rPMvDIwZIjYITNKyheo3FWmZpKxfePepousIuwfUKDbqrrUVm\n\th+EQL4x6tmNwd4KD4TG05bbu2bVHaK0Wbw==","X-Google-Smtp-Source":"ABdhPJxg+Ryvs0ZK0fptNcXABsLvmrfAiD9Aidnj76CQWq936pK7ejD6FPXimircaglcJq2E9m3bLw==","X-Received":"by 2002:a05:600c:2109:: with SMTP id\n\tu9mr102276wml.147.1600769047361; \n\tTue, 22 Sep 2020 03:04:07 -0700 (PDT)","From":"David Plowman <david.plowman@raspberrypi.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 22 Sep 2020 11:03:55 +0100","Message-Id":"<20200922100400.30766-2-david.plowman@raspberrypi.com>","X-Mailer":"git-send-email 2.20.1","In-Reply-To":"<20200922100400.30766-1-david.plowman@raspberrypi.com>","References":"<20200922100400.30766-1-david.plowman@raspberrypi.com>","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 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>\n---\n src/libcamera/property_ids.yaml | 12 ++++++++++++\n 1 file changed, 12 insertions(+)","diff":"diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex 74ad019..c185549 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -640,4 +640,16 @@ 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+        Note that this property changes with every newly selected\n+        camera mode. It can be used to implement digital zoom.\n+\n ...\n","prefixes":["libcamera-devel","1/6"]}