Patch Detail
Show a patch.
GET /api/1.1/patches/24665/?format=api
{ "id": 24665, "url": "https://patchwork.libcamera.org/api/1.1/patches/24665/?format=api", "web_url": "https://patchwork.libcamera.org/patch/24665/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20251015012251.17508-21-bryan.odonoghue@linaro.org>", "date": "2025-10-15T01:22:32", "name": "[v3,20/39] libcamera: software_isp: awb Populate AWB gains to Debayer params structure", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "99e052764ab57cd1feaea466652d63381f686018", "submitter": { "id": 175, "url": "https://patchwork.libcamera.org/api/1.1/people/175/?format=api", "name": "Bryan O'Donoghue", "email": "bryan.odonoghue@linaro.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/24665/mbox/", "series": [ { "id": 5503, "url": "https://patchwork.libcamera.org/api/1.1/series/5503/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5503", "date": "2025-10-15T01:22:12", "name": "Add GLES 2.0 GPUISP to libcamera", "version": 3, "mbox": "https://patchwork.libcamera.org/series/5503/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/24665/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/24665/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 4780EC3331\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 15 Oct 2025 01:23:29 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B853E6064F;\n\tWed, 15 Oct 2025 03:23:28 +0200 (CEST)", "from mail-ej1-x633.google.com (mail-ej1-x633.google.com\n\t[IPv6:2a00:1450:4864:20::633])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 833016062E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 15 Oct 2025 03:23:15 +0200 (CEST)", "by mail-ej1-x633.google.com with SMTP id\n\ta640c23a62f3a-b457d93c155so936408466b.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Oct 2025 18:23:15 -0700 (PDT)", "from inspiron14p-linux.nxsw.local (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\ta640c23a62f3a-b5ccd7b202dsm98348466b.82.2025.10.14.18.23.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 14 Oct 2025 18:23:14 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"WQvXGJwR\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1760491395; x=1761096195;\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=EtuzlS89J7v9+K50cAFFyOxzlYC9+JcdH7asTL6ajb4=;\n\tb=WQvXGJwRsfhV1/4cCJRadopsnd1Y3OLY+tKzKmL9VmMHVo6eyd911IFFFwgaE2S/9P\n\tn+jXlt9OQAfOhxn9KG9LrbW1T6HcGWn2l6ixYx57MFpngo5ulnn3ilaVHUZEPXfoaMCX\n\tukAM7P8DrpJWbb1CINZdypygqoIyQSsHf+6bQTzXZ2D6QlKDnXHq4dTaiT1Mi6IkFwrw\n\toCK2ddFUf//EoZw8bSXt8Lp2KFy3T6JBVCXjssyzjDEmrFXNC6wYyOdVt0rUzhvkm/vV\n\tS2MOFbjq9KQGFfJP2/MFYtSvlsIGNS0twIKL9FVPneCpiUkaVXhpvcpDo0EX2C4dkcw4\n\tqdgw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1760491395; x=1761096195;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=EtuzlS89J7v9+K50cAFFyOxzlYC9+JcdH7asTL6ajb4=;\n\tb=LxeYpIyHI++gzE2aQMhF5R0NO8ek3hHiWoHxBDcewHHF+E7yMIFlE69HskOEISVBFO\n\tw3JN7NvDAIE+TtasYq17sNuaMIsO1QnwJM92PjrAVPF4MzBByzQRxy9fYr8l6pXD/h/S\n\t3j/xufqhmxFoApmX765sNd86cmPjj0YVZgVy2TofJLUuAIbo0l0Q2+kqH15xHLo9Z3JZ\n\t8hG4Y10dJ/TD7VIFWOaFrMyft02QS32Lnw23gkb3BxHBJNFrE2pIzqmxYmVw7brtb8bD\n\tC2i55HsmpVg7MvwHnDe71ctJhkIU8vtWR+itAd3EIq0Ah6tlc0fdWGrQzJhI6nyGYAYG\n\tCyQQ==", "X-Gm-Message-State": "AOJu0Yx+eWFhWNxqEMxZysoDGSnTQY6PX6L1yovAVidRTTFLRHE16HW3\n\tg+IfiXW83aFfCuID8KGtajtB6o7KkPUCarTK4tEQeWIhtF9W9u+1LtjH9yUFApSOZCKUe8ApvbH\n\txy7Np", "X-Gm-Gg": "ASbGncsk06wxgCaym9OaWFNU+x1q4FRqJINFINztCgJtKB3gijSi9f/TJMQZzKmuFhW\n\taulzzqhTCdJHGDNbTCIemiEa0wIzItBenmiBL36TgcPaUnysGplHYrwyM22HalBZawRf78z3zDT\n\tfQpCI1WHQa19vD/nhI5XMu7kXtRxiWylMHrn1ASSb5GBQsVa7PzUS7ZAZVEJjB/nk+Eo3ibXjMa\n\tcBbXRNDEkmTurogvhHiP4UAKsgh/7QWfkgh93/ZTRAtU7seSAFj1Dq0l4EqoS32jAb9mnocSxId\n\tnf0nlAL5UpyGL3K+9lkQifIKAQf5tAEE6lN1RUKI0onkjH2SbANtFIDB5QasUmu0M8kvY9Ou2Oy\n\tmKneSbxxp0lu3Rij3Nt3KKDeA1Gm5Sy8Wwgge5NoW2+1U+UZ4SkxN9c9rPRGZ2zkdbm1/rUzxO5\n\tiwiq9mMjoe58QJd/XCjR5O13guma8FZw7TmUebwj0g", "X-Google-Smtp-Source": "AGHT+IG19uvMl078D5vmFKMN1GoZg3YjClRb2WlJ0RXqQNF2J9Up2/s5Vj/PEdBQXpX+Ta9Vv0wdTg==", "X-Received": "by 2002:a17:907:2d26:b0:b32:8943:786f with SMTP id\n\ta640c23a62f3a-b50ac4d6253mr2854908866b.58.1760491394864; \n\tTue, 14 Oct 2025 18:23:14 -0700 (PDT)", "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "hdegoede@redhat.com, mzamazal@redhat.com, bryan.odonoghue@linaro.org,\n\tbod.linux@nxsw.ie", "Subject": "[PATCH v3 20/39] libcamera: software_isp: awb Populate AWB gains to\n\tDebayer params structure", "Date": "Wed, 15 Oct 2025 02:22:32 +0100", "Message-ID": "<20251015012251.17508-21-bryan.odonoghue@linaro.org>", "X-Mailer": "git-send-email 2.51.0", "In-Reply-To": "<20251015012251.17508-1-bryan.odonoghue@linaro.org>", "References": "<20251015012251.17508-1-bryan.odonoghue@linaro.org>", "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": "Populate the white-balance gains table in awb::prepare(). A copy is made\nof the gains in the DebayerParams structure.\n\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/ipa/simple/algorithms/awb.cpp | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/src/ipa/simple/algorithms/awb.cpp b/src/ipa/simple/algorithms/awb.cpp\nindex cf78e980..3c4e5d09 100644\n--- a/src/ipa/simple/algorithms/awb.cpp\n+++ b/src/ipa/simple/algorithms/awb.cpp\n@@ -38,12 +38,14 @@ int Awb::configure(IPAContext &context,\n void Awb::prepare(IPAContext &context,\n \t\t [[maybe_unused]] const uint32_t frame,\n \t\t IPAFrameContext &frameContext,\n-\t\t [[maybe_unused]] DebayerParams *params)\n+\t\t DebayerParams *params)\n {\n \tauto &gains = context.activeState.awb.gains;\n \t/* Just report, the gains are applied in LUT algorithm. */\n \tframeContext.gains.red = gains.r();\n \tframeContext.gains.blue = gains.b();\n+\t/* Latch the AWB gains so GPUISP can consume them. */\n+\tparams->gains = gains;\n }\n \n void Awb::process(IPAContext &context,\n", "prefixes": [ "v3", "20/39" ] }