[PATCH v3 7/7] ipa: rpi: Add accessor function for monoSensor_

Jacopo Mondi jacopo.mondi at ideasonboard.com
Wed May 15 14:15:08 CEST 2024


Hi Naushir

On Fri, May 10, 2024 at 11:02:08AM GMT, Naushir Patuck wrote:
> 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 <naush at raspberrypi.com>
> ---
>  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 &params) override;
>
>  protected:
> +	bool monoSensor()

        bool monoSensor() const

Reviewed-by: Jacopo Mondi <jacopo.mondi at ideasonboard.com>

Thanks
  j

> +	{
> +		return monoSensor_;
> +	}
> +
>  	/* Raspberry Pi controller specific defines. */
>  	std::unique_ptr<RPiController::CamHelper> helper_;
>  	RPiController::Controller controller_;
> --
> 2.34.1
>


More information about the libcamera-devel mailing list