Show a patch.

GET /api/1.1/patches/10261/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 10261,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/10261/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/10261/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20201026171908.21463-3-david.plowman@raspberrypi.com>",
    "date": "2020-10-26T17:19:04",
    "name": "[libcamera-devel,v6,2/6] libcamera: Add SensorCropMaximum property",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6936f2208233b2d5b581401f1b2cd843dbbf5ade",
    "submitter": {
        "id": 42,
        "url": "https://patchwork.libcamera.org/api/1.1/people/42/?format=api",
        "name": "David Plowman",
        "email": "david.plowman@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/10261/mbox/",
    "series": [
        {
            "id": 1417,
            "url": "https://patchwork.libcamera.org/api/1.1/series/1417/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1417",
            "date": "2020-10-26T17:19:02",
            "name": "Digital zoom",
            "version": 6,
            "mbox": "https://patchwork.libcamera.org/series/1417/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/10261/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/10261/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 85561BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 26 Oct 2020 17:19:25 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 513C062040;\n\tMon, 26 Oct 2020 18:19:25 +0100 (CET)",
            "from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com\n\t[IPv6:2a00:1450:4864:20::32a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1F54F62037\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 26 Oct 2020 18:19:21 +0100 (CET)",
            "by mail-wm1-x32a.google.com with SMTP id v5so12464890wmh.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 26 Oct 2020 10:19:21 -0700 (PDT)",
            "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\to63sm20955295wmo.2.2020.10.26.10.19.16\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 26 Oct 2020 10:19:16 -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=\"hRB5nTjZ\"; 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=DlOT1G0P1YZwReDuJ5vNb83iKivxweypgDohTHSrlUA=;\n\tb=hRB5nTjZoFiAlhghMnoFFbQa9aLmrXn+L/SYzxshwXcWjL6+SzmSwJ+IdktRqgbz52\n\tol3ApB17YlQT7JDypGcD7byQEbNaB0kX06oK5BJeN6MryvAr36XrTZ9Nb5gllsUl/CKE\n\ten75m0gTy7eDyqCkuGjx6sExwsj7+g1w11+950tejpZB2vegbsHomZYFHNPi75sh1z5B\n\tTo3KLJKit2cx4QJ92wYmb1n/8HVrl9RwmfMZRbOwnLGXty1hbP22SN5bNHOMQWVmuIbL\n\trICBG1De4x8NvIbyv4g+ABnXmdYaSvPJo/mjXXGQtN7ayjgbYttTOwA97GkttBDEj9h8\n\tcHpg==",
        "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=DlOT1G0P1YZwReDuJ5vNb83iKivxweypgDohTHSrlUA=;\n\tb=FlZsBnTbPJClbvVosFqHPqYOJyFAgCp19En2Xtw2qrSMYWRWf4GVEPKijsvxqPCdhe\n\tUvnoMtLjFF5YHoG0mnX1gAjgsFCvemsr+ywtAVaCIXD+AHFE4S7AN6ZrvL/ced7bdNuj\n\t05GeBuTv10Pg992GQNlsRuX4MiJTrGMjJY0fxVcyFOyLaKyQx7vJF+iDHASa23KmWf2E\n\t/ywT88UnbebuDWYfskoll5UJEmsVce+TBFXsVou3c0obkXjHFKyTsbbcE1YL17YAt7JK\n\t1z2FWwIJxg88fwyvCUAdm5U3tZ2LCftaCCexbT5jjcg9xRK/FewGjhUSRveReDpV7vfi\n\tUKOA==",
        "X-Gm-Message-State": "AOAM533qysikA5oa1+uk+D78aggG98Z8DTC27SycaN1vULpS0AOz6C/s\n\tZVXs6yEGBysY9vNxTPNFkpO1AXSeV7Qh5g==",
        "X-Google-Smtp-Source": "ABdhPJy+Y5Yx1U80jE+4w4Y2NIZPDE4+E6xvvP9UVp9FXq6Kc4XrqB+sJnALFHqiOQdlPTr34LVQNg==",
        "X-Received": "by 2002:a1c:2ed3:: with SMTP id\n\tu202mr17379357wmu.85.1603732757218; \n\tMon, 26 Oct 2020 10:19:17 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 26 Oct 2020 17:19:04 +0000",
        "Message-Id": "<20201026171908.21463-3-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20201026171908.21463-1-david.plowman@raspberrypi.com>",
        "References": "<20201026171908.21463-1-david.plowman@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH v6 2/6] libcamera: Add SensorCropMaximum\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 SensorCropMaximum camera property reports the location of that\npart of the image sensor array that can be scaled to produce the\noutput images, given in native sensor pixels. It will normally change\nwhen a new camera mode is selected, and can be used to implement\ndigital zoom.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/property_ids.yaml | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)",
    "diff": "diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex 7261263a..ccb88d28 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -663,4 +663,19 @@ controls:\n         \\todo Rename this property to ActiveAreas once we will have property\n               categories (i.e. Properties::PixelArray::ActiveAreas)\n \n+  - ScalerCropMaximum:\n+      type: Rectangle\n+      description: |\n+        The maximum valid rectangle for the controls::ScalerCrop control. This\n+        reflects the minimum mandatory cropping applied in the camera sensor and\n+        the rest of the pipeline. Just as the ScalerCrop control, it defines a\n+        rectangle taken from the sensor's active pixel area.\n+\n+        This property is valid only after the camera has been successfully\n+        configured and its value may change whenever a new configuration is\n+        applied.\n+\n+        \\todo Turn this property into a \"maximum control value\" for the\n+        ScalerCrop control once \"dynamic\" controls have been implemented.\n+\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "v6",
        "2/6"
    ]
}