Cover Letter Detail
Show a cover letter.
GET /api/1.1/covers/15691/?format=api
{ "id": 15691, "url": "https://patchwork.libcamera.org/api/1.1/covers/15691/?format=api", "web_url": "https://patchwork.libcamera.org/cover/15691/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20220421072848.6752-1-hpa@redhat.com>", "date": "2022-04-21T07:28:44", "name": "[libcamera-devel,RFC,v2,0/4] Enabling AF algorithm to get the VCM attributes from the device driver", "submitter": { "id": 105, "url": "https://patchwork.libcamera.org/api/1.1/people/105/?format=api", "name": "Kate Hsuan", "email": "hpa@redhat.com" }, "mbox": "https://patchwork.libcamera.org/cover/15691/mbox/", "series": [ { "id": 3062, "url": "https://patchwork.libcamera.org/api/1.1/series/3062/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3062", "date": "2022-04-21T07:28:44", "name": "Enabling AF algorithm to get the VCM attributes from the device driver", "version": 2, "mbox": "https://patchwork.libcamera.org/series/3062/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/covers/15691/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 172DFC0F1B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 21 Apr 2022 07:29:06 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6012965644;\n\tThu, 21 Apr 2022 09:29:05 +0200 (CEST)", "from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.133.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 76413604AD\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 21 Apr 2022 09:29:03 +0200 (CEST)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n\t[66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n\t(version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\tus-mta-16-B6l7d6ggPSqX4y1EwbOv-w-1; Thu, 21 Apr 2022 03:28:58 -0400", "from smtp.corp.redhat.com\n\t(int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4B5B8101AA44\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 21 Apr 2022 07:28:58 +0000 (UTC)", "from fedora.redhat.com (unknown [10.39.194.88])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id A0294C33AE9;\n\tThu, 21 Apr 2022 07:28:56 +0000 (UTC)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1650526145;\n\tbh=u8H0dKQsY9hy0ja5mMcSO5cPUaX524TQo6CL8ZxnwiQ=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=1C2I/EzT9IXKMW38cIPWesgR64jKRSGjrv6IGrj1NeVYHagkXmhppkbaOSeBj4rwq\n\tj2ThwQj3IoifL1r+fW5D59L8BjzfIwRiu4yI1PxGsv9DAhDUPgdCEC9RT1W99Jy9vV\n\tIkNw5Id8y+j3q7vUBvDcZeiq18pbiupLoMMQIQdaD7SyMZhhcJM72dJCTKAz6SM/q5\n\tsFfmBGx6ETft7orxOlUQA+PxRg2MPYw7crbn7OYlHpulbXGOeTx7aRNFhv54qSxaYl\n\tkW7uGueOkXhwnMNADkIoHSkjVu8CTxmDEQUkcXXfxaqvziXnYGmQNkMk5Mo1+PFCHU\n\tal/b+tP5PjAig==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1650526142;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding;\n\tbh=LTft5Ci4iSEjUXRlviF1Uq6kW/YVIB3ej7fLF9fUeCI=;\n\tb=O0IgwHbpkHK1asEqojKoMhJrVmPjVH+mI4Wi0/BCKTPOMT5qPrYY1EZ8LMFFx0NVqG/o60\n\t2ktyvqvAb42Ky4aCb1i9GzHH5bsP5+O9cLx7oPP2mIsX3p3fHMFaujr8s7JG4rVpjfzo7V\n\tNuHuIkFzP0sLHISEK0BcuJBPxqc1n5Y=" ], "Authentication-Results": [ "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=redhat.com\n\theader.i=@redhat.com header.b=\"O0IgwHbp\"; \n\tdkim-atps=neutral", "relay.mimecast.com;\n\tauth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hpa@redhat.com" ], "X-MC-Unique": "B6l7d6ggPSqX4y1EwbOv-w-1", "To": "libcamera devel <libcamera-devel@lists.libcamera.org>", "Date": "Thu, 21 Apr 2022 15:28:44 +0800", "Message-Id": "<20220421072848.6752-1-hpa@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.85 on 10.11.54.8", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [RFC PATCH v2 0/4] Enabling AF algorithm to get\n\tthe VCM attributes from the device driver", "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>", "From": "Kate Hsuan via libcamera-devel <libcamera-devel@lists.libcamera.org>", "Reply-To": "Kate Hsuan <hpa@redhat.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Some of the algorithm, such as autofocus needs the information from the\ndevice to configure the range of the search or the maximum values of the\nconfigurations. Currently, this information, such as VCM attributes was\nhardcoded in the code so it can only be used for specific hardware. If the\ndevice attributes can be got through the codes, the algorithm can be\ndynamically configured based on the device attributes got from the kernel.\n\nThis work proposed an implementation that can be used to get the device\nattribute from the kernel and allows the algorithm has a method to get the\ndevice attribute without a specific call. Therefore, for example, the AF\nalgorithm can get the necessary maximum VCM steps value to configure itself.\n\nDuring the AF algorithm configuration, the prefetched VCM steps will be\nset to the configInfo and based on this the corresponding variable will\nalso be initiated.\n\nKate Hsuan (4):\n ipa: ipu3: Variables to hold the maximum VCM steps\n libcamera: camera_lens: Get maximum VCM steps\n libcamera: pipeline: ipu3: Get and set VCM information\n ipa: ipu3: af: Remove hardcoded maximum VCM steps\n\n include/libcamera/internal/camera_lens.h | 1 +\n include/libcamera/ipa/core.mojom | 7 +++++++\n src/ipa/ipu3/algorithms/af.cpp | 13 ++++---------\n src/ipa/ipu3/algorithms/af.h | 2 ++\n src/libcamera/camera_lens.cpp | 13 +++++++++++++\n src/libcamera/pipeline/ipu3/ipu3.cpp | 15 +++++++++++++++\n 6 files changed, 42 insertions(+), 9 deletions(-)" }