From patchwork Fri May 10 10:02:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 20042 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 13113C32B5 for ; Fri, 10 May 2024 10:02:32 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1068963475; Fri, 10 May 2024 12:02:31 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="NmV9sOfc"; dkim-atps=neutral Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 592DC63470 for ; Fri, 10 May 2024 12:02:19 +0200 (CEST) Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2e3b1b6e9d1so22026101fa.2 for ; Fri, 10 May 2024 03:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1715335338; x=1715940138; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aFk/e7PsNfhlh5UsBLJ29FJoN88lepf9a37OTiMB6Ew=; b=NmV9sOfc0e/U24VLalD4TL2mvNuYB1Uc63viyTj1LTkOd2qihjCgHqPCJILz59pnjy FpBk2DnWzxZgv+8H22KTOR8v/XxPAfly2noBXcHwfBqnFB6JIhkkSjA+7c2gSPIqP2dQ wezi13GE1443JYR87AP/uLSi0RxvpJdhHb7iH/6wluGUTok3039OQSpw+1wv85K3kCbl aY1upXFcDabIyl6+2w/kPlPGviDCh7afrMG3VVCRcWG81gXGbwI/dwFtrDg1gyGuPsDo ceNUKKTA8QZ4eEn7MZMH5hBS/dOCcjpIb5wIAUXS0fuZwMPbWc8qfiimtrsWRnpV7NQu 6XhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715335338; x=1715940138; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aFk/e7PsNfhlh5UsBLJ29FJoN88lepf9a37OTiMB6Ew=; b=hU/yPcSFdkNuqDR9vWbLmO/NDwWVaRJsn4+GKfyGfG3T0C5HRBi3k40ZE6MpGzyOOM 6ubbdCTblngsVzH7+xyZ+Kd4u/yKPo1jFFZ3GYbIQrmrFX2CD37kdnwhGYz6Gujvzqjn 5AvkY3qCOoRkOi6CtlG8JhgxZWln2vaB5YdF68auisL+f2qMWxkumOAA3R37RJvqhbFm 5PyK81nSw3JGtqE0EAofqxxhPVMK1u6eMPLSFmhVS7ZE0s/yQlICkZpV2hP4WShQpRij GGRRmAWTyGIJNepoYe1DmFUOqC+yH6a6N/0OzMwVaQ2dUuYOifBJ/NTnZwwxOE73A/MY a32g== X-Gm-Message-State: AOJu0YwxyoIhCsf2m4nZAODCVkBf8VhZsuQf+Z+m5YOJJvHoZCKI6ZEn hE8KmBXu9DcmVxmZ7Ns+q3/tmr0qobNcBQwSYoc4cjhnELo4Fh4itMufCGf6Sgbvq5TkdpXXNy8 9 X-Google-Smtp-Source: AGHT+IF/A8GNtEhlLOSS2U+YC/k8sUXPRc18awhWm9skv+3SxwsZFNPzVoEFQQayV8SSeXIaMvda5g== X-Received: by 2002:a05:651c:b12:b0:2e3:9350:a7d2 with SMTP id 38308e7fff4ca-2e5205e273fmr15132401fa.52.1715335336160; Fri, 10 May 2024 03:02:16 -0700 (PDT) Received: from localhost.localdomain ([188.39.149.98]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccee9318sm57936385e9.30.2024.05.10.03.02.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 03:02:15 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Cc: Naushir Patuck 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 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" The monoSensor_ member variable will be used by the derived IPAs in an upcoming commit, so add an accessor function for it. Signed-off-by: Naushir Patuck Reviewed-by: Kieran Bingham Reviewed-by: Jacopo Mondi --- src/ipa/rpi/common/ipa_base.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ipa/rpi/common/ipa_base.h b/src/ipa/rpi/common/ipa_base.h index 074b304e9fd8..a95cda1ffe51 100644 --- a/src/ipa/rpi/common/ipa_base.h +++ b/src/ipa/rpi/common/ipa_base.h @@ -49,6 +49,11 @@ public: void processStats(const ProcessParams ¶ms) override; protected: + bool monoSensor() + { + return monoSensor_; + } + /* Raspberry Pi controller specific defines. */ std::unique_ptr helper_; RPiController::Controller controller_;