{"id":26815,"url":"https://patchwork.libcamera.org/api/patches/26815/?format=json","web_url":"https://patchwork.libcamera.org/patch/26815/","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":"<20260602012601.2799275-1-qi.hou@nxp.com>","date":"2026-06-02T01:26:01","name":"[v2] libcamera: software_isp: debayer_egl: Demote unsupported format log to Info","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"22c4d7e9675c7bcfac714aedc45282fda3400e20","submitter":{"id":195,"url":"https://patchwork.libcamera.org/api/people/195/?format=json","name":"Qi Hou","email":"qi.hou@nxp.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/26815/mbox/","series":[{"id":5971,"url":"https://patchwork.libcamera.org/api/series/5971/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5971","date":"2026-06-02T01:26:01","name":"[v2] libcamera: software_isp: debayer_egl: Demote unsupported format log to Info","version":2,"mbox":"https://patchwork.libcamera.org/series/5971/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/26815/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/26815/checks/","tags":{},"headers":{"Return-Path":"<kieran.bingham@ideasonboard.com>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":["parsemail@patchwork.libcamera.org","kbingham@ideasonboard.com"],"Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 15A22BDCBC\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  2 Jun 2026 11:42:40 +0000 (UTC)","from monstersaurus.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net\n\t[86.31.185.195])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 9665B97F\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  2 Jun 2026 13:42:16 +0200 (CEST)","from perceval.ideasonboard.com\n\tby perceval.ideasonboard.com with LMTP id uLVlIh4xHmonFjwA4E0KoQ\n\t(envelope-from <libcamera-devel-bounces@lists.libcamera.org>)\n\tfor <kbingham@ideasonboard.com>; Tue, 02 Jun 2026 03:25:50 +0200","from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\tby perceval.ideasonboard.com (Postfix) with ESMTPS\n\tid 23E4F802;\tTue,  2 Jun 2026 03:25:50 +0200 (CEST)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7B18463035;\n\tTue,  2 Jun 2026 03:26:11 +0200 (CEST)","from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 84D5562010\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  2 Jun 2026 03:26:10 +0200 (CEST)","from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 26B1F201070;\n\tTue,  2 Jun 2026 03:26:10 +0200 (CEST)","from aprdc01srsp001v.ap-rdc01.nxp.com\n\t(aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E553320321D;\n\tTue,  2 Jun 2026 03:26:09 +0200 (CEST)","from lsvm11u0000124.swis.ap-northeast-2.aws.nxp.com\n\t(lsvm11u0000124.swis.ap-northeast-2.aws.nxp.com [10.52.8.111])\n\tby aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id\n\tC6C191800071; Tue,  2 Jun 2026 09:26:08 +0800 (+08)"],"From":"Qi Hou <qi.hou@nxp.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"jared.hu@nxp.com,\n\tqi.hou@nxp.com,\n\tjulien.vuillaumier@nxp.com","Subject":"[PATCH v2] libcamera: software_isp: debayer_egl: Demote unsupported\n\tformat log to Info","Date":"Tue,  2 Jun 2026 10:26:01 +0900","Message-Id":"<20260602012601.2799275-1-qi.hou@nxp.com>","X-Mailer":"git-send-email 2.34.1","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Virus-Scanned":"ClamAV using ClamSMTP","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>","X-TUID":"KV8f7ddUr6s1","Resent-From":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Resent-To":"parsemail@patchwork.libcamera.org"},"content":"From: Hou Qi <qi.hou@nxp.com>\n\nDebayerEGL::getInputConfig() logs at Error level when it encounters an\nunsupported input format. This function is called during format\nenumeration from the simple pipeline handler's tryPipeline(), which\niterates over all pixel formats reported by the video capture device,\nincluding non-Bayer formats such as UYVY and YUYV. The caller already\nhandles the failure gracefully by checking the return value. Similarly,\nDebayerEGL::getOutputConfig() logs at Error level for unsupported\noutput formats, but is called from strideAndFrameSize() which also\nhandles failures via the return value.\n\nDemote both log messages from Error to Info for consistency with\nDebayerCpu, which uses Info level in getInputConfig() and\ngetOutputConfig() for the same situation.\n\nSigned-off-by: Qi Hou <qi.hou@nxp.com>\n---\n src/libcamera/software_isp/debayer_egl.cpp | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/src/libcamera/software_isp/debayer_egl.cpp b/src/libcamera/software_isp/debayer_egl.cpp\nindex 7b9e02d9..68779893 100644\n--- a/src/libcamera/software_isp/debayer_egl.cpp\n+++ b/src/libcamera/software_isp/debayer_egl.cpp\n@@ -78,7 +78,7 @@ int DebayerEGL::getInputConfig(PixelFormat inputFormat, DebayerInputConfig &conf\n \t\treturn 0;\n \t}\n \n-\tLOG(Debayer, Error)\n+\tLOG(Debayer, Info)\n \t\t<< \"Unsupported input format \" << inputFormat;\n \n \treturn -EINVAL;\n@@ -92,7 +92,7 @@ int DebayerEGL::getOutputConfig(PixelFormat outputFormat, DebayerOutputConfig &c\n \t\treturn 0;\n \t}\n \n-\tLOG(Debayer, Error)\n+\tLOG(Debayer, Info)\n \t\t<< \"Unsupported output format \" << outputFormat;\n \n \treturn -EINVAL;\n","prefixes":["v2"]}