Patch Detail
Show a patch.
GET /api/patches/3079/?format=api
{ "id": 3079, "url": "https://patchwork.libcamera.org/api/patches/3079/?format=api", "web_url": "https://patchwork.libcamera.org/patch/3079/", "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": "<20200309180444.725757-3-jacopo@jmondi.org>", "date": "2020-03-09T18:04:40", "name": "[libcamera-devel,v3,2/6] libcamera: properties: Define 'lens' properties", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "b50f49067fb03aa7ef513434a48a86d9dfe00a80", "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/3079/mbox/", "series": [ { "id": 717, "url": "https://patchwork.libcamera.org/api/series/717/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=717", "date": "2020-03-09T18:04:38", "name": "Camera properties and camera sensor factory", "version": 3, "mbox": "https://patchwork.libcamera.org/series/717/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/3079/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/3079/checks/", "tags": {}, "headers": { "Return-Path": "<jacopo@jmondi.org>", "Received": [ "from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net\n\t[217.70.183.194])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 40B2062923\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 9 Mar 2020 19:02:09 +0100 (CET)", "from uno.lan (93-34-114-233.ip49.fastwebnet.it [93.34.114.233])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay2-d.mail.gandi.net (Postfix) with ESMTPSA id DBCA640005\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 9 Mar 2020 18:02:08 +0000 (UTC)" ], "X-Originating-IP": "93.34.114.233", "From": "Jacopo Mondi <jacopo@jmondi.org>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 9 Mar 2020 19:04:40 +0100", "Message-Id": "<20200309180444.725757-3-jacopo@jmondi.org>", "X-Mailer": "git-send-email 2.25.0", "In-Reply-To": "<20200309180444.725757-1-jacopo@jmondi.org>", "References": "<20200309180444.725757-1-jacopo@jmondi.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v3 2/6] 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": "Mon, 09 Mar 2020 18:02:10 -0000" }, "content": "Define properties that describe the optical characteristics of the image\nsensor.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n\n---\nv2 -> v3:\n- Pluralize names of properties which transport multiple values\n- Again 'size' vs 'compound' is hard to guess\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 4cecb5ad9ac3..80f9b1b3c264 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -563,4 +563,38 @@ controls:\n The range of supported ISO sensitivities, as documented by the\n ISO 12232:2006 standard\n \n+ - LensApertures:\n+ type: float\n+ size: [16]\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: [16]\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: [16]\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", "2/6" ] }