{"id":2099,"url":"https://patchwork.libcamera.org/api/1.1/patches/2099/?format=json","web_url":"https://patchwork.libcamera.org/patch/2099/","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":"<20191004163734.15594-4-jacopo@jmondi.org>","date":"2019-10-04T16:37:31","name":"[libcamera-devel,v2,3/6] ipa: ipa_manager: Print the loaded IPA modules path","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"441bcc89815ebdcc7a85766ac64a11202d255e3a","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/1.1/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/2099/mbox/","series":[{"id":519,"url":"https://patchwork.libcamera.org/api/1.1/series/519/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=519","date":"2019-10-04T16:37:28","name":"test: Add IPA interface test support","version":2,"mbox":"https://patchwork.libcamera.org/series/519/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/2099/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/2099/checks/","tags":{},"headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay12.mail.gandi.net (relay12.mail.gandi.net\n\t[217.70.178.232])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6F2556170D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Oct 2019 18:36:00 +0200 (CEST)","from uno.localdomain (2-224-242-101.ip172.fastwebnet.it\n\t[2.224.242.101]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay12.mail.gandi.net (Postfix) with ESMTPSA id 0244C200009;\n\tFri,  4 Oct 2019 16:35:59 +0000 (UTC)"],"From":"Jacopo Mondi <jacopo@jmondi.org>","To":"libcamera-devel@lists.libcamera.org","Date":"Fri,  4 Oct 2019 18:37:31 +0200","Message-Id":"<20191004163734.15594-4-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.23.0","In-Reply-To":"<20191004163734.15594-1-jacopo@jmondi.org>","References":"<20191004163734.15594-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v2 3/6] ipa: ipa_manager: Print the loaded\n\tIPA modules path","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>","X-List-Received-Date":"Fri, 04 Oct 2019 16:36:00 -0000"},"content":"Add debug message to report which IPA modules have been loaded and in\nwhich order.\n\nThe loading order is particularly relevant for the test VIMC IPA, as the\nsame IPA is compiled with an open source license tag and a proprietary\none and they both match() against the VIMC pipeline handler. Being\ninformed about their loading order is helpful to understand which one of\nthe two is actually in use.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/ipa_manager.cpp | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/src/libcamera/ipa_manager.cpp b/src/libcamera/ipa_manager.cpp\nindex 27aa17920bab..f3180c0739cb 100644\n--- a/src/libcamera/ipa_manager.cpp\n+++ b/src/libcamera/ipa_manager.cpp\n@@ -136,6 +136,8 @@ int IPAManager::addDir(const char *libDir)\n \t\t\tcontinue;\n \t\t}\n \n+\t\tLOG(IPAManager, Debug) << \"Loaded IPA module '\" << path << \"'\";\n+\n \t\tmodules_.push_back(ipaModule);\n \t\tcount++;\n \t}\n","prefixes":["libcamera-devel","v2","3/6"]}