From patchwork Fri Oct 6 13:19:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 19117 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 B9820BD808 for ; Fri, 6 Oct 2023 13:20:19 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 50ECA62997; Fri, 6 Oct 2023 15:20:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1696598419; bh=ufz7tg/n9JeM7qTjoqdk7XlHaX5amgtAEu+hsGROEf4=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=E2jWKws+Egav48eQfXOttbFgUJhWzEwE+4XBFHZ/YZnSnV7WBfW7JrUvSer0kvO4/ be0iRhuQtxUGl7T73Y8XhaWcFP/aGPBTpLVcqO1I36oXolpSzHckztqMOEWm4TotdC qSILc2UNR75k4WCKAgLVVn4hoH8F8aXzEM2BXUMCw/bgNRMUIZOyHvWevp97wKXIKR fUXY7nVGwZDctTJr8sI5kMLGjEX5y7oZKWXDLRGcg5pJuGo+uNx/N5CFCH+VZr7ZqD vILll/nDcAoF20q72zwmJoHOiAqjc38oMZlB4oAI2g2dHhlL/eCx4Wcf+OKscI3B3v 9QBCa1iRDTneg== Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 73CE562989 for ; Fri, 6 Oct 2023 15:20:15 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="dVQFKBat"; dkim-atps=neutral Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-31c5cac3ae2so1847337f8f.3 for ; Fri, 06 Oct 2023 06:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; t=1696598415; x=1697203215; 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=pU4wKiWXwkZLedJeP1sGrANY/IM78qE81hjwahnBKxk=; b=dVQFKBatAx/hO+HZKyKulIEAvjHr3eDtghLmaLDG/F7UcgTF+HZbabT/VGPySsSP3o JJfQbLUbML4pcHpNpPGjsR79BUGZS+V9vBdCik8VgVipdeiCd/BjlTE4IV+VzM2EfiZO TewcK3m0M8Rteh5qGKlvlY65SAvBR2uxlgK7SBfrZdYdiopkuLwybzGncceu0ScXWkzJ yyhtRAOuq37dm//rsOcdJE9WEQAGHqshktrIu+L3nkMqHJ45i8XShEzgiSymCP9bqK3k 3IVfh2o7yIjvQ9zPGWz8rWR8WJA2zpPMOS2DKteU7q7/fini5UV6rBW3R28NMG+dPjjz NDjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696598415; x=1697203215; 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=pU4wKiWXwkZLedJeP1sGrANY/IM78qE81hjwahnBKxk=; b=oBAKdSkQ0Os1m5RF+PMDMNR3ear7qcHhCPVykZweRPQvUTWl4JyZylS+eJSwFxHNFK Lg2WyyoFQBeKibrjwCGBjrOx5q9JdOA0vAcu23oY06SnET3d+/Seo2pPX7nv2482iwrz ZYll3unY/rEp2GNNX8TUdHClRqEmu3CEgq9wGNi4JMf0S0Pd5Ex/h/xlb0oWL91TLnce vJMX7D4Cqk91qpxZ2m5QhlsSluXJ7YN7WD1UI47PEu0A9MidUOiE/n4QGq822sK9QqcW psYRFv+htQNvjUJmbvNSeBJ1jbEm8uFiurZLJPHNVB6pnix1Bm390VFmGPl3Bn87lDf8 rdIg== X-Gm-Message-State: AOJu0Yytxxl4W5UiLx7TJgPtOMdtBh4+AmCRHk4wylc4HK85pXj96nIu eRNS0IX54pC88jmw5PQEZXnDVnPNZaunFVYjmPKFRw== X-Google-Smtp-Source: AGHT+IELOZBlh6BkKnhguxX/9rBs1BOwik8ixz0LziSf2Gr2jtQshxLM23evJ36P9I3mwGQEtwM9Ww== X-Received: by 2002:adf:f24f:0:b0:319:63f3:c0cb with SMTP id b15-20020adff24f000000b0031963f3c0cbmr7179221wrp.40.1696598414829; Fri, 06 Oct 2023 06:20:14 -0700 (PDT) Received: from localhost.localdomain ([93.93.133.154]) by smtp.gmail.com with ESMTPSA id m8-20020a056000180800b00321773bb933sm1639478wrh.77.2023.10.06.06.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 06:20:14 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Fri, 6 Oct 2023 14:19:55 +0100 Message-Id: <20231006132000.23504-16-naush@raspberrypi.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006132000.23504-1-naush@raspberrypi.com> References: <20231006132000.23504-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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 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 */