Show a patch.

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

{
    "id": 3521,
    "url": "https://patchwork.libcamera.org/api/patches/3521/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3521/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20200424215304.558317-4-jacopo@jmondi.org>",
    "date": "2020-04-24T21:52:54",
    "name": "[libcamera-devel,v3,03/13] libcamera: properties: Define 'lens' properties",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "dc064646def918e725e46672838e681058dbb678",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/3521/mbox/",
    "series": [
        {
            "id": 822,
            "url": "https://patchwork.libcamera.org/api/series/822/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=822",
            "date": "2020-04-24T21:52:51",
            "name": "libcamera: Add CameraSensorInfo",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/822/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3521/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3521/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<jacopo@jmondi.org>",
        "Received": [
            "from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[217.70.183.195])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6AE8B603FD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Apr 2020 23:50:06 +0200 (CEST)",
            "from uno.homenet.telecomitalia.it\n\t(host240-55-dynamic.3-87-r.retail.telecomitalia.it [87.3.55.240])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 71CCC60002;\n\tFri, 24 Apr 2020 21:50:04 +0000 (UTC)"
        ],
        "X-Originating-IP": "87.3.55.240",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 24 Apr 2020 23:52:54 +0200",
        "Message-Id": "<20200424215304.558317-4-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.26.1",
        "In-Reply-To": "<20200424215304.558317-1-jacopo@jmondi.org>",
        "References": "<20200424215304.558317-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 03/13] libcamera: properties: Define\n\t'lens' properties",
        "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>",
        "X-List-Received-Date": "Fri, 24 Apr 2020 21:50:06 -0000"
    },
    "content": "Define properties that describe the optical characteristics of the image\nsensor.\n\nReviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/property_ids.yaml | 34 +++++++++++++++++++++++++++++++++\n 1 file changed, 34 insertions(+)",
    "diff": "diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml\nindex 8f6797723a9d..0402e317f170 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -541,4 +541,38 @@ controls:\n         The range of supported ISO sensitivities, as documented by the\n         ISO 12232:2006 (or later) standard.\n \n+  - LensApertures:\n+      type: float\n+      size: [n]\n+      description: |\n+        The available lens apertures, expressed as f numbers (the ratio between\n+        the lens focal distance and the diameter of the pupil aperture).\n+\n+        If the camera module has a fixed aperture, the property transports a\n+        single value.\n+\n+  - LensFocalLengths:\n+      type: float\n+      size: [n]\n+      description: |\n+        The available lens focal lengths, expressed in millimeters.\n+\n+        If the camera module supports multiple focal lengths this property\n+        reports the focal lengths associated with each discrete step. For\n+        camera modules with a single focal length, a single value should be\n+        instead reported.\n+\n+  - LensHyperfocalDistances:\n+      type: float\n+      size: [n]\n+      description: |\n+        The hyperfocal distance of the camera module. The property is\n+        particularly meaningful for modules with a single focal length.\n+\n+  - LensMinimumFocusDistance:\n+      type: float\n+      description: |\n+        The shortest distance in millimeters at which an object could be brought\n+        into sharp focus.\n+\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "03/13"
    ]
}