Patch Detail
Show a patch.
GET /api/patches/2851/?format=api
{ "id": 2851, "url": "https://patchwork.libcamera.org/api/patches/2851/?format=api", "web_url": "https://patchwork.libcamera.org/patch/2851/", "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": "<20200218112752.3910410-3-jacopo@jmondi.org>", "date": "2020-02-18T11:27:47", "name": "[libcamera-devel,v3,2/7] libcamera: properties: Define 'lens' properties", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "198cf476c0b96fe6da906db619963860971f8967", "submitter": { "id": 3, "url": "https://patchwork.libcamera.org/api/people/3/?format=api", "name": "Jacopo Mondi", "email": "jacopo@jmondi.org" }, "delegate": { "id": 15, "url": "https://patchwork.libcamera.org/api/users/15/?format=api", "username": "jmondi", "first_name": "Jacopo", "last_name": "Mondi", "email": "jacopo@jmondi.org" }, "mbox": "https://patchwork.libcamera.org/patch/2851/mbox/", "series": [ { "id": 685, "url": "https://patchwork.libcamera.org/api/series/685/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=685", "date": "2020-02-18T11:27:45", "name": "Camera sensor factory", "version": 3, "mbox": "https://patchwork.libcamera.org/series/685/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/2851/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/2851/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 2780360436\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 18 Feb 2020 12:25:16 +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 relay3-d.mail.gandi.net (Postfix) with ESMTPSA id C18EB60009;\n\tTue, 18 Feb 2020 11:25:15 +0000 (UTC)" ], "X-Originating-IP": "93.34.114.233", "From": "Jacopo Mondi <jacopo@jmondi.org>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 18 Feb 2020 12:27:47 +0100", "Message-Id": "<20200218112752.3910410-3-jacopo@jmondi.org>", "X-Mailer": "git-send-email 2.25.0", "In-Reply-To": "<20200218112752.3910410-1-jacopo@jmondi.org>", "References": "<20200218112752.3910410-1-jacopo@jmondi.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v3 2/7] 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": "Tue, 18 Feb 2020 11:25:16 -0000" }, "content": "Define properties that describe the optical characteristics of the image\nsensor.\n\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 2ffe4d803c0f..4746c3744594 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+ compound: true\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+ - LensFocalLength:\n+ type: float\n+ compound: true\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+ - LensHyperfocalDistance:\n+ type: float\n+ compound: true\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/7" ] }