{"id":20288,"url":"https://patchwork.libcamera.org/api/covers/20288/?format=json","web_url":"https://patchwork.libcamera.org/cover/20288/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20240613132602.1021721-1-dan.scally@ideasonboard.com>","date":"2024-06-13T13:25:52","name":"[00/10] Add Mali-C55 IPA Module and Algorithms","submitter":{"id":156,"url":"https://patchwork.libcamera.org/api/people/156/?format=json","name":"Dan Scally","email":"dan.scally@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/20288/mbox/","series":[{"id":4388,"url":"https://patchwork.libcamera.org/api/series/4388/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4388","date":"2024-06-13T13:25:52","name":"Add Mali-C55 IPA Module and Algorithms","version":1,"mbox":"https://patchwork.libcamera.org/series/4388/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/20288/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 F16F4C3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 13 Jun 2024 13:26:32 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9829465462;\n\tThu, 13 Jun 2024 15:26:31 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EDF2C65462\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 13 Jun 2024 15:26:28 +0200 (CEST)","from mail.ideasonboard.com\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net [86.13.91.161])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 00F187E0;\n\tThu, 13 Jun 2024 15:26:12 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"GDyF6jXe\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1718285173;\n\tbh=2R3SHdTdB8+0zTWTT1Xhp1wJSP5RFZt3kzg0LnmWPvA=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=GDyF6jXeNoVb6Ozsx/Wx76nVbKUhEVaCdLsro9PCTbrHFoIiX7Rx5Z+kHgLtkHNdk\n\tFFRNesGIucVir1nc5rvJ9dKf/3guKwh7rXT/lVNUjo7gewQdA3zllAAeFqCv+SmSBc\n\tYogTVRICG4qRf1mfXCUisufgUsnoZA0wyYzfD4mo=","From":"Daniel Scally <dan.scally@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"dan.scally@ideasonboard.com, nayden.kanchev@arm.com,\n\tjacopo.mondi@ideasonboard.com","Subject":"[PATCH 00/10] Add Mali-C55 IPA Module and Algorithms","Date":"Thu, 13 Jun 2024 14:25:52 +0100","Message-Id":"<20240613132602.1021721-1-dan.scally@ideasonboard.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","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 all\n\nThis series adds an IPA Module to go with the Mali-C55 ISP's pipeline handler.\nAlgorithms are included for Black Level Correction, Auto-Exposure and Gain, Auto\nWhite Balance and Lens Shading Correction. A tuning file for the IXM415 sensor\nis also included.\n\nThe series is based on a couple of fixes to the pipeline handler itself which\nare not yet upstream, but will be posted as a separate set shortly. None of them\nare consequential for this set so I thought it better to keep them separate.\n\nThe pipeline handler / IPA module implemented following application of this\npatchset is developed using version 5 of the Mali-C55 ISP driver currently on\nthe linux-media mailing list [1]\n\nThanks\nDan\n\n[1] https://lore.kernel.org/linux-media/20240529152858.183799-1-dan.scally@ideasonboard.com/\n\nDaniel Scally (8):\n  include: linux: Add mali-c55-config.h\n  include: linux: Add Mali-C55 Stats and Params V4L2 format\n  libcamera: mali-c55: Acquire and plumb in 3a params and stats\n  ipa: mali-c55: Add Mali-C55 ISP IPA module\n  ipa: mali-c55: Add Agc algorithm\n  ipa: mali-c55: Add AWB Algorithm\n  ipa: mali-c55: Add Lens Shading Correction algorithm\n  ipa: mali-c55: Add IMX415 tuning data file\n\nJacopo Mondi (2):\n  mali-c55: Plumb the IPA module in\n  ipa: mali-c55: Add BLC Algorithm\n\n Documentation/Doxyfile.in                    |   1 +\n include/libcamera/ipa/mali-c55.mojom         |  34 +\n include/libcamera/ipa/meson.build            |   1 +\n include/linux/mali-c55-config.h              | 851 +++++++++++++++++++\n include/linux/videodev2.h                    |   3 +\n meson_options.txt                            |   2 +-\n src/ipa/mali-c55/algorithms/agc.cpp          | 450 ++++++++++\n src/ipa/mali-c55/algorithms/agc.h            |  82 ++\n src/ipa/mali-c55/algorithms/algorithm.h      |  24 +\n src/ipa/mali-c55/algorithms/awb.cpp          | 231 +++++\n src/ipa/mali-c55/algorithms/awb.h            |  38 +\n src/ipa/mali-c55/algorithms/blc.cpp          | 119 +++\n src/ipa/mali-c55/algorithms/blc.h            |  40 +\n src/ipa/mali-c55/algorithms/lsc.cpp          | 218 +++++\n src/ipa/mali-c55/algorithms/lsc.h            |  45 +\n src/ipa/mali-c55/algorithms/meson.build      |   8 +\n src/ipa/mali-c55/data/imx415.yaml            | 325 +++++++\n src/ipa/mali-c55/data/meson.build            |   9 +\n src/ipa/mali-c55/data/uncalibrated.yaml      |   7 +\n src/ipa/mali-c55/ipa_context.cpp             | 101 +++\n src/ipa/mali-c55/ipa_context.h               |  84 ++\n src/ipa/mali-c55/mali-c55.cpp                | 410 +++++++++\n src/ipa/mali-c55/meson.build                 |  33 +\n src/ipa/mali-c55/module.h                    |  27 +\n src/libcamera/pipeline/mali-c55/mali-c55.cpp | 466 +++++++++-\n 25 files changed, 3586 insertions(+), 23 deletions(-)\n create mode 100644 include/libcamera/ipa/mali-c55.mojom\n create mode 100644 include/linux/mali-c55-config.h\n create mode 100644 src/ipa/mali-c55/algorithms/agc.cpp\n create mode 100644 src/ipa/mali-c55/algorithms/agc.h\n create mode 100644 src/ipa/mali-c55/algorithms/algorithm.h\n create mode 100644 src/ipa/mali-c55/algorithms/awb.cpp\n create mode 100644 src/ipa/mali-c55/algorithms/awb.h\n create mode 100644 src/ipa/mali-c55/algorithms/blc.cpp\n create mode 100644 src/ipa/mali-c55/algorithms/blc.h\n create mode 100644 src/ipa/mali-c55/algorithms/lsc.cpp\n create mode 100644 src/ipa/mali-c55/algorithms/lsc.h\n create mode 100644 src/ipa/mali-c55/algorithms/meson.build\n create mode 100644 src/ipa/mali-c55/data/imx415.yaml\n create mode 100644 src/ipa/mali-c55/data/meson.build\n create mode 100644 src/ipa/mali-c55/data/uncalibrated.yaml\n create mode 100644 src/ipa/mali-c55/ipa_context.cpp\n create mode 100644 src/ipa/mali-c55/ipa_context.h\n create mode 100644 src/ipa/mali-c55/mali-c55.cpp\n create mode 100644 src/ipa/mali-c55/meson.build\n create mode 100644 src/ipa/mali-c55/module.h"}