{"id":3330,"url":"https://patchwork.libcamera.org/api/patches/3330/?format=json","web_url":"https://patchwork.libcamera.org/patch/3330/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20200326145927.324919-3-jacopo@jmondi.org>","date":"2020-03-26T14:59:23","name":"[libcamera-devel,v4,2/6] libcamera: properties: Define 'lens' properties","commit_ref":null,"pull_url":null,"state":"rfc","archived":false,"hash":"dc064646def918e725e46672838e681058dbb678","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"delegate":{"id":15,"url":"https://patchwork.libcamera.org/api/users/15/?format=json","username":"jmondi","first_name":"Jacopo","last_name":"Mondi","email":"jacopo@jmondi.org"},"mbox":"https://patchwork.libcamera.org/patch/3330/mbox/","series":[{"id":782,"url":"https://patchwork.libcamera.org/api/series/782/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=782","date":"2020-03-26T14:59:21","name":"Camera properties and camera sensor factory","version":4,"mbox":"https://patchwork.libcamera.org/series/782/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/3330/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/3330/checks/","tags":{},"headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net\n\t[217.70.183.200])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E426060410\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 26 Mar 2020 15:56:33 +0100 (CET)","from localhost.localdomain (2-224-242-101.ip172.fastwebnet.it\n\t[2.224.242.101]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay7-d.mail.gandi.net (Postfix) with ESMTPSA id A6D8F20008\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 26 Mar 2020 14:56:33 +0000 (UTC)"],"X-Originating-IP":"2.224.242.101","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 26 Mar 2020 15:59:23 +0100","Message-Id":"<20200326145927.324919-3-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.25.1","In-Reply-To":"<20200326145927.324919-1-jacopo@jmondi.org>","References":"<20200326145927.324919-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v4 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":"Thu, 26 Mar 2020 14:56:34 -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 ea9d363fdef8..a7897bc8e5dc 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","v4","2/6"]}