{"id":17640,"url":"https://patchwork.libcamera.org/api/covers/17640/?format=json","web_url":"https://patchwork.libcamera.org/cover/17640/","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":"<20221019205614.25751-1-laurent.pinchart@ideasonboard.com>","date":"2022-10-19T20:56:11","name":"[libcamera-devel,v2,0/3] ipa: Fill metadata in individual algorithms","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/17640/mbox/","series":[{"id":3570,"url":"https://patchwork.libcamera.org/api/series/3570/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=3570","date":"2022-10-19T20:56:11","name":"ipa: Fill metadata in individual algorithms","version":2,"mbox":"https://patchwork.libcamera.org/series/3570/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/17640/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 BF85DC0DA4\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 19 Oct 2022 20:56:41 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1D26E62E64;\n\tWed, 19 Oct 2022 22:56:41 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2EE2162DFA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 19 Oct 2022 22:56:39 +0200 (CEST)","from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi\n\t[62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 80DF0570\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 19 Oct 2022 22:56:38 +0200 (CEST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1666213001;\n\tbh=8bcQbGHuxd9SCxPpV4J/UwuEWrncWSLG3EnkBUGd1yM=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:From;\n\tb=gX2l2mkqaui5OkkB8fk8jWx8pCqdLOdokOhztNbwB4l/olRqJpDTNYuI4PHMUBfmU\n\tvHEB3fe8R0gB0TyX5qbtJzCgLDjvetoxcYIc2l9PiDTiVzy/WeII5MwcP0Fh9tA1LE\n\tWQ1LLfaeCkGSQerxUTd1gcX1Sl0GS/8NQUa/0J/IQSw2UUDZB0rf14Rsfwm7n/7lCd\n\ti9B/S87KpoQSNQtR7jNXtnos+93YPfDZILPIQalHieXXRB2CNCBx4AwaSAyPBJz+6T\n\tWDud3hNWPzB9C2dmHUbz6zBjYpZ7IM4hMH3V0443Lm9gHUX1RC8CMX/QVorGPmL1Z0\n\tTDJX3s+/kwQ2Q==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1666212998;\n\tbh=8bcQbGHuxd9SCxPpV4J/UwuEWrncWSLG3EnkBUGd1yM=;\n\th=From:To:Subject:Date:From;\n\tb=pPxU8QRNPjqrp833s5QIeztRT/K9kGodCnp3Ks0JwfAAVpf3sR9TZlltUzXydDb0E\n\tzrlroabDL8n/8zsDSPyuEGUjBzGWI5U+OyR/s/i0yJHxh4ODFAhtEPRR/QhjFkg9np\n\t/kcqgaGzoWApu5qwClsCJGtPXu8Z4MSX5hqWIwkQ="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"pPxU8QRN\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Wed, 19 Oct 2022 23:56:11 +0300","Message-Id":"<20221019205614.25751-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.37.3","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 0/3] ipa: Fill metadata in individual\n\talgorithms","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":"Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\n\nThis small patch series improves metadata reporting in IPA modules by\nmaking it possible for individual algorithms to report metadata, instead\nof relying on the top-level IPA module code to do so.\n\nPatch 1/3 extends the Algorithm::process() function to take a metadata\ncontro list argument that algorithms should fill with metadata for the\nframe. Patch 2/3 updates the RkISP1 AGC and AWB algorithms to report\ntheir metadata, and patch 3/3 does the same for the IPU3 IPA module.\n\nLaurent Pinchart (3):\n  ipa: Pass metadata to Algorithm::process() function\n  ipa: rkisp1: Fill AGC and AWB metadata\n  ipa: ipu3: Fill AGC and AWB metadata in algorithms\n\n src/ipa/ipu3/algorithms/af.cpp           |  4 +++-\n src/ipa/ipu3/algorithms/af.h             |  3 ++-\n src/ipa/ipu3/algorithms/agc.cpp          | 18 +++++++++++++++++-\n src/ipa/ipu3/algorithms/agc.h            |  3 ++-\n src/ipa/ipu3/algorithms/awb.cpp          | 13 ++++++++++++-\n src/ipa/ipu3/algorithms/awb.h            |  3 ++-\n src/ipa/ipu3/algorithms/tone_mapping.cpp |  4 +++-\n src/ipa/ipu3/algorithms/tone_mapping.h   |  3 ++-\n src/ipa/ipu3/ipa_context.cpp             |  3 +++\n src/ipa/ipu3/ipa_context.h               |  1 +\n src/ipa/ipu3/ipu3.cpp                    | 19 ++++---------------\n src/ipa/libipa/algorithm.cpp             |  5 +++--\n src/ipa/libipa/algorithm.h               |  3 ++-\n src/ipa/rkisp1/algorithms/agc.cpp        | 17 ++++++++++++++++-\n src/ipa/rkisp1/algorithms/agc.h          |  3 ++-\n src/ipa/rkisp1/algorithms/awb.cpp        | 10 +++++++++-\n src/ipa/rkisp1/algorithms/awb.h          |  5 +++--\n src/ipa/rkisp1/ipa_context.cpp           |  3 +++\n src/ipa/rkisp1/ipa_context.h             |  1 +\n src/ipa/rkisp1/rkisp1.cpp                | 19 +++++--------------\n 20 files changed, 95 insertions(+), 45 deletions(-)\n\n\nbase-commit: 376adeb7b7e0b75f2fa90b890fe0203d1e268cdf"}