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

Kieran Bingham kieran.bingham at ideasonboard.com
Fri May 10 13:30:58 CEST 2024


Quoting Naushir Patuck (2024-05-10 11:02:08)
> 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>


Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.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()
> +       {
> +               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