From patchwork Mon Jul 6 10:19:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 27236 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id BC6D9C3303 for ; Mon, 6 Jul 2026 10:19:40 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E108466007; Mon, 6 Jul 2026 12:19:39 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="tLF34T5c"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id D9DEE658E0 for ; Mon, 6 Jul 2026 12:19:37 +0200 (CEST) Received: from Monstersaurus.lan (cpc89244-aztw30-2-0-cust6594.18-1.cable.virginm.net [86.31.185.195]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8BA4A33D; Mon, 6 Jul 2026 12:18:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1783333129; bh=wU8z3BzAhkCgsIiqLnZLmAav+c7nVu6orhh+93kb+ak=; h=From:To:Cc:Subject:Date:From; b=tLF34T5cp779zWtuc/tZjAi8cG2WY1ArL579Tjfmyn4qMJsoSOjr9QEIeFCRYmDdj 1nayeV8/wWWDsu2hdiCDxl3yRpLFFKTXzYyFLSKZ1xwKT+PnuFsHQpOmaw0RqfUQkE +nJAQw1AcjlR+wC4Bi6b2T8naYxqFMjxY5l/fGeQ= From: Kieran Bingham To: libcamera devel Cc: Naushir Patuck , Kieran Bingham Subject: [PATCH] pipeline: rpi: pisp: Remove duplicated format entry Date: Mon, 6 Jul 2026 11:19:28 +0100 Message-ID: <20260706101928.3042026-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" In the BayerToMbusCodeMap, the final MEDIA_BUS_FMT_SRGGB16_1X16 entry is duplicated for 16 bit RGGB. Remove the duplicated line. Signed-off-by: Kieran Bingham Reviewed-by: Naushir Patuck --- src/libcamera/pipeline/rpi/pisp/pisp.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libcamera/pipeline/rpi/pisp/pisp.cpp b/src/libcamera/pipeline/rpi/pisp/pisp.cpp index c9d89d58bc98..5f7f20ccfb83 100644 --- a/src/libcamera/pipeline/rpi/pisp/pisp.cpp +++ b/src/libcamera/pipeline/rpi/pisp/pisp.cpp @@ -80,7 +80,6 @@ const std::vector> BayerToMbusCodeMap{ { { BayerFormat::GBRG, 16, BayerFormat::Packing::PISP1 }, MEDIA_BUS_FMT_SGBRG16_1X16, }, { { BayerFormat::GRBG, 16, BayerFormat::Packing::PISP1 }, MEDIA_BUS_FMT_SGRBG16_1X16, }, { { BayerFormat::RGGB, 16, BayerFormat::Packing::PISP1 }, MEDIA_BUS_FMT_SRGGB16_1X16, }, - { { BayerFormat::RGGB, 16, BayerFormat::Packing::PISP1 }, MEDIA_BUS_FMT_SRGGB16_1X16, }, { { BayerFormat::MONO, 16, BayerFormat::Packing::None }, MEDIA_BUS_FMT_Y16_1X16, }, { { BayerFormat::MONO, 16, BayerFormat::Packing::PISP1 }, MEDIA_BUS_FMT_Y16_1X16, }, };