{"id":18357,"url":"https://patchwork.libcamera.org/api/1.1/covers/18357/?format=json","web_url":"https://patchwork.libcamera.org/cover/18357/","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":"<20230308164028.235638-1-jacopo.mondi@ideasonboard.com>","date":"2023-03-08T16:40:25","name":"[libcamera-devel,0/3] ipa: rkisp1: lsc: Enable/disable LSC","submitter":{"id":143,"url":"https://patchwork.libcamera.org/api/1.1/people/143/?format=json","name":"Jacopo Mondi","email":"jacopo.mondi@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/18357/mbox/","series":[{"id":3795,"url":"https://patchwork.libcamera.org/api/1.1/series/3795/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3795","date":"2023-03-08T16:40:25","name":"ipa: rkisp1: lsc: Enable/disable LSC","version":1,"mbox":"https://patchwork.libcamera.org/series/3795/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/18357/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 58D85BE080\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  8 Mar 2023 16:40:44 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 99B36626C2;\n\tWed,  8 Mar 2023 17:40:43 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0278C62693\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  8 Mar 2023 17:40:41 +0100 (CET)","from uno.homenet.telecomitalia.it\n\t(host-79-47-54-87.retail.telecomitalia.it [79.47.54.87])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 043F227C;\n\tWed,  8 Mar 2023 17:40:40 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1678293643;\n\tbh=5fHBBgAx1ZGuN+wk6ib780x0DaiKLFBhFd1kOoE3go4=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=aW1+3VPLx8SLD7JpAG1k/ASGyY0n2sZMvHTm8dPElihcb5Idp7d7v9wGULimzHgke\n\trAp63qPcb7H5+VaBNuuO/6335JkwdPml7TT6uZbXhl3OLl2P/CLeFkiZQCn3tBArUO\n\to73ogNzlZJzEQxRWDwXmDn9833CqBbMIOvTWU4W9DpMaFANko+0u6wAcvDSJUDPNiQ\n\tXylF8OAFs9HgMXQmmdVEyLhPhaDie+67igISbxtnKWmo+cvUiG2PnxEQ9wulWUgIm9\n\t+q1YosEBM/IlWbdzVe4cANPbhwgQ17s1QdKjN1TqedOjP0+m6/aOH2FCy0tQNtZtdv\n\t6ZJ/kQ7xtal6g==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1678293641;\n\tbh=5fHBBgAx1ZGuN+wk6ib780x0DaiKLFBhFd1kOoE3go4=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=QDWZwL7yZJY5Ewu2xSaUxx79vN8xmciX8bXIjseGcwGChxx9LLRfwkR9RLP+dryl3\n\t4FvTQLiAqjRUiPsRO/ep49X1+Vw3iz51q9OJpibxOaDZY15qU+cfMakTxDGOdgl90u\n\tSZjCzFxMlYk2wLj5fUb9Q/sgKenUT+lbIlMI7+N4="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"QDWZwL7y\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Wed,  8 Mar 2023 17:40:25 +0100","Message-Id":"<20230308164028.235638-1-jacopo.mondi@ideasonboard.com>","X-Mailer":"git-send-email 2.39.0","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/3] ipa: rkisp1: lsc: Enable/disable LSC","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":"Jacopo Mondi via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Jacopo Mondi <jacopo.mondi@ideasonboard.com>","Cc":"Jacopo Mondi <jacopo.mondi@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"A small series that adds one control to enable/disable the LSC\nalgorithm at runtime. The newly introduced control is also used\nto report the algorithm's state as part of a Request metadata.\n\nPatch 1 introduces the control\nPatch 2 instrument the LSC algorithm to handle run-time enable and disable\nPatch 3 populates the metadata by moving the algorithm's state to the context\n        activeState.\n\nI initially moved the algorithm's state to the frameContext, but as metadata\nare populated in process() which is called before prepare() (which updates the\nframe's context state) it was not possible to store the information there.\n\nJacopo Mondi (3):\n  libcamera: control_ids: Introduce LensShadingEnable\n  ipa: rkisp1: lsc: Enable/disable LSC algorithm\n  ipa: rkisp1: lsc: Move 'enable' to activeState\n\n src/android/camera_capabilities.cpp |  4 +-\n src/ipa/rkisp1/algorithms/dpf.cpp   |  6 +--\n src/ipa/rkisp1/algorithms/lsc.cpp   | 59 ++++++++++++++++++++++++++++-\n src/ipa/rkisp1/algorithms/lsc.h     |  8 ++++\n src/ipa/rkisp1/ipa_context.h        |  9 +++--\n src/ipa/rkisp1/rkisp1.cpp           |  1 +\n src/libcamera/control_ids.yaml      | 20 +++-------\n 7 files changed, 83 insertions(+), 24 deletions(-)\n\n--\n2.39.0"}