{"id":14988,"url":"https://patchwork.libcamera.org/api/1.1/covers/14988/?format=json","web_url":"https://patchwork.libcamera.org/cover/14988/","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":"<20211202140317.3118364-1-hanlinchen@chromium.org>","date":"2021-12-02T14:03:12","name":"[libcamera-devel,v7,0/5] Introduce Lens class and apply auto focus on ipu3","submitter":{"id":98,"url":"https://patchwork.libcamera.org/api/1.1/people/98/?format=json","name":"Hanlin Chen","email":"hanlinchen@chromium.org"},"mbox":"https://patchwork.libcamera.org/cover/14988/mbox/","series":[{"id":2804,"url":"https://patchwork.libcamera.org/api/1.1/series/2804/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2804","date":"2021-12-02T14:03:12","name":"Introduce Lens class and apply auto focus on ipu3","version":7,"mbox":"https://patchwork.libcamera.org/series/2804/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/14988/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 2E2C4BF415\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  2 Dec 2021 14:03:26 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 77AE160592;\n\tThu,  2 Dec 2021 15:03:25 +0100 (CET)","from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com\n\t[IPv6:2607:f8b0:4864:20::1036])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 478266011A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  2 Dec 2021 15:03:24 +0100 (CET)","by mail-pj1-x1036.google.com with SMTP id\n\tnp6-20020a17090b4c4600b001a90b011e06so4737557pjb.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 02 Dec 2021 06:03:24 -0800 (PST)","from localhost ([2401:fa00:1:10:9029:d68:4045:e723])\n\tby smtp.gmail.com with UTF8SMTPSA id\n\tq18sm3413898pfn.83.2021.12.02.06.03.20\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tThu, 02 Dec 2021 06:03:21 -0800 (PST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=chromium.org header.i=@chromium.org\n\theader.b=\"mFhVQh82\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org;\n\ts=google; h=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=Z++YujV9IW5lTrc0mN6/Qe1V9kx4V6e4Hi5aD4ftwzA=;\n\tb=mFhVQh82ldqYGl6cft+rsL5XPlLA51EUOum4KS2bNF9yQlx7HgoqA5ECx+Twek9BUE\n\tDaX7YSwiui3ABVhB6EYAuvRX8FeY2VzhxV9UQempEmPYLIX1rmbElUcN1Ga71EoN/feV\n\tq2exBJptXDrqUDHailssOFDZpZAQGe/2DVZR4=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=Z++YujV9IW5lTrc0mN6/Qe1V9kx4V6e4Hi5aD4ftwzA=;\n\tb=aq9T4F0u9hlbNOdKUu6cjLS8wKyyNZ1PSU8eSVdEPkn/UPesYAoyanRpBJMfjgSBNR\n\tmjbaetsxXy6spSfVqHi4VnmqP1XvrS+RsMfpPodOWjh0ux9Y1L3buCN355QDVy7lcYqX\n\tpmPBkA2gRzGcftQh7UhVN7HVmOIPp8VcnwTr7uDj0eNGT+urLFsgxk2kOieXPuhnKpOA\n\tFmwc48CtvtwPUymSlQsG6VqdT9cdPE7nqLspczvOlba8CQohN6L9Rom4jxKYVldjQSAB\n\t0faF4MfTQcaxxet4pbXNVoQfHY96Tfq5lx+os7w4pViLtPfG/Cq2KU1LKxbTkhdP/G1I\n\tqEbw==","X-Gm-Message-State":"AOAM531waz9myOIOBWd34irdcfGDZmVuyLCCfIDB5tqO+tIX4yorm5BT\n\tHMZ3UXTTgu+Fwe7v4bwQ/0OiBlAwoNWx0A==","X-Google-Smtp-Source":"ABdhPJwIrgIuh5h7E3g48BiB+vInQvUddHpFONMeoTv1oOi/pMuCKtv2KhZXE2JnBN9aHpdmbBMMVg==","X-Received":"by 2002:a17:90b:2249:: with SMTP id\n\thk9mr6063720pjb.245.1638453802337; \n\tThu, 02 Dec 2021 06:03:22 -0800 (PST)","From":"Han-Lin Chen <hanlinchen@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu,  2 Dec 2021 22:03:12 +0800","Message-Id":"<20211202140317.3118364-1-hanlinchen@chromium.org>","X-Mailer":"git-send-email 2.34.1.400.ga245620fadb-goog","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v7 0/5] Introduce Lens class and apply\n\tauto focus on ipu3","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>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\nThe V7, add one more patch 4/5 to move the CameraLens from cio2 to\nthe CameraSensor.\n\nHan-Lin Chen (5):\n  ipa: ipu3: Extend ipu3 ipa interface for lens controls\n  libcamera: add model() for retriving model name in V4L2Subdevice\n  libcamera: camera_lens: Add a new class to model a camera lens\n  libcamera: camera_lens: add CameraLens as a member of CameraSensor\n  ipu3: ipa: Allow IPA to apply controls to the lens device\n\n Documentation/index.rst                     |   1 +\n Documentation/lens_driver_requirements.rst  |  27 ++++\n Documentation/meson.build                   |   1 +\n include/libcamera/internal/camera_lens.h    |  45 +++++++\n include/libcamera/internal/camera_sensor.h  |   5 +\n include/libcamera/internal/meson.build      |   1 +\n include/libcamera/internal/v4l2_subdevice.h |   4 +\n include/libcamera/ipa/ipu3.mojom            |   2 +\n src/libcamera/camera_lens.cpp               | 142 ++++++++++++++++++++\n src/libcamera/camera_sensor.cpp             |  40 ++----\n src/libcamera/meson.build                   |   1 +\n src/libcamera/pipeline/ipu3/ipu3.cpp        |  13 +-\n src/libcamera/v4l2_subdevice.cpp            |  42 ++++++\n 13 files changed, 292 insertions(+), 32 deletions(-)\n create mode 100644 Documentation/lens_driver_requirements.rst\n create mode 100644 include/libcamera/internal/camera_lens.h\n create mode 100644 src/libcamera/camera_lens.cpp"}