From patchwork Fri Oct 13 07:48:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19139 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 B7BB9C32C0 for ; Fri, 13 Oct 2023 07:49:06 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5C74A62999; Fri, 13 Oct 2023 09:49:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1697183346; bh=k6AIkgxNK2TCKRgGWXmKIS+DZmRVUgN3qu4+zZdoSDA=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=UN5+N86FS4G43JfI2F+odJ1QpmTpwpv7h6BRyBWMPXGFSNJrChal58WbP4Werbh6s 2lrYQceuP6Z2EegAD+ro6LDUClCdz4kK7pD0pEyXM9sDYvGsDqr7xCtPNJ9G77qrmb Q6LmXZRc2OCGwDp20FE9e7wIfqK2HbSARPJ1nhOC3dyjh2IRLEX3s5Zj5SpH4YWjHE De9posDJOywes75NyGGEH03bt4suuEy6jqopLSplJiQd9HJy/31TycyCnk49flZsCW yZdidkNi8lcnEv4FakXdtiM16s7vr7Piz7sNMOpXm7BUXW4IYfN9a2N4hO5+yOyXGN +MGvORQl9mVaw== Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B484762989 for ; Fri, 13 Oct 2023 09:48:57 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="GDXA1iB3"; dkim-atps=neutral Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4054f790190so20864305e9.2 for ; Fri, 13 Oct 2023 00:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1697183337; x=1697788137; 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=6KeD7RYi36cgDXjCWlDhOsoX6YMd/Et152aNpo+jQdA=; b=GDXA1iB3zD+8Q8e1SCIadoh+fypLqhqEXnGhk0U2vuTcWVkFYnlG0OYktoOeLAEx8m olr140iD8uIgu92FtLz75TODjFbDyYPex70/y+p0VW/9B2lNXLDuRw6BLytyC5bbziED +MDkRzvnSnXpfFDS1tIoaq3c4rpVibRIy/gvRZi4YCJ4rULkOPjluHcdaqm7cMmnHBUF UoNQhbkfoafBhx4IhDhPUeiZupITIyJRTHmQq9+wulgqMdYcz7xU+yKZpEcEKOHwqpHE RLoFqyryRHY7YCcqKLJKr1D//AqRiVSxp3MikQjuiuPr5tCuLGoJiL6EnCBt4LX79kx1 m3rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697183337; x=1697788137; 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=6KeD7RYi36cgDXjCWlDhOsoX6YMd/Et152aNpo+jQdA=; b=dixXwwuBn4mnedEhWG9bwkbN8YL4Kk8MPABwR+rlZAPu2hGiVD6nskbt4cG5qk7KrM 0Z5x1FrZpooPhs8A/uejm9nN0tyY673/3WCibZGZbum9vBAD7sYnWNuVuWBgwwa9UHYI ONrdouFRI0gtuKCgmC4kLz02fSHwV1YuOg6nsKa33xPUt/MmOczF0aiTSGZlqknGUA1Z qBtb4a0jm6NrYIgUtXlooxk62fSLtLhluNIQ6q2pHK+UZCE/oYuNTMCy4PAiUSI7a4NL Xl5Sv4k0nVlIgAed9IW4oBfHHPctx+ryyPYNMU+eGCeAzGzEeGh5cB5maoNCY3pBet8l quNw== X-Gm-Message-State: AOJu0Ywm27yr27Vb1rsHNQr7YCQ0/wtRMy19VY6Sfs/6p/bQ3Jv3ZoFZ 7d0s4oJoLYLFVyjeBQuugmPDHC2to9vr1zAUut7Bcg== X-Google-Smtp-Source: AGHT+IEZVPN29SMDsaIYNw8/tCH/7gHL47TyUf1Zohg2lHYBgw05B4fHnEMExyUtkMtWHTYKlQQaVQ== X-Received: by 2002:a7b:cb8c:0:b0:406:517f:ac71 with SMTP id m12-20020a7bcb8c000000b00406517fac71mr22625846wmi.29.1697183337179; Fri, 13 Oct 2023 00:48:57 -0700 (PDT) Received: from localhost.localdomain ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id m16-20020a7bca50000000b003fee6e170f9sm1791890wml.45.2023.10.13.00.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 00:48:56 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 13 Oct 2023 08:48:36 +0100 Message-Id: <20231013074841.16972-16-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231013074841.16972-1-naush@raspberrypi.com> References: <20231013074841.16972-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 15/20] pipeline: rpi: Make color space members in RPiCameraConfiguration public 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: , X-Patchwork-Original-From: Naushir Patuck via libcamera-devel From: Naushir Patuck Reply-To: Naushir Patuck Cc: Jacopo Mondi Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This allows them to be accessed by the pipeline handlers when needed. Signed-off-by: Naushir Patuck Reviewed-by: David Plowman Reviewed-by: Jacopo Mondi --- src/libcamera/pipeline/rpi/common/pipeline_base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libcamera/pipeline/rpi/common/pipeline_base.h b/src/libcamera/pipeline/rpi/common/pipeline_base.h index 0c4a59b7f590..267eef1102f1 100644 --- a/src/libcamera/pipeline/rpi/common/pipeline_base.h +++ b/src/libcamera/pipeline/rpi/common/pipeline_base.h @@ -273,9 +273,6 @@ public: std::vector rawStreams_; std::vector outStreams_; -private: - const CameraData *data_; - /* * Store the colour spaces that all our streams will have. RGB format streams * will have the same colorspace as YUV streams, with YCbCr field cleared and @@ -283,6 +280,9 @@ private: */ std::optional yuvColorSpace_; std::optional rgbColorSpace_; + +private: + const CameraData *data_; }; } /* namespace RPi */