Patch Detail
Show a patch.
GET /api/patches/27024/?format=api
{ "id": 27024, "url": "https://patchwork.libcamera.org/api/patches/27024/?format=api", "web_url": "https://patchwork.libcamera.org/patch/27024/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260624082705.272795-2-naush@raspberrypi.com>", "date": "2026-06-24T08:24:31", "name": "[1/2] pipeline: rpi: Default to BayerFormat::Packing::None for RAW streams", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "d46da989ca7ae0218ee606c2469ef1b38dce3dfb", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/27024/mbox/", "series": [ { "id": 6014, "url": "https://patchwork.libcamera.org/api/series/6014/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=6014", "date": "2026-06-24T08:24:30", "name": "RPi pipeline handler fixes", "version": 1, "mbox": "https://patchwork.libcamera.org/series/6014/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/27024/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/27024/checks/", "tags": {}, "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 11CCAC3305\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 24 Jun 2026 08:35:40 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D8EB165881;\n\tWed, 24 Jun 2026 10:35:38 +0200 (CEST)", "from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com\n\t[IPv6:2a00:1450:4864:20::32b])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6AEFA65870\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 24 Jun 2026 10:35:36 +0200 (CEST)", "by mail-wm1-x32b.google.com with SMTP id\n\t5b1f17b1804b1-490b4c8c6e7so551925e9.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 24 Jun 2026 01:35:36 -0700 (PDT)", "from naush-dell.pitowers.org\n\t([2a00:1098:3142:1f:4e02:b684:b0f9:89f0])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-49260d77e8asm23857675e9.1.2026.06.24.01.35.34\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 24 Jun 2026 01:35:35 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"pnH1ot7w\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1782290136; x=1782894936;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=weGaI0oeFkyuVVXqFnC27rffITBjjYGQDSnj+PFOsP0=;\n\tb=pnH1ot7wVMZfrug5iA5xtg9ZtYAIGFny7hwYqMdUGW8eZUPob5fDqonK6UC5CUNKto\n\tPPE6DNAghNOOqfJKQE7X0jvLD2dUGauD1aBV/JfDQBiTc5CetiWoCf2rOw0eVNONH8js\n\twe/YuE4Ghi/QKMXEgKUR6WgERZ+IM9XinYro/WlAl3t1JFBOQQkuCMEzsqSVHZIHMXGQ\n\trMSVf+Qa5FJF/ypxWeEsge+owppmmXl96hf34LlsdsvbQKb8qRzblpBwhgzp6LpiGBuH\n\tfP67OsOHfLhM7YtjFuETCrjxxvM52ZOqwE+Pg9PGrvBxSZH3eC/wjyH0tlxIW/VmMrnF\n\tTAXw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20251104; t=1782290136; x=1782894936;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to;\n\tbh=weGaI0oeFkyuVVXqFnC27rffITBjjYGQDSnj+PFOsP0=;\n\tb=RIcWNhkCx+tB/lUIYj4etRN6HVHpYnLDqmgQgQ7z1v+oRwWVKzqnnJWn550uipVkXh\n\tFomQUoWlBXIPC4drmHxXGzhb9Gi0kFNz3zFJDJXmmbh8kjVCjB8jfM9+WHU7bc6pOLUT\n\twmbRXJK7MODgbw/hNvXy83ypkf9OU3obezn6G18vmvE3yg0G36liL0QW4hduS9KCnHBR\n\tzDncG7ZYHF4r/gdbezlB3se/lWdxMnBFwd/MWtSWxVPmDe9EQG/oCK3+X2b3u4TXKFlj\n\tNZ4fnrDvZTbcwaBAh/FMRv7TnzU1A9EvYXRmiIz9TUfQTxlomWPuRgIbQWwQKYvUCUss\n\txpeg==", "X-Gm-Message-State": "AOJu0Yw+Df9Xojd7G2SRq/LtCjK+x1pc/Es1zcoYyuC6Mqvi33ydhhid\n\tWApzTdpphZNKG9QGZzGH8qtTV7OnHDs9vurA+H7uya9ZN+zs7jyE++2EWm0kmfaz2r0gdfespFn\n\t9mRD1UOA=", "X-Gm-Gg": "AfdE7cku2/P/ODNX9sepziUBPHk/i3dJSysh8cBPqdJ+3Xfg8c/M9FI459MgDVkAuGT\n\tOVTic2HsnVJMtGbRIvBxth8Esn4cLL81GvgHCHDmZ9BTnMzOnF0DMgLjLZ2ufOO+iLtGx3fm7tA\n\tp0ymsMOIBfgPk78HZiuEttAG3AeWWPbxSVuJEyS+mbO5/pZJYLl0g7AEt/ACHR2RP3ZGnlL7/VL\n\tXzm5azDD/uDMXvIb/+p/GQ+q6aX+bBDtAY9SQWbNk831BGp2DMiJ2vAiZNvlYw1zczvjqaORzJb\n\tYUu2neBLWyWfnr4e/mE4WN9Il82GuCc0vFRO2z4iQFzJznpA0cOp2SQS6BVVNXPlhkQQ+2NZmOI\n\tcfo9nQzn/b8dIA1g1+dWnsT84BM5F+fTiPuRnQzGO/LqC/NnsgajrFpjo4ubzXy1siuifGk3sUL\n\t6hk9Pj6q2gnJ7RMRXVjb3wENizSDVCCQlKuVgHmfVARnb1gUd3wx4WWymDCX8/z3KTPouabmD3L\n\tkS/akGBIfWmz9Zy1P5jWMxLvqW1yplZjUO9+TR4277Y55ExUZ5rhps66pyb47+ncKnIkvYvOo8C\n\tCaawl44HjKDOGNaijbyR", "X-Received": "by 2002:a05:600c:a219:b0:492:5113:9beb with SMTP id\n\t5b1f17b1804b1-492598e08fbmr46059735e9.7.1782290135499; \n\tWed, 24 Jun 2026 01:35:35 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "laurent.pinchart@ideasonboard.com, david.plowman@raspberrypi.com,\n\tNaushir Patuck <naush@raspberrypi.com>", "Subject": "[PATCH 1/2] pipeline: rpi: Default to BayerFormat::Packing::None for\n\tRAW streams", "Date": "Wed, 24 Jun 2026 09:24:31 +0100", "Message-ID": "<20260624082705.272795-2-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260624082705.272795-1-naush@raspberrypi.com>", "References": "<20260624082705.272795-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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>" }, "content": "In generateConfiguration(), set the default packing on RAW streams to\nBayerFormat::Packing::None. This default is easier to handle over\nCSI2 packed or PiSP Bayer compressed packaing options.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/pipeline/rpi/common/pipeline_base.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp\nindex 5a5acf6a164b..e0f364272746 100644\n--- a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp\n+++ b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp\n@@ -410,7 +410,7 @@ PipelineHandlerBase::generateConfiguration(Camera *camera, Span<const StreamRole\n \t\t\tsize = sensorSize;\n \t\t\tsensorFormat = data->findBestFormat(size, defaultRawBitDepth);\n \t\t\tpixelFormat = mbusCodeToPixelFormat(sensorFormat.code,\n-\t\t\t\t\t\t\t BayerFormat::Packing::CSI2);\n+\t\t\t\t\t\t\t BayerFormat::Packing::None);\n \t\t\tASSERT(pixelFormat.isValid());\n \t\t\tcolorSpace = ColorSpace::Raw;\n \t\t\tbufferCount = 2;\n", "prefixes": [ "1/2" ] }