{"id":14886,"url":"https://patchwork.libcamera.org/api/1.1/covers/14886/?format=json","web_url":"https://patchwork.libcamera.org/cover/14886/","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":"<20211130105157.203856-1-hanlinchen@chromium.org>","date":"2021-11-30T10:51:53","name":"[libcamera-devel,v6,0/4] 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/14886/mbox/","series":[{"id":2782,"url":"https://patchwork.libcamera.org/api/1.1/series/2782/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=2782","date":"2021-11-30T10:51:53","name":"Introduce Lens class and apply auto focus on ipu3","version":6,"mbox":"https://patchwork.libcamera.org/series/2782/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/14886/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 45574BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 30 Nov 2021 10:52:05 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7B485605B4;\n\tTue, 30 Nov 2021 11:52:04 +0100 (CET)","from mail-pl1-x633.google.com (mail-pl1-x633.google.com\n\t[IPv6:2607:f8b0:4864:20::633])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 53D2860230\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 30 Nov 2021 11:52:03 +0100 (CET)","by mail-pl1-x633.google.com with SMTP id m24so14594958pls.10\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 30 Nov 2021 02:52:03 -0800 (PST)","from localhost ([2401:fa00:1:10:1659:cd3d:a00c:fa38])\n\tby smtp.gmail.com with UTF8SMTPSA id\n\th186sm20020781pfg.59.2021.11.30.02.52.00\n\t(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n\tTue, 30 Nov 2021 02:52:01 -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=\"LnPWZg3n\"; 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=sbjkVTpzAD+kXjaOIirSgddNGWigjb6I1iVyR369XIk=;\n\tb=LnPWZg3ndc2UXMTe0/8469cIzWnf4Hlz6OHPbTTRwZFkcx47Wlo5mNgsGmJR00wUj8\n\tPWb4zidHGyvoRn2px+ZU3Wh/TofUGNrXZz9YOK8LPjYOUNNAJE+uPQ5YEoRIVXGl3He/\n\tXu8cXGWSJc+Jl5TWyxQOAfnwEo+GdNWNn04zw=","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=sbjkVTpzAD+kXjaOIirSgddNGWigjb6I1iVyR369XIk=;\n\tb=Xacot/et2vcdMIdO2K0li5qF4AdjFQyQyfiJUoVB+np45FtQEhh3/qBYwy0ifwjsdG\n\tdalEPO+6nkcuP6u+1LFA4HaxzvLnVX0JM819k7NuPD1DFK7M4rKrKFcmao6zxEQ62wcr\n\tCAkEjzCYFfJqClZ0CNxR2Ufzzkr0jf/NxUuWR8OHUZrfz8VJhQNLCEZTM3KqUOyeVKKk\n\t4GoJMxvMeLc9IgeHKnzUPi8JXazYFOQ5eqbcdrfGeGKrZtB7w2pQW8rw6GplL1khlcsn\n\tf9fm4GTMeTz3+5+R7Os36CFMNU5JFt/IUqJPxsryWi/6Tmna/rWCTGL91QbSYmufisRf\n\tZuyw==","X-Gm-Message-State":"AOAM533idcplcLlqagrMmr2BW1qpZR0PLrUSYCdK4BvxvR3LVvaFfSx9\n\t0GBSlBLJuaPM4BXdU+MUKsyyzDo/xSXfWw==","X-Google-Smtp-Source":"ABdhPJzC+D5JzPHIWBDZjoqSE/49z1WIsqhBNU4RUP5BvJxvNR2bv/OcMUkWfCbD3snZGxfxnu7aQg==","X-Received":"by 2002:a17:902:d395:b0:141:a913:1920 with SMTP id\n\te21-20020a170902d39500b00141a9131920mr66299236pld.81.1638269521455; \n\tTue, 30 Nov 2021 02:52:01 -0800 (PST)","From":"Han-Lin Chen <hanlinchen@chromium.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 30 Nov 2021 18:51:53 +0800","Message-Id":"<20211130105157.203856-1-hanlinchen@chromium.org>","X-Mailer":"git-send-email 2.34.0.rc2.393.gf8c9666880-goog","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v6 0/4] 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 V6 series address some comments and remove the lens mapping in the\n4/4, so it can be directly adapted or rebased to Daniel's ancillary link series.\n\nHan-Lin Chen (4):\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  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/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             |  32 +----\n src/libcamera/meson.build                   |   1 +\n src/libcamera/pipeline/ipu3/cio2.cpp        |   1 +\n src/libcamera/pipeline/ipu3/cio2.h          |   3 +\n src/libcamera/pipeline/ipu3/ipu3.cpp        |  12 +-\n src/libcamera/v4l2_subdevice.cpp            |  42 ++++++\n 14 files changed, 282 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"}