{"id":2440,"url":"https://patchwork.libcamera.org/api/1.1/patches/2440/?format=json","web_url":"https://patchwork.libcamera.org/patch/2440/","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":"<20191218145001.22283-7-jacopo@jmondi.org>","date":"2019-12-18T14:50:00","name":"[libcamera-devel,RFC,6/7] libcamera: properties: Define 'lens' properties","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"a2fa1c7daa850a2daac37ef1a93c16ff6ac016f5","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/1.1/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"delegate":{"id":15,"url":"https://patchwork.libcamera.org/api/1.1/users/15/?format=json","username":"jmondi","first_name":"Jacopo","last_name":"Mondi","email":"jacopo@jmondi.org"},"mbox":"https://patchwork.libcamera.org/patch/2440/mbox/","series":[{"id":591,"url":"https://patchwork.libcamera.org/api/1.1/series/591/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=591","date":"2019-12-18T14:49:54","name":"Define and register 'sensor' and 'lens' properties","version":1,"mbox":"https://patchwork.libcamera.org/series/591/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/2440/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/2440/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 B5A6360475\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Dec 2019 15:47:55 +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 464DC60007;\n\tWed, 18 Dec 2019 14:47:55 +0000 (UTC)"],"X-Originating-IP":"93.34.114.233","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 18 Dec 2019 15:50:00 +0100","Message-Id":"<20191218145001.22283-7-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.24.0","In-Reply-To":"<20191218145001.22283-1-jacopo@jmondi.org>","References":"<20191218145001.22283-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [RFC 6/7] libcamera: properties: Define 'lens'\n\tproperties","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":"Wed, 18 Dec 2019 14:47:56 -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 9e2333cb7206..fdadfb8b1da4 100644\n--- a/src/libcamera/property_ids.yaml\n+++ b/src/libcamera/property_ids.yaml\n@@ -208,4 +208,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 sensor has a fixed aperture, the property transports a single\n+        value.\n+\n+  - LensFocalDistance:\n+      type: float\n+      compound: true\n+      description: |\n+        The available focal length distances, expressed in millimeters.\n+\n+        If the sensor is featured with a movable lens mechanism this property\n+        reports the focal lengths associated with each discrete step. For\n+        sensor with fixed-focus lenses, a single focal length should be instead\n+        reported.\n+\n+  - LensHyperfocalDistance:\n+      type: float\n+      compound: true\n+      description: |\n+        The hyperfocal distance of the sensor. The property is particularly\n+        meaningful for fixed-focus devices.\n+\n+  - LensMinimumFocalDistance:\n+      type: float\n+      description: |\n+        The shortest distance in millimeters from the lens surface in which an\n+        object could be brought into sharp focus.\n+\n ...\n","prefixes":["libcamera-devel","RFC","6/7"]}