Patch Detail
Show a patch.
GET /api/patches/20042/?format=api
{ "id": 20042, "url": "https://patchwork.libcamera.org/api/patches/20042/?format=api", "web_url": "https://patchwork.libcamera.org/patch/20042/", "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": "<20240510100208.12188-8-naush@raspberrypi.com>", "date": "2024-05-10T10:02:08", "name": "[v3,7/7] ipa: rpi: Add accessor function for monoSensor_", "commit_ref": "2031e2f2901403242329d7b59d97fa7c98758206", "pull_url": null, "state": "accepted", "archived": false, "hash": "3f846af34dd2725ebd011e3cc19c07f1f640f354", "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/20042/mbox/", "series": [ { "id": 4305, "url": "https://patchwork.libcamera.org/api/series/4305/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4305", "date": "2024-05-10T10:02:01", "name": "Pre Raspberry Pi 5 support changes", "version": 3, "mbox": "https://patchwork.libcamera.org/series/4305/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/20042/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/20042/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 13113C32B5\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 10 May 2024 10:02:32 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1068963475;\n\tFri, 10 May 2024 12:02:31 +0200 (CEST)", "from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com\n\t[IPv6:2a00:1450:4864:20::22a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 592DC63470\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 10 May 2024 12:02:19 +0200 (CEST)", "by mail-lj1-x22a.google.com with SMTP id\n\t38308e7fff4ca-2e3b1b6e9d1so22026101fa.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 10 May 2024 03:02:19 -0700 (PDT)", "from localhost.localdomain ([188.39.149.98])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-41fccee9318sm57936385e9.30.2024.05.10.03.02.15\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 10 May 2024 03:02:15 -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=\"NmV9sOfc\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1715335338; x=1715940138;\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=aFk/e7PsNfhlh5UsBLJ29FJoN88lepf9a37OTiMB6Ew=;\n\tb=NmV9sOfc0e/U24VLalD4TL2mvNuYB1Uc63viyTj1LTkOd2qihjCgHqPCJILz59pnjy\n\tFpBk2DnWzxZgv+8H22KTOR8v/XxPAfly2noBXcHwfBqnFB6JIhkkSjA+7c2gSPIqP2dQ\n\twezi13GE1443JYR87AP/uLSi0RxvpJdhHb7iH/6wluGUTok3039OQSpw+1wv85K3kCbl\n\taY1upXFcDabIyl6+2w/kPlPGviDCh7afrMG3VVCRcWG81gXGbwI/dwFtrDg1gyGuPsDo\n\tceNUKKTA8QZ4eEn7MZMH5hBS/dOCcjpIb5wIAUXS0fuZwMPbWc8qfiimtrsWRnpV7NQu\n\t6XhA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1715335338; x=1715940138;\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=aFk/e7PsNfhlh5UsBLJ29FJoN88lepf9a37OTiMB6Ew=;\n\tb=hU/yPcSFdkNuqDR9vWbLmO/NDwWVaRJsn4+GKfyGfG3T0C5HRBi3k40ZE6MpGzyOOM\n\t6ubbdCTblngsVzH7+xyZ+Kd4u/yKPo1jFFZ3GYbIQrmrFX2CD37kdnwhGYz6Gujvzqjn\n\t5AvkY3qCOoRkOi6CtlG8JhgxZWln2vaB5YdF68auisL+f2qMWxkumOAA3R37RJvqhbFm\n\t5PyK81nSw3JGtqE0EAofqxxhPVMK1u6eMPLSFmhVS7ZE0s/yQlICkZpV2hP4WShQpRij\n\tGGRRmAWTyGIJNepoYe1DmFUOqC+yH6a6N/0OzMwVaQ2dUuYOifBJ/NTnZwwxOE73A/MY\n\ta32g==", "X-Gm-Message-State": "AOJu0YwxyoIhCsf2m4nZAODCVkBf8VhZsuQf+Z+m5YOJJvHoZCKI6ZEn\n\thE8KmBXu9DcmVxmZ7Ns+q3/tmr0qobNcBQwSYoc4cjhnELo4Fh4itMufCGf6Sgbvq5TkdpXXNy8\n\t9", "X-Google-Smtp-Source": "AGHT+IF/A8GNtEhlLOSS2U+YC/k8sUXPRc18awhWm9skv+3SxwsZFNPzVoEFQQayV8SSeXIaMvda5g==", "X-Received": "by 2002:a05:651c:b12:b0:2e3:9350:a7d2 with SMTP id\n\t38308e7fff4ca-2e5205e273fmr15132401fa.52.1715335336160; \n\tFri, 10 May 2024 03:02:16 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Naushir Patuck <naush@raspberrypi.com>", "Subject": "[PATCH v3 7/7] ipa: rpi: Add accessor function for monoSensor_", "Date": "Fri, 10 May 2024 11:02:08 +0100", "Message-Id": "<20240510100208.12188-8-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20240510100208.12188-1-naush@raspberrypi.com>", "References": "<20240510100208.12188-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": "The monoSensor_ member variable will be used by the derived IPAs in an\nupcoming commit, so add an accessor function for it.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/ipa/rpi/common/ipa_base.h | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/src/ipa/rpi/common/ipa_base.h b/src/ipa/rpi/common/ipa_base.h\nindex 074b304e9fd8..a95cda1ffe51 100644\n--- a/src/ipa/rpi/common/ipa_base.h\n+++ b/src/ipa/rpi/common/ipa_base.h\n@@ -49,6 +49,11 @@ public:\n \tvoid processStats(const ProcessParams ¶ms) override;\n \n protected:\n+\tbool monoSensor()\n+\t{\n+\t\treturn monoSensor_;\n+\t}\n+\n \t/* Raspberry Pi controller specific defines. */\n \tstd::unique_ptr<RPiController::CamHelper> helper_;\n \tRPiController::Controller controller_;\n", "prefixes": [ "v3", "7/7" ] }