Patch Detail
Show a patch.
GET /api/patches/18451/?format=api
{ "id": 18451, "url": "https://patchwork.libcamera.org/api/patches/18451/?format=api", "web_url": "https://patchwork.libcamera.org/patch/18451/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/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": "<20230324142908.64224-9-dse@thaumatec.com>", "date": "2023-03-24T14:29:06", "name": "[libcamera-devel,v5,08/10] ipa: rkisp1: Add AF controls to the RkISP1 IPA", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "67131c39fa674e05630e892be219dc3f3375ee8e", "submitter": { "id": 126, "url": "https://patchwork.libcamera.org/api/people/126/?format=api", "name": "Daniel Semkowicz", "email": "dse@thaumatec.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/18451/mbox/", "series": [ { "id": 3813, "url": "https://patchwork.libcamera.org/api/series/3813/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3813", "date": "2023-03-24T14:28:58", "name": "ipa: rkisp1: Add autofocus algorithm", "version": 5, "mbox": "https://patchwork.libcamera.org/series/3813/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/18451/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/18451/checks/", "tags": {}, "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 56C4BC329F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 24 Mar 2023 14:29:38 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D1FCC6272A;\n\tFri, 24 Mar 2023 15:29:37 +0100 (CET)", "from mail-lj1-x232.google.com (mail-lj1-x232.google.com\n\t[IPv6:2a00:1450:4864:20::232])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 490996271B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Mar 2023 15:29:29 +0100 (CET)", "by mail-lj1-x232.google.com with SMTP id z42so1889661ljq.13\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Mar 2023 07:29:29 -0700 (PDT)", "from localhost.localdomain ([91.90.166.178])\n\tby smtp.gmail.com with ESMTPSA id\n\tj21-20020a2e8515000000b002a10b2ea089sm981714lji.16.2023.03.24.07.29.28\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 24 Mar 2023 07:29:28 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1679668178;\n\tbh=BjcrFEiQTZSm9P/GWdlS61dbmdphmJsI4G6x4WDNV8k=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=oMYRwhlCeOWcTiPRvoXgLup9/0V7JyCPVXK+9IKEwkE+CE/48RCsUxyNL6wiYdSQm\n\tlUOqZDZ4RwOt7j1UBmNdS1qV7zm27781SgodriNc9kDhWI+hiotNlRVngW/q/pVBhw\n\tHg6tOavVnMxeAxAE1S8gUb1+BvAWDFs0wjlDMjI29dPOHiiWFT6YWu9kOOu2IOpvnM\n\tdK8tosupouOF05LegEyIdAp6nmPT1Vjzil1dEvPuu6RbDl2TUxpQXbvA9R8h0ebuon\n\tJF5iCj+9MLmvNfUM/q9n3A8oQE4zM8A54BuKEvhkGwWjW6nKuUnSwAXu6bfTohPwQK\n\thWxK7xQfHdmng==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=thaumatec-com.20210112.gappssmtp.com; s=20210112; t=1679668168;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=LRgW1NFPu4viMTf/MJ3llUErEThVQZNmL7f3XB7nmj0=;\n\tb=Z1xMZxJvBCHqUBKHJIZeSA5iRdi8dBv62IN+wQuyQf6ci0StDuc/A7Wfmkt58XeJIp\n\tdP6rPN1R+YieHFbwXFE5O3htba7jiXhWrfl0+EBaNefzw/fY2dLNEJ/UnxDGNlznWT32\n\t6UtbwcaTmxqQBPp/sUf+fDO+zjr6uZZVO6ehxPG2uA3tTZhxuBPjuWuuQmwX04qxJ0GY\n\tfstXq2mp8yqFnHVlP6j9XzL5ICagqGbtLgp2pkQOb6RM/OtI1JWg2wgtToCH4MGdfUoU\n\tWD5aIKdRxl8bMPifhz4bFm3ruG7+/J43Qb4usHwc6/Sgx2wNmqGS2F2WlhS/+kStsxnU\n\tp4Kg==" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected)\n\theader.d=thaumatec-com.20210112.gappssmtp.com\n\theader.i=@thaumatec-com.20210112.gappssmtp.com header.b=\"Z1xMZxJv\"; \n\tdkim-atps=neutral", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112; t=1679668168;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=LRgW1NFPu4viMTf/MJ3llUErEThVQZNmL7f3XB7nmj0=;\n\tb=2lGqogAEJBDg1FCofPzXzPq0Ngk+Ny+cJDOm+toYmRk82dhEfotMSSm7yY0VNv4Ihr\n\td3uzGE7XccAwE3KcQetilUQPqSedLGpUhKd9PNKKKoM9ZVCpHNMQ8gw9SVaKXBFml0K8\n\ts3jO6N5EboOAKE3/LJ3e4uiSgwFQTHxjTU0jWTcs79duuj7DlNWyQaNFHpvQdqGy63fo\n\tswHIYnnfmLrJcDaFgFjPq1Ec5tDuad+qtZN+9mHRzweN2OVsf2vhDE7EnmWd81hQVqMu\n\tBTeUOJqivpKFjh+OD2d+MjFvSd4+XL0anBTduWvocvke54mF4noBYzIP4gIMY9L7jljw\n\tCI8g==", "X-Gm-Message-State": "AAQBX9e11PYsL/6XbL7a0eGK+jJZ3KihuF9MbavXIpVei8Isu/kKdAEO\n\tzQgJxQSfXwvdsKa1gu02aGYFngceeDIl18nAnF4=", "X-Google-Smtp-Source": "AKy350ZAqpO2Xy9dJ71gg5O7EWBnCA6mrrwWGYu+V994vUpCsE3cAUGQ/4JJ49sNOOcQIUeu/8unvQ==", "X-Received": "by 2002:a2e:a0c2:0:b0:29d:ce75:5d06 with SMTP id\n\tf2-20020a2ea0c2000000b0029dce755d06mr821459ljm.32.1679668168425; \n\tFri, 24 Mar 2023 07:29:28 -0700 (PDT)", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 24 Mar 2023 15:29:06 +0100", "Message-Id": "<20230324142908.64224-9-dse@thaumatec.com>", "X-Mailer": "git-send-email 2.39.2", "In-Reply-To": "<20230324142908.64224-1-dse@thaumatec.com>", "References": "<20230324142908.64224-1-dse@thaumatec.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v5 08/10] ipa: rkisp1: Add AF controls to\n\tthe RkISP1 IPA", "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": "Daniel Semkowicz via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Daniel Semkowicz <dse@thaumatec.com>", "Cc": "jacopo.mondi@ideasonboard.com", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add controls supported by the AF algorithm to the list of controls\nsupported by the RkISP1 IPA. This exposes the AF controls to the user\nand allows controlling the AF algorithm using the top level API.\n\nSigned-off-by: Daniel Semkowicz <dse@thaumatec.com>\n---\n src/ipa/rkisp1/rkisp1.cpp | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp\nindex cd1fbae3..4b30844f 100644\n--- a/src/ipa/rkisp1/rkisp1.cpp\n+++ b/src/ipa/rkisp1/rkisp1.cpp\n@@ -101,10 +101,16 @@ namespace {\n /* List of controls handled by the RkISP1 IPA */\n const ControlInfoMap::Map rkisp1Controls{\n \t{ &controls::AeEnable, ControlInfo(false, true) },\n+\t{ &controls::AfMetering, ControlInfo(controls::AfMeteringValues) },\n+\t{ &controls::AfMode, ControlInfo(controls::AfModeValues) },\n+\t{ &controls::AfPause, ControlInfo(controls::AfPauseValues) },\n+\t{ &controls::AfTrigger, ControlInfo(controls::AfTriggerValues) },\n+\t{ &controls::AfWindows, ControlInfo(Rectangle{}, Rectangle(65535, 65535, 65535, 65535), Rectangle{}) },\n \t{ &controls::AwbEnable, ControlInfo(false, true) },\n \t{ &controls::ColourGains, ControlInfo(0.0f, 3.996f, 1.0f) },\n \t{ &controls::Brightness, ControlInfo(-1.0f, 0.993f, 0.0f) },\n \t{ &controls::Contrast, ControlInfo(0.0f, 1.993f, 1.0f) },\n+\t{ &controls::LensPosition, ControlInfo(0.0f, 2147483647.0f) },\n \t{ &controls::Saturation, ControlInfo(0.0f, 1.993f, 1.0f) },\n \t{ &controls::Sharpness, ControlInfo(0.0f, 10.0f, 1.0f) },\n \t{ &controls::draft::NoiseReductionMode, ControlInfo(controls::draft::NoiseReductionModeValues) },\n", "prefixes": [ "libcamera-devel", "v5", "08/10" ] }