From patchwork Wed Jun 24 08:24:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 27023 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 1BAF7C3305 for ; Wed, 24 Jun 2026 08:35:38 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E902B6587D; Wed, 24 Jun 2026 10:35:36 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="tdwj7cnQ"; dkim-atps=neutral Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4264765865 for ; Wed, 24 Jun 2026 10:35:35 +0200 (CEST) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-462f54dceedso19082f8f.0 for ; Wed, 24 Jun 2026 01:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1782290135; x=1782894935; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aSlx7g0txEr0Tz6eUhQlDZ97pq+/uAvIALJlN54oit4=; b=tdwj7cnQjxFON1rth/aDhHAyVwaEXysKlVmr1kLZYW2VYArfz+F4UkwRd8W1SXOnCG yjlNh9bT6S2MmCJbGOukJ+ljfaQZxloAGt1/OuYxb2M9bX8f0gqLVT7tR6qWoLqn+E0F 1iczpwJyb/db86iP9NCbMrzCTwOTeH1LrnkURhLOh2KzZBlfePpdKwrtj76xRCTePdVx xvm3rkddtv1YPPLHKhFwlYNy0+E+Rty9S0VseVWzba3pqPEvPgdKp1GX1Bx+cEvIW2zC hgjg/TpOrIytSF79KWl86QVTzCnOHTCLRMK0rCbevd3v2lYxDyuCk/t8ojAXl8eYQkC4 jJFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782290135; x=1782894935; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aSlx7g0txEr0Tz6eUhQlDZ97pq+/uAvIALJlN54oit4=; b=nXRNq4ngwtcSGw4dmR1cGS/niARt70eAFLVNjxN5fzGvMfOpnqCkHusahRZAOLNnS1 ydyLJ2PlkYS7piX85AggaCnC/jXY35cQmRZUtjm4mquXKgJuQFoZ+0tDrRrI6OJCuEl9 sJEWqwcyR839o4NV+T2fNiiAaAb02y+jc9/4+O6LBpSAfmvZIJlSNT9IjIpxJWOXBXGJ v1GFsCageCpxgzOCkywTZkHGf8gae8i/C+2LBZyxYcQOH83mdFb6GqexmLHp3i6Y0UNC fZk10diR4169v9g3O68EO4xa8SMX0195iE8rCuyqRFCnydYQ03DhRG4OK6APvw0yfTR6 IAXA== X-Gm-Message-State: AOJu0YxDhcXFDDE2DDHpbMJSONg9BRZkEBf3ihw6oFYHBgbZ0uzVx5Lb cfYG1fFGBQu2wVzGp4Gh94GsIvLhqVHqlbxStDcLlYIzGrUnfIlmNplBjCtnPl3XeZ+WRsQRIKh lU0cOBgQ= X-Gm-Gg: AfdE7cmFuVqHZdKhmx9WQ0Lds+F2DEfhmMMl07pNzgcDMbI5zbFhfp66RKd+NY/g4Fm 4t3OIP+EYD19XoD+ML7dzulVfg4qJ+nGaBfEPggtZyvnw/Lm+EMcGbum7zoH7PzuKHf6u1pXQny 0jnDI9spAEyig1N8eLPgBVcDV47pilxiPjWPEGwW5pHlne1dAhEVB/E9YBA2D0huxuc6Hv7OT03 2tTaryfuxniQTqObGocMpugkIcPi8gklNiLEtnH2V/9JnMAmZjlTgiqd0tSd4SVbhuiClEn+pqm kzQ8YOdD2zP0VBbX+OKXBJNJpfBBQL8pk0wkPvG/PcSetHseptQPOXsrhlQiyE0lmNJ3GKeMkGi omlVBokMCr2n2kTilWB08aV8BTuoYh1RI5b2KyGk8PS0Y9mKyaRYbJTR2peonheTIkJKRHQxNJN dzoW9LrDF3EDjGwAHILUOTYa62MHaMHtFLrNKj7inK9Tc+LY9ZZrckwzGInw87VnbpTNgEjmC1S szYB2r94ETIVCbh32qPD3OBGPRk/sEemQZf/gI6YGgeJH/NAe2NKua21ozCq15reFN/OfIhgUOL D4hOxj3o6Rz9m6t4MSC3 X-Received: by 2002:a05:600c:5289:b0:492:3555:b9a with SMTP id 5b1f17b1804b1-492598dc927mr60345635e9.8.1782290134692; Wed, 24 Jun 2026 01:35:34 -0700 (PDT) Received: from naush-dell.pitowers.org ([2a00:1098:3142:1f:4e02:b684:b0f9:89f0]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49260d77e8asm23857675e9.1.2026.06.24.01.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2026 01:35:34 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: laurent.pinchart@ideasonboard.com, david.plowman@raspberrypi.com, Naushir Patuck Subject: [PATCH 0/2] RPi pipeline handler fixes Date: Wed, 24 Jun 2026 09:24:30 +0100 Message-ID: <20260624082705.272795-1-naush@raspberrypi.com> X-Mailer: git-send-email 2.53.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" Hi, Here are some small fixups for issues Laurent recently observed on the PiSP pipeline handler: - Patch 1 changes the default RAW stream format to be unpacked. - Patch 2 ensures we cannot configure packed/compressed formats for 14/16-bit sensor output. Unfotunately I have no 14 or 16-bit sensors, so I cannot do a runtime test of patch 2, but I think the logic of the change is simple enough and makes sense. Regards, Naush Naushir Patuck (2): pipeline: rpi: Default to BayerFormat::Packing::None for RAW streams pipeline: rpi: pisp: Ensure we don't run our SW correction with packed src/libcamera/pipeline/rpi/common/pipeline_base.cpp | 2 +- src/libcamera/pipeline/rpi/pisp/pisp.cpp | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-)