{"id":20316,"url":"https://patchwork.libcamera.org/api/1.1/covers/20316/?format=json","web_url":"https://patchwork.libcamera.org/cover/20316/","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":"<20240614113757.109452-1-paul.elder@ideasonboard.com>","date":"2024-06-14T11:37:54","name":"[v9,0/3] ipa: rkisp1: Add crosstalk algorithm","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/1.1/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/20316/mbox/","series":[{"id":4394,"url":"https://patchwork.libcamera.org/api/1.1/series/4394/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4394","date":"2024-06-14T11:37:54","name":"ipa: rkisp1: Add crosstalk algorithm","version":9,"mbox":"https://patchwork.libcamera.org/series/4394/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/20316/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 CFB03C3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 14 Jun 2024 11:38:08 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 741666548D;\n\tFri, 14 Jun 2024 13:38:07 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EF57A61A2A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 14 Jun 2024 13:38:05 +0200 (CEST)","from neptunite.hamster-moth.ts.net\n\t(h175-177-049-156.catv02.itscom.jp [175.177.49.156])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3A416397;\n\tFri, 14 Jun 2024 13:37:49 +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=\"gIs1RuwU\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1718365071;\n\tbh=CBXrCPEMcNv0uYd4AjcZgfG4eENxe4ov92lMNFeFOZQ=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=gIs1RuwUt5pikoRdHQtXcbCh4Q0YdEL8r0GeZL8bN2XAExPTqh71Lul6Pt+7/O1Mn\n\tR8LRYxmukDnNt/3xdH6nRkkvqbeqNfOft6WMMAMa3z+rm/AjYAmKb2tkxCO0Sg0FpU\n\tEbXxKQ4aRNC//cy+qtcKlGdcu72W5x+PW4A0NcVc=","From":"Paul Elder <paul.elder@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Paul Elder <paul.elder@ideasonboard.com>","Subject":"[PATCH v9 0/3] ipa: rkisp1: Add crosstalk algorithm","Date":"Fri, 14 Jun 2024 20:37:54 +0900","Message-Id":"<20240614113757.109452-1-paul.elder@ideasonboard.com>","X-Mailer":"git-send-email 2.39.2","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":"This patch series depends on \"ipa: libipa: Vector and Pwl improvements\"\n\nThis patch series adds the crosstalk / color correction algorithm to\nthe rkisp1 IPA.\n\nInterpolating matrices is likely to be a common functionaily, as lens\nshading correction also does it, and other IPAs will will want to do\nboth color correction and lens shading correction. Because of this, the\ncrosstalk is implemented using a generic matrix interpolator, which is\nadded to libipa, in addition to a Matrix class.\n\nv3 mainly adds ccm offsets, and some fixes some initialization and\nasserts.\n\nv4 cleans up / optimizes the Matrix class and supports the reorganized\ntuning file layout for color correction matrices.\n\nv5 mainly adds documentation, as well as a simple cache to the matrix\ninterpolator.\n\nv6 fixes documentation (again).\n\nv7 fixes offsets initialization and adds ccm to metadata, as well as\ncopyright and licenses, as these classes weren't actually copied.\n\nv8 cleans up a bunch of stuff, including yaml parsing, thus adding a new\ndependency on the aforementioned series.\n\nv9 fixes some compilation errors that fell through the cracks.\n\nPaul Elder (3):\n  ipa: libipa: Add Matrix class\n  ipa: libipa: Add MatrixInterpolator class\n  ipa: rkisp1: algorithms: Add crosstalk algorithm\n\n src/ipa/libipa/matrix.cpp              | 149 ++++++++++++++++++\n src/ipa/libipa/matrix.h                | 204 +++++++++++++++++++++++++\n src/ipa/libipa/matrix_interpolator.cpp | 110 +++++++++++++\n src/ipa/libipa/matrix_interpolator.h   | 122 +++++++++++++++\n src/ipa/libipa/meson.build             |   4 +\n src/ipa/rkisp1/algorithms/ccm.cpp      | 142 +++++++++++++++++\n src/ipa/rkisp1/algorithms/ccm.h        |  49 ++++++\n src/ipa/rkisp1/algorithms/meson.build  |   1 +\n src/ipa/rkisp1/ipa_context.h           |   5 +\n 9 files changed, 786 insertions(+)\n create mode 100644 src/ipa/libipa/matrix.cpp\n create mode 100644 src/ipa/libipa/matrix.h\n create mode 100644 src/ipa/libipa/matrix_interpolator.cpp\n create mode 100644 src/ipa/libipa/matrix_interpolator.h\n create mode 100644 src/ipa/rkisp1/algorithms/ccm.cpp\n create mode 100644 src/ipa/rkisp1/algorithms/ccm.h"}